Skip to content

Commit

Permalink
update since value
Browse files Browse the repository at this point in the history
  • Loading branch information
Tabrisrp committed Sep 24, 2024
1 parent 4ca0de1 commit e4d2713
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Dom implements ProcessorInterface {
/**
* Array of patterns to exclude from hash injection.
*
* @since 3.17
* @since 3.17.0.2
*
* @var array
*/
Expand Down Expand Up @@ -59,7 +59,7 @@ private function get_exclusions_pattern(): string {

$exclusions = array_map(
function ( $exclusion ) {
return preg_quote( $exclusion, '#' );
return preg_quote( $exclusion, '/' );
},
$this->exclusions
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Regex implements ProcessorInterface {
/**
* Array of patterns to exclude from hash injection.
*
* @since 3.17
* @since 3.17.0.2
*
* @var array
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class SimpleHtmlDom implements ProcessorInterface {
/**
* Array of patterns to exclude from hash injection.
*
* @since 3.17
* @since 3.17.0.2
*
* @var array
*/
Expand Down

0 comments on commit e4d2713

Please sign in to comment.