Changeset 51758 for branches/5.0/src/wp-includes/class-wp-block-parser.php
- Timestamp:
- 09/08/2021 09:22:31 PM (3 years ago)
- Location:
- branches/5.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0
- Property svn:mergeinfo changed
/trunk merged: 50940-50941,50984-50985,51426
- Property svn:mergeinfo changed
-
branches/5.0/src/wp-includes/class-wp-block-parser.php
r44390 r51758 411 411 */ 412 412 $has_match = preg_match( 413 '/<!--\s+(? <closer>\/)?wp:(?<namespace>[a-z][a-z0-9_-]*\/)?(?<name>[a-z][a-z0-9_-]*)\s+(?<attrs>{(?:(?:[^}]+|}+(?=})|(?!}\s+\/?-->).)*+)?}\s+)?(?<void>\/)?-->/s',413 '/<!--\s+(?P<closer>\/)?wp:(?P<namespace>[a-z][a-z0-9_-]*\/)?(?P<name>[a-z][a-z0-9_-]*)\s+(?P<attrs>{(?:(?:[^}]+|}+(?=})|(?!}\s+\/?-->).)*+)?}\s+)?(?P<void>\/)?-->/s', 414 414 $this->document, 415 415 $matches,
Note: See TracChangeset
for help on using the changeset viewer.