Changeset 55606 for trunk/src/wp-includes/block-template-utils.php
- Timestamp:
- 03/29/2023 07:11:26 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-template-utils.php
r55501 r55606 1339 1339 $template_hierarchy[] = $type; 1340 1340 } 1341 } else 1341 } elseif ( preg_match( '/^(author|category|archive|tag|page)-.+$/', $slug, $matches ) ) { 1342 1342 $template_hierarchy[] = $matches[1]; 1343 } else 1343 } elseif ( preg_match( '/^(taxonomy|single)-(.+)$/', $slug, $matches ) ) { 1344 1344 $type = $matches[1]; 1345 1345 $slug_remaining = $matches[2];
Note: See TracChangeset
for help on using the changeset viewer.