File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -2323,20 +2323,20 @@ function wp_should_load_block_editor_scripts_and_styles() {
2323
2323
*
2324
2324
* @since 5.8.0
2325
2325
*
2326
- * @return bool Whether separate assets will be loaded or not .
2326
+ * @return bool Whether separate assets will be loaded.
2327
2327
*/
2328
2328
function wp_should_load_separate_core_block_assets () {
2329
2329
if ( is_admin () || is_feed () || ( defined ( 'REST_REQUEST ' ) && REST_REQUEST ) ) {
2330
2330
return false ;
2331
2331
}
2332
2332
2333
2333
/**
2334
- * Filters the flag that decides whether or not separate scripts and styles
2335
- * will be loaded for core blocks on-render or not .
2334
+ * Filters the flag that decides whether separate scripts and styles
2335
+ * will be loaded for core blocks on-render.
2336
2336
*
2337
2337
* @since 5.8.0
2338
2338
*
2339
- * @param bool $load_separate_assets Whether separate assets will be loaded or not .
2339
+ * @param bool $load_separate_assets Whether separate assets will be loaded.
2340
2340
* Default false.
2341
2341
*/
2342
2342
return apply_filters ( 'should_load_separate_core_block_assets ' , false );
@@ -2595,6 +2595,8 @@ function wp_maybe_inline_styles() {
2595
2595
/**
2596
2596
* The maximum size of inlined styles in bytes.
2597
2597
*
2598
+ * @since 5.8.0
2599
+ *
2598
2600
* @param int $total_inline_limit The file-size threshold, in bytes. Defaults to 20000.
2599
2601
*/
2600
2602
$ total_inline_limit = apply_filters ( 'styles_inline_size_limit ' , $ total_inline_limit );
Original file line number Diff line number Diff line change @@ -1824,6 +1824,8 @@ function wp_use_widgets_block_editor() {
1824
1824
/**
1825
1825
* Filters whether or not to use the block editor to manage widgets.
1826
1826
*
1827
+ * @since 5.8.0
1828
+ *
1827
1829
* @param boolean $use_widgets_block_editor Whether or not to use the block editor to manage widgets.
1828
1830
*/
1829
1831
return apply_filters (
You can’t perform that action at this time.
0 commit comments