[wp-trac] [WordPress Trac] #48491: [Theme compatibility] WP/PHP compatibility tests for single site theme updates/activation
WordPress Trac
noreply at wordpress.org
Mon May 18 13:16:12 UTC 2020
#48491: [Theme compatibility] WP/PHP compatibility tests for single site theme
updates/activation
-------------------------------------------------+-------------------------
Reporter: afragen | Owner:
| SergeyBiryukov
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 5.5
Component: Site Health | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing dev- | Focuses:
feedback early servehappy needs-copy-review | administration
has-screenshots needs-dev-note |
-------------------------------------------------+-------------------------
Comment (by SergeyBiryukov):
Replying to [comment:32 SergeyBiryukov]:
> There really are a lot of different layers and parts of the themes UI,
so testing that everything works as expected is non-trivial.
For future reference:
* `wp-admin/customize.php`
* Includes displaying the "Activate & Publish" button in Customizer side
panel.
* `wp-admin/includes/ajax-actions.php`
* `wp_ajax_query_themes()` powers the theme installation screen.
* `wp-admin/includes/theme.php`
* `customize_themes_print_templates()` is used for displaying the Theme
Details modal in the Customizer theme browser.
* `wp-admin/theme-install.php`
* Powers the Add Themes screen.
* `wp-admin/themes.php` has three different templates:
* The first one (in PHP) is used for displaying the grid on the Themes
screen when JS is turned off.
* `#tmpl-theme` is used for displaying the grid on the Themes screen.
* `#tmpl-theme-single` is used for displaying the Theme Details modal on
the Themes screen.
* `wp-includes/customize/class-wp-customize-theme-control.php`
* `WP_Customize_Theme_Control::content_template()` is used for displaying
the grid in the Customizer theme browser.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48491#comment:36>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list