Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit c7c3945

Browse files
authored
Merge branch 'master' into live-search-multi-select
2 parents dcc5ce3 + 83ca70e commit c7c3945

File tree

6 files changed

+11
-5
lines changed

6 files changed

+11
-5
lines changed

src/_videos/fundamentals/create-a-new-module.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,10 @@ Then put the following code into it:
6666
```xml
6767
<?xml version="1.0"?>
6868
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
69-
<module name="Learning_FirstUnit" setup_version="0.0.1"> <sequence>
70-
<module name="Magento_Catalog"/> </sequence>
69+
<module name="Learning_FirstUnit" setup_version="0.0.1">
70+
<sequence>
71+
<module name="Magento_Catalog"/>
72+
</sequence>
7173
</module>
7274
</config>
7375
```

src/guides/v2.3/extension-dev-guide/plugins.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Plugins can not be used on following:
2121
* `__construct` and `__destruct`
2222
* Virtual types
2323
* Objects that are instantiated before `Magento\Framework\Interception` is bootstrapped
24+
* Objects that implement `Magento\Framework\ObjectManager\NoninterceptableInterface`
2425

2526
## Declaring a plugin
2627

src/guides/v2.3/install-gde/prereq/prereq-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ affiliates. Other names may be trademarks of their respective
9494
owners.
9595
```
9696

97-
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
97+
Type `help` or `\h` for help. Type `\c` to clear the current input statement.
9898

9999
Enter `exit` at the `mysql>` prompt to exit.
100100

src/guides/v2.4/ext-best-practices/extension-coding/security-performance-data-bp.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ We recommend using the InnoDB storage engine because other storage engines are n
3838

3939
Raw SQL queries can lead to potential security vulnerabilities and database portability issues. Use data adapter capabilities ([`Magento\Framework\DB\Adapter\Pdo\Mysql`]({{ site.mage2bloburl }}/{{ page.guide_version }}/lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php){:target="_blank"} by default) to build and execute queries and move all data access code to a resource model. Use prepared statements to make sure that queries are safe to execute.
4040

41+
{:.bs-callout-warning}
42+
Building and executing custom queries with the Magento data adapter does not automatically make them secure. Always use sanitization methods on dynamic data in your queries.
43+
4144
## Use Primary Key
4245

4346
A Primary Key is required for any DB cluster to run effectively. Without a Primary Key, you _will_ see performance issues during table replication.

src/guides/v2.4/install-gde/prereq/prereq-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ affiliates. Other names may be trademarks of their respective
9090
owners.
9191
```
9292

93-
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
93+
Type `help` or `\h` for help. Type `\c` to clear the current input statement.
9494

9595
Enter `exit` at the `mysql>` prompt to exit.
9696

src/guides/v2.4/security/security-txt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Magento merchants can enter their contact information for [security issue report
1717

1818
A valid `security.txt` file might look like the following:
1919

20-
```bash
20+
```text
2121
Contact: mailto:security@example.com
2222
Contact: tel:+1-201-555-0123
2323
Encryption: https://example.com/pgp.asc

0 commit comments

Comments
 (0)