Changeset 61029 for trunk/src/wp-includes/theme-templates.php
- Timestamp:
- 10/21/2025 01:40:28 PM (11 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/theme-templates.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme-templates.php
r59832 r61029 47 47 function wp_filter_wp_template_unique_post_slug( $override_slug, $slug, $post_id, $post_status, $post_type ) { 48 48 if ( 'wp_template' !== $post_type && 'wp_template_part' !== $post_type ) { 49 return $override_slug; 50 } 51 52 // For wp_template, slugs no longer have to be unique within the same theme. 53 if ( 'wp_template' !== $post_type ) { 49 54 return $override_slug; 50 55 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)