[wp-trac] [WordPress Trac] #63062: Parent theme incorrectly not getting resolved in WordPress 6.8-beta1

WordPress Trac noreply at wordpress.org
Thu Mar 6 11:36:56 UTC 2025


#63062: Parent theme incorrectly not getting resolved in WordPress 6.8-beta1
-------------------------------------------------+-------------------------
 Reporter:  fabiankaegy                          |       Owner:  joemcgill
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  high                                 |   Milestone:  6.8
Component:  Themes                               |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-unit-tests needs-    |     Focuses:
  testing has-testing-info has-screenshots       |
-------------------------------------------------+-------------------------

Comment (by riddhidave):

 Ticket Reference: Issue with Parent Theme Resolution in WordPress
 6.8-beta1

 Before the patch screenshot
 https://tinyurl.com/2c5dduqp
 After Patch screenshot
 https://tinyurl.com/24wu4q2q


 Issue Summary: installing WordPress 6.8-beta1 on a site using a child
 theme, it was observed that the parent theme was no longer being resolved.
 The child theme appeared broken in the themes listing, displaying the
 error:

 Error: The parent theme is missing. Please install the "twentytwentyfive"
 parent theme.

 However, downgrading to WordPress 6.7.2 resolved the issue, restoring the
 child theme’s functionality.

 Steps to Reproduce (Before Patch):

 Install WordPress 6.8-beta1.

 Set up a child theme that depends on a core theme (e.g.,
 twentytwentyfive).

 Navigate to the WordPress admin panel under Appearance > Themes.

 Observe that the child theme is marked as broken with the above-mentioned
 error.

 Expected Behavior (Before Patch):

 The child theme should correctly recognize its parent theme and function
 normally.

 Actual Behavior (Before Patch):

 The parent theme was not being detected.

 The child theme was marked as broken and unusable.

 Testing After Applying the Patch:

 Updated WordPress to the patched version.

 Retested with the same child theme setup.

 Observed that the child theme now correctly recognizes its parent theme.

 Verified that the error message no longer appears and the child theme is
 fully functional.

 Results (After Patch):

 The issue is successfully resolved.

 The child theme correctly inherits from the parent theme as expected.

 No error messages were displayed.

 Conclusion:
 The applied patch effectively fixes the parent theme resolution issue
 introduced in WordPress 6.8-beta1. After testing, the child theme is now
 working properly without any errors.

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


More information about the wp-trac mailing list