[wp-trac] [WordPress Trac] #53180: Regression: Error to Regression: should_load_separate_core_block_assets() function not found without SCRIPT_DEBUG

WordPress Trac noreply at wordpress.org
Tue May 11 16:26:43 UTC 2021


#53180: Regression: Error to Regression: should_load_separate_core_block_assets()
function not found without SCRIPT_DEBUG
------------------------------+---------------------
 Reporter:  aristath          |       Owner:  gziolo
     Type:  defect (bug)      |      Status:  closed
 Priority:  high              |   Milestone:  5.8
Component:  Editor            |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+---------------------

Comment (by SergeyBiryukov):

 In [changeset:"50838" 50838]:
 {{{
 #!CommitTicketReference repository="" revision="50838"
 Editor: Some documentation and test improvements for loading separate
 assets for core blocks:

 * Move `should_load_separate_core_block_assets()` to a more appropriate
 place.
 * Update DocBlocks and inline comments per the documentation standards.
 * Document the `$wp_styles` global in `wp_maybe_inline_styles()`.
 * List the expected result first in unit test assertions.
 * Remove a duplicate unit test.
 * Add missing `@covers` tags.

 Follow-up to [50836], [50837].

 See #50328, #52620, #53180.
 }}}

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


More information about the wp-trac mailing list