| 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! |
| | 1 | In 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. |