Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #54552, comment 1


Ignore:
Timestamp:
12/02/2021 10:29:54 AM (3 years ago)
Author:
costdev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54552, comment 1

    v1 v2  
    1414
    1515== Is a 'helper' method needed?
    16 - The existing `wp_is_block_template_theme()` is a maintenance overhead - path updates would require changes in `WP_Theme::is_block_based()` and `wp_is_block-template_theme()`.
     16- The existing `wp_is_block_template_theme()` is a maintenance overhead - path updates would require changes in both `WP_Theme::is_block_based()` and `wp_is_block_template_theme()`.
    1717- `WP_Theme::is_block_based()` is already a `public` method.
    1818- If we do want a 'helper' method for the current theme, then I'd agree that we should rename the 'helper' method so that they are aligned.