Docs: Adjust documentation for some pre_* filters for consistency.

See #48303.
Built from https://develop.svn.wordpress.org/trunk@47101


git-svn-id: http://core.svn.wordpress.org/trunk@46901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-01-22 00:25:04 +00:00
parent eb513c5ac8
commit c3f9af4f00
6 changed files with 10 additions and 6 deletions

View File

@ -407,7 +407,8 @@ class WP_Network {
*
* @since 3.9.0
*
* @param null|bool|WP_Network $network Network value to return by path.
* @param null|bool|WP_Network $network Network value to return by path. Default null
* to continue retrieving the network.
* @param string $domain The requested domain.
* @param string $path The requested path, in full.
* @param int|null $segments The suggested number of paths to consult.

View File

@ -384,7 +384,8 @@ class WP_oEmbed {
*
* @since 4.5.3
*
* @param null|string $result The UNSANITIZED (and potentially unsafe) HTML that should be used to embed. Default null.
* @param null|string $result The UNSANITIZED (and potentially unsafe) HTML that should be used to embed.
* Default null to continue retrieving the result.
* @param string $url The URL to the content that should be attempted to be embedded.
* @param array $args Optional. Arguments, usually passed from a shortcode. Default empty.
*/

View File

@ -203,7 +203,8 @@ function get_site_by_path( $domain, $path, $segments = null ) {
*
* @since 3.9.0
*
* @param null|false|WP_Site $site Site value to return by path.
* @param null|false|WP_Site $site Site value to return by path. Default null
* to continue retrieving the site.
* @param string $domain The requested domain.
* @param string $path The requested path, in full.
* @param int|null $segments The suggested number of paths to consult.

View File

@ -932,7 +932,8 @@ function wp_is_site_initialized( $site_id ) {
*
* @since 5.1.0
*
* @param bool|null $pre The value to return, if not null.
* @param bool|null $pre The value to return instead. Default null
* to continue with the check.
* @param int $site_id The site ID that is being checked.
*/
$pre = apply_filters( 'pre_wp_is_site_initialized', null, $site_id );

View File

@ -886,7 +886,7 @@ function count_users( $strategy = 'time', $site_id = null ) {
*
* @since 5.1.0
*
* @param null|string $result Default null.
* @param null|string $result The value to return instead. Default null to continue with the query.
* @param string $strategy Optional. The computational strategy to use when counting the users.
* Accepts either 'time' or 'memory'. Default 'time'.
* @param int|null $site_id Optional. The site ID to count users for. Defaults to the current site.

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.4-alpha-47100';
$wp_version = '5.4-alpha-47101';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.