mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Adjust documentation for some pre_* filters for consistency.
See #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@47101 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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 );
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user