Docs: Docs: Use third-person singular verbs for function descriptions in `wp-includes/blocks.php` and `wp-includes/script-loader.php`, per the documentation standards.

See #54729.

Built from https://develop.svn.wordpress.org/trunk@53235


git-svn-id: http://core.svn.wordpress.org/trunk@52824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-04-20 14:09:11 +00:00
parent 4d3dbe477a
commit 6ef5625ac2
3 changed files with 13 additions and 13 deletions

View File

@ -407,7 +407,7 @@ function unregister_block_type( $name ) {
}
/**
* Determine whether a post or content string has blocks.
* Determines whether a post or content string has blocks.
*
* This test optimizes for performance rather than strict accuracy, detecting
* the pattern of a block but not validating its structure. For strict accuracy,
@ -433,7 +433,7 @@ function has_blocks( $post = null ) {
}
/**
* Determine whether a $post or a string contains a specific block type.
* Determines whether a $post or a string contains a specific block type.
*
* This test optimizes for performance rather than strict accuracy, detecting
* whether the block type exists but not validating its structure and not checking
@ -1229,7 +1229,7 @@ function get_query_pagination_arrow( $block, $is_next ) {
}
/**
* Allow multiple block styles.
* Allows multiple block styles.
*
* @since 5.9.0
*

View File

@ -647,7 +647,7 @@ function wp_scripts_get_suffix( $type = '' ) {
}
/**
* Register all WordPress scripts.
* Registers all WordPress scripts.
*
* Localizes some of them.
* args order: `$scripts->add( 'handle', 'url', 'dependencies', 'query-string', 1 );`
@ -1427,7 +1427,7 @@ function wp_default_scripts( $scripts ) {
}
/**
* Assign default styles to $styles object.
* Assigns default styles to $styles object.
*
* Nothing is returned, because the $styles parameter is passed by reference.
* Meaning that whatever object is passed will be updated without having to
@ -1733,7 +1733,7 @@ function wp_default_styles( $styles ) {
}
/**
* Reorder JavaScript scripts array to place prototype before jQuery.
* Reorders JavaScript scripts array to place prototype before jQuery.
*
* @since 2.3.1
*
@ -1765,7 +1765,7 @@ function wp_prototype_before_jquery( $js_array ) {
}
/**
* Load localized data on print rather than initialization.
* Loads localized data on print rather than initialization.
*
* These localizations require information that may not be loaded even by init.
*
@ -2045,7 +2045,7 @@ function print_footer_scripts() {
}
/**
* Print scripts (internal use only)
* Prints scripts (internal use only)
*
* @ignore
*
@ -2226,7 +2226,7 @@ function print_late_styles() {
}
/**
* Print styles (internal use only)
* Prints styles (internal use only).
*
* @ignore
* @since 3.3.0
@ -2273,7 +2273,7 @@ function _print_styles() {
}
/**
* Determine the concatenation and compression settings for scripts and styles.
* Determines the concatenation and compression settings for scripts and styles.
*
* @since 2.8.0
*
@ -2388,7 +2388,7 @@ function wp_enqueue_global_styles() {
}
/**
* Render the SVG filters supplied by theme.json.
* Renders the SVG filters supplied by theme.json.
*
* Note that this doesn't render the per-block user-defined
* filters which are handled by wp_render_duotone_support,
@ -2835,7 +2835,7 @@ function wp_maybe_inline_styles() {
}
/**
* Make URLs relative to the WordPress installation.
* Makes URLs relative to the WordPress installation.
*
* @since 5.9.0
* @access private

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.0-beta2-53234';
$wp_version = '6.0-beta2-53235';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.