Make WordPress Core

Changeset 49081


Ignore:
Timestamp:
10/01/2020 01:12:16 AM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing @since entry for _should_load_block_editor_scripts_and_styles().

Follow-up to [49080].

See #51330.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r49080 r49081  
    21882188 * should be enqueued on the current screen.
    21892189 *
     2190 * @since 5.6.0
    21902191 * @access private
    21912192 *
    2192  * @return boolean
     2193 * @return bool
    21932194 */
    21942195function _should_load_block_editor_scripts_and_styles() {
     
    22032204     * @since 5.6.0
    22042205     *
    2205      * @param boolean $is_block_editor_screen Current value of the flag
     2206     * @param bool $is_block_editor_screen Current value of the flag.
    22062207     */
    22072208    return apply_filters( 'should_load_block_editor_scripts_and_styles', $is_block_editor_screen );
Note: See TracChangeset for help on using the changeset viewer.