[wp-trac] [WordPress Trac] #58405: Use is_block_theme in WP_Theme

WordPress Trac noreply at wordpress.org
Mon Jun 5 11:08:06 UTC 2023


#58405: Use is_block_theme in WP_Theme
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:
                                                 |  spacedmonkey
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.3
Component:  Themes                               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-patch needs-      |     Focuses:
  testing commit                                 |
-------------------------------------------------+-------------------------

Comment (by costdev):

 == Test Report
 This report validates that the indicated patch addresses the issue.

 Patch tested: https://patch-diff.githubusercontent.com/raw/WordPress
 /wordpress-develop/pull/4514.diff

 === Steps to Test
 1. Create a theme with only a valid `style.css` and no other files.
 2. Navigate to `Appearance > Themes`.
 3. Apply the patch.
 4. Refresh the page.

 === Environment
 - WordPress: 6.3-alpha-55505
 - PHP: 7.4.33
 - Server: Apache/2.4.56 (Ubuntu)
 - Database: mysqli (Server: 5.7.41-0ubuntu0.18.04.1 / Client: mysqlnd
 7.4.33)
 - Browser: Chrome 114.0.0.0 (Windows 10/11)
 - Theme: Twenty Twenty-Three 1.1
 - MU-Plugins: None activated
 - Plugins: None activated

 === Expected Results
 - ✅ The following message should appear before and after the patch:

 [[Image(https://core.trac.wordpress.org/raw-
 attachment/ticket/58405/Screenshot%202023-06-05%20at%2010.54.41.png)]]

 === Actual Results
 - ✅ The same message appeared before and after the patch.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58405#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list