Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #54645, comment 7


Ignore:
Timestamp:
05/28/2022 05:53:24 PM (23 months ago)
Author:
lopo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54645, comment 7

    initial v1  
    55> Thanks for the patch! I think this change would still benefit from unit tests to make sure the fix works as expected and there are no regressions at a later point.
    66
    7 Would love to, @SergeyBiryukov, but I'm not sure how it can be done without adding a theme to the default ones?
     7~~Would love to, @SergeyBiryukov, but I'm not sure how it can be done without adding a theme to the default ones?~~
     8I changed the approach by moving the cast inside the `WP_Theme` constructor so I could add a unit test for that.