Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The end tag pattern is currently generated like this: ``` $end_tag_pattern = '/<!--\s+\/wp:' . str_replace( '/', '\/', preg_quote( $block_name ) ) . '\s+-->/'; ``` Instead of separately using a string replace to replace `/` with `\/`, it is preferable to use the second argument `$delimiter` that the `preg_quote()` function provides. See http://php.net/manual/en/function.preg-quote.php
- Loading branch information