Changeset 59698
- Timestamp:
- 01/24/2025 10:56:38 AM (11 months ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
-
wp-admin/admin-header.php (modified) (1 diff)
-
wp-includes/post-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/admin-header.php
r59678 r59698 ย 213 213 if ( $current_screen->is_block_editor() ) { 214 214 $admin_body_class .= ' block-editor-page wp-embed-responsive'; ย 215 } ย 216 ย 217 $admin_body_class .= ' wp-theme-' . sanitize_html_class( get_template() ); ย 218 if ( is_child_theme() ) { ย 219 $admin_body_class .= ' wp-child-theme-' . sanitize_html_class( get_stylesheet() ); 215 220 } 216 221 -
trunk/src/wp-includes/post-template.php
r59689 r59698 ย 837 837 $classes[] = 'post-type-paged-' . $page; 838 838 } ย 839 } ย 840 ย 841 $classes[] = 'wp-theme-' . sanitize_html_class( get_template() ); ย 842 if ( is_child_theme() ) { ย 843 $classes[] = 'wp-child-theme-' . sanitize_html_class( get_stylesheet() ); 839 844 } 840 845
Note: See TracChangeset
for help on using the changeset viewer.