Changeset 56199 for trunk/src/wp-admin/includes/admin-filters.php
- Timestamp:
- 07/11/2023 05:01:05 AM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/admin-filters.php
r56059 r56199 169 169 // Append '(Draft)' to draft page titles in the privacy page dropdown. 170 170 add_filter( 'list_pages', '_wp_privacy_settings_filter_draft_page_titles', 10, 2 ); 171 172 // Attaches filters to enable theme previews in the Site Editor.173 if ( ! empty( $_GET['wp_theme_preview'] ) ) {174 add_filter( 'stylesheet', 'wp_get_theme_preview_path' );175 add_filter( 'template', 'wp_get_theme_preview_path' );176 add_action( 'init', 'wp_attach_theme_preview_middleware' );177 }
Note: See TracChangeset
for help on using the changeset viewer.