Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #58405


Ignore:
Timestamp:
05/29/2023 06:49:48 AM (3 years ago)
Author:
mukesh27
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #58405 – Description

    v2 v3  
    1 Hi there!
    2 
    3 Thank you both for the PR and patch.
    4 
    5 @nihar007, in your patch, did you take a different approach than PR 4514 ([https://github.com/WordPress/wordpress-develop/pull/4514])? Instead of adding a duplicate patch, please review the PR and provide your feedback on it. Thank you!
     1In line of 366 / 367 of the `WP_Theme` class, there are manual calls to if files exists. However, in this context we can use the method `is_block_theme`. This remove repeated code and hit an existing cache.