mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Editor: Correct some docblocks added in [50836].
See #50328, #52620. Built from https://develop.svn.wordpress.org/trunk@51065 git-svn-id: http://core.svn.wordpress.org/trunk@50674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8e5b3d5a97
commit
3024b85221
@ -2323,7 +2323,7 @@ function wp_should_load_block_editor_scripts_and_styles() {
|
||||
*
|
||||
* @since 5.8.0
|
||||
*
|
||||
* @return bool Whether separate assets will be loaded or not.
|
||||
* @return bool Whether separate assets will be loaded.
|
||||
*/
|
||||
function wp_should_load_separate_core_block_assets() {
|
||||
if ( is_admin() || is_feed() || ( defined( 'REST_REQUEST' ) && REST_REQUEST ) ) {
|
||||
@ -2331,12 +2331,12 @@ function wp_should_load_separate_core_block_assets() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters the flag that decides whether or not separate scripts and styles
|
||||
* will be loaded for core blocks on-render or not.
|
||||
* Filters the flag that decides whether separate scripts and styles
|
||||
* will be loaded for core blocks on-render.
|
||||
*
|
||||
* @since 5.8.0
|
||||
*
|
||||
* @param bool $load_separate_assets Whether separate assets will be loaded or not.
|
||||
* @param bool $load_separate_assets Whether separate assets will be loaded.
|
||||
* Default false.
|
||||
*/
|
||||
return apply_filters( 'should_load_separate_core_block_assets', false );
|
||||
@ -2595,6 +2595,8 @@ function wp_maybe_inline_styles() {
|
||||
/**
|
||||
* The maximum size of inlined styles in bytes.
|
||||
*
|
||||
* @since 5.8.0
|
||||
*
|
||||
* @param int $total_inline_limit The file-size threshold, in bytes. Defaults to 20000.
|
||||
*/
|
||||
$total_inline_limit = apply_filters( 'styles_inline_size_limit', $total_inline_limit );
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.8-alpha-51064';
|
||||
$wp_version = '5.8-alpha-51065';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
@ -1824,6 +1824,8 @@ function wp_use_widgets_block_editor() {
|
||||
/**
|
||||
* Filters whether or not to use the block editor to manage widgets.
|
||||
*
|
||||
* @since 5.8.0
|
||||
*
|
||||
* @param boolean $use_widgets_block_editor Whether or not to use the block editor to manage widgets.
|
||||
*/
|
||||
return apply_filters(
|
||||
|
Loading…
Reference in New Issue
Block a user