mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-06 23:52:28 +01:00
Docs: Miscellaneous docblock corrections and improvements.
See #53399 Built from https://develop.svn.wordpress.org/trunk@51477 git-svn-id: http://core.svn.wordpress.org/trunk@51088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d19c7680e1
commit
0434d4d30b
@ -89,9 +89,6 @@ $step = isset( $_GET['step'] ) ? (int) $_GET['step'] : -1;
|
||||
* @ignore
|
||||
* @since 2.3.0
|
||||
*
|
||||
* @global string $wp_local_package Locale code of the package.
|
||||
* @global WP_Locale $wp_locale WordPress date and time locale object.
|
||||
*
|
||||
* @param string|string[] $body_classes Class attribute values for the body tag.
|
||||
*/
|
||||
function setup_config_display_header( $body_classes = array() ) {
|
||||
|
@ -346,7 +346,7 @@ function register_block_type_from_metadata( $file_or_folder, $args = array() ) {
|
||||
* the metadata stored in the `block.json` file.
|
||||
*
|
||||
* @since 5.0.0
|
||||
* @since 5.8.0 First param accepts a path to the `block.json` file.
|
||||
* @since 5.8.0 First parameter now accepts a path to the `block.json` file.
|
||||
*
|
||||
* @param string|WP_Block_Type $block_type Block type name including namespace, or alternatively
|
||||
* a path to the JSON file with metadata definition for the block,
|
||||
@ -722,7 +722,7 @@ function excerpt_remove_blocks( $content ) {
|
||||
*
|
||||
* @since 5.8.0
|
||||
*
|
||||
* @param array $allowed_wrapper_blocks The list of allowed wrapper blocks.
|
||||
* @param string[] $allowed_wrapper_blocks The list of names of allowed wrapper blocks.
|
||||
*/
|
||||
$allowed_wrapper_blocks = apply_filters( 'excerpt_allowed_wrapper_blocks', $allowed_wrapper_blocks );
|
||||
|
||||
@ -736,7 +736,7 @@ function excerpt_remove_blocks( $content ) {
|
||||
*
|
||||
* @since 5.0.0
|
||||
*
|
||||
* @param array $allowed_blocks The list of allowed blocks.
|
||||
* @param string[] $allowed_blocks The list of names of allowed blocks.
|
||||
*/
|
||||
$allowed_blocks = apply_filters( 'excerpt_allowed_blocks', $allowed_blocks );
|
||||
$blocks = parse_blocks( $content );
|
||||
@ -772,7 +772,7 @@ function excerpt_remove_blocks( $content ) {
|
||||
* Render inner blocks from the allowed wrapper blocks
|
||||
* for generating an excerpt.
|
||||
*
|
||||
* @since 5.8
|
||||
* @since 5.8.0
|
||||
* @access private
|
||||
*
|
||||
* @param array $parsed_block The parsed block.
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.9-alpha-51476';
|
||||
$wp_version = '5.9-alpha-51477';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
@ -598,7 +598,6 @@ class wpdb {
|
||||
* @since 2.0.8
|
||||
*
|
||||
* @link https://core.trac.wordpress.org/ticket/3354
|
||||
* @global string $wp_version The WordPress version string.
|
||||
*
|
||||
* @param string $dbuser MySQL database user.
|
||||
* @param string $dbpassword MySQL database password.
|
||||
|
Loading…
Reference in New Issue
Block a user