mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
Docs: Add missing code formatting to various @since entries.
See #42505 git-svn-id: https://develop.svn.wordpress.org/trunk@42678 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -231,7 +231,7 @@ function number_format_i18n( $number, $decimals = 0 ) {
|
||||
* Filters the number formatted based on the locale.
|
||||
*
|
||||
* @since 2.8.0
|
||||
* @since 4.9.0 The `$number` and `$decimals` arguments were added.
|
||||
* @since 4.9.0 The `$number` and `$decimals` parameters were added.
|
||||
*
|
||||
* @param string $formatted Converted number in string format.
|
||||
* @param float $number The number to convert based on locale.
|
||||
@@ -3712,7 +3712,7 @@ function wp_is_numeric_array( $data ) {
|
||||
* Filters a list of objects, based on a set of key => value arguments.
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @since 4.7.0 Uses WP_List_Util class.
|
||||
* @since 4.7.0 Uses `WP_List_Util` class.
|
||||
*
|
||||
* @param array $list An array of objects to filter
|
||||
* @param array $args Optional. An array of key => value arguments to match
|
||||
@@ -3745,7 +3745,7 @@ function wp_filter_object_list( $list, $args = array(), $operator = 'and', $fiel
|
||||
* Filters a list of objects, based on a set of key => value arguments.
|
||||
*
|
||||
* @since 3.1.0
|
||||
* @since 4.7.0 Uses WP_List_Util class.
|
||||
* @since 4.7.0 Uses `WP_List_Util` class.
|
||||
*
|
||||
* @param array $list An array of objects to filter.
|
||||
* @param array $args Optional. An array of key => value arguments to match
|
||||
@@ -3773,7 +3773,7 @@ function wp_list_filter( $list, $args = array(), $operator = 'AND' ) {
|
||||
*
|
||||
* @since 3.1.0
|
||||
* @since 4.0.0 $index_key parameter added.
|
||||
* @since 4.7.0 Uses WP_List_Util class.
|
||||
* @since 4.7.0 Uses `WP_List_Util` class.
|
||||
*
|
||||
* @param array $list List of objects or arrays
|
||||
* @param int|string $field Field from the object to place instead of the entire object
|
||||
@@ -4575,7 +4575,7 @@ function wp_suspend_cache_invalidation( $suspend = true ) {
|
||||
* Determine whether a site is the main site of the current network.
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @since 4.9.0 The $network_id parameter has been added.
|
||||
* @since 4.9.0 The `$network_id` parameter was added.
|
||||
*
|
||||
* @param int $site_id Optional. Site ID to test. Defaults to current site.
|
||||
* @param int $network_id Optional. Network ID of the network to check for.
|
||||
|
||||
Reference in New Issue
Block a user