Skip to content

Commit

Permalink
Adds documentation for PregQuoteDelimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
tikifez committed Sep 17, 2024
1 parent 7f76630 commit 4424121
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions WordPress/Docs/PHP/PregQuoteDelimiterStandard.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0"?>
<documentation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://phpcsstandards.github.io/PHPCSDevTools/phpcsdocs.xsd"
title="Preg Quote Delimiter"
>
<standard>
<![CDATA[
Passing the $delimiter parameter to preg_quote() is strongly recommended to ensure the delimiter required by the PCRE functions are escaped.
]]>
</standard>
</documentation>

0 comments on commit 4424121

Please sign in to comment.