Changeset 53827
- Timestamp:
- 08/04/2022 02:50:27 PM (2 years ago)
- Location:
- trunk/src
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/authorize-application.php
r53102 r53827 251 251 * 252 252 * @type string $app_name The suggested name of the application. 253 * @type string $success_url The urlthe user will be redirected to after approving the application.254 * @type string $reject_url The urlthe user will be redirected to after rejecting the application.253 * @type string $success_url The URL the user will be redirected to after approving the application. 254 * @type string $reject_url The URL the user will be redirected to after rejecting the application. 255 255 * } 256 256 * @param WP_User $user The user authorizing the application. -
trunk/src/wp-admin/edit-tags.php
r53455 r53827 487 487 * An array of taxonomy parent drop-down arguments. 488 488 * 489 * @type int|bool $hide_empty Whether to hide terms not attached to any posts. Default 0 |false.489 * @type int|bool $hide_empty Whether to hide terms not attached to any posts. Default 0. 490 490 * @type bool $hide_if_empty Whether to hide the drop-down if no terms exist. Default false. 491 491 * @type string $taxonomy The taxonomy slug. -
trunk/src/wp-includes/category.php
r48591 r53827 270 270 * @param int $cat_id Category ID. 271 271 * @param string $context What filter to use, 'raw', 'display', etc. 272 * @return mixed Same type as $value after $value has been sanitized.272 * @return mixed Value after $value has been sanitized. 273 273 */ 274 274 function sanitize_category_field( $field, $value, $cat_id, $context ) { -
trunk/src/wp-includes/class-wp-comment-query.php
r53503 r53827 160 160 * @type string $fields Comment fields to return. Accepts 'ids' for comment IDs 161 161 * only or empty for all fields. Default empty. 162 * @type int $ID Currently unused.163 162 * @type array $include_unapproved Array of IDs or email addresses of users whose unapproved 164 163 * comments will be returned by the query regardless of … … 224 223 * @type int[] $post_author__not_in Array of author IDs *not* to retrieve comments for. 225 224 * Default empty. 226 * @type int $post_ID Currently unused.227 225 * @type int $post_id Limit results to those affiliated with a given post ID. 228 226 * Default 0. -
trunk/src/wp-includes/class-wp-http.php
r52964 r53827 688 688 * 689 689 * @type array $response { 690 * 691 * 690 * @type int $code The response status code. Default 0. 691 * @type string $message The response message. Default empty. 692 692 * } 693 693 * @type array $newheaders The processed header data as a multidimensional array. -
trunk/src/wp-includes/class-wp-query.php
r53508 r53827 666 666 * Default false. 667 667 * @type int $m Combination YearMonth. Accepts any four-digit year and month 668 * numbers 1-12. Default empty.668 * numbers 01-12. Default empty. 669 669 * @type string|string[] $meta_key Meta key or keys to filter by. 670 670 * @type string|string[] $meta_value Meta value or values to filter by. -
trunk/src/wp-includes/link-template.php
r53734 r53827 4017 4017 * Filters whether to preempt generating a shortlink for the given post. 4018 4018 * 4019 * Returning a truthy value from the filter will effectivelyshort-circuit4019 * Returning a value other than false from the filter will short-circuit 4020 4020 * the shortlink generation process, returning that value instead. 4021 4021 * -
trunk/src/wp-includes/media.php
r53751 r53827 4536 4536 * @link https://core.trac.wordpress.org/ticket/31071 4537 4537 * 4538 * @param array|null $months An array of objects with `month` and `year` 4539 * properties, or `null` (or any other non-array value) 4540 * for default behavior. 4538 * @param stdClass[]|null $months An array of objects with `month` and `year` 4539 * properties, or `null` for default behavior. 4541 4540 */ 4542 4541 $months = apply_filters( 'media_library_months_with_files', null ); -
trunk/src/wp-includes/meta.php
r52707 r53827 1636 1636 1637 1637 /** 1638 * Retrieves a list of registered meta keys for an object type.1638 * Retrieves a list of registered metadata args for an object type, keyed by their meta keys. 1639 1639 * 1640 1640 * @since 4.6.0 … … 1644 1644 * or any other object type with an associated meta table. 1645 1645 * @param string $object_subtype Optional. The subtype of the object type. 1646 * @return string[] List of registeredmeta keys.1646 * @return array[] List of registered metadata args, keyed by their meta keys. 1647 1647 */ 1648 1648 function get_registered_meta_keys( $object_type, $object_subtype = '' ) { -
trunk/src/wp-includes/option.php
r53704 r53827 115 115 * The dynamic portion of the hook name, `$option`, refers to the option name. 116 116 * 117 * Returning a truthy value from the filter will effectivelyshort-circuit retrieval118 * and return th e passedvalue instead.117 * Returning a value other than false from the filter will short-circuit retrieval 118 * and return that value instead. 119 119 * 120 120 * @since 1.5.0 … … 833 833 * The dynamic portion of the hook name, `$transient`, refers to the transient name. 834 834 * 835 * Returning a truthy value from the filter will effectivelyshort-circuit retrieval836 * and return th e passedvalue instead.835 * Returning a value other than false from the filter will short-circuit retrieval 836 * and return that value instead. 837 837 * 838 838 * @since 2.8.0 … … 1004 1004 /** 1005 1005 * Deletes all expired transients. 1006 * 1007 * Note that this function won't do anything if an external object cache is in use. 1006 1008 * 1007 1009 * The multi-table delete syntax is used to delete the transient record … … 1133 1135 * Adds or updates user interface setting. 1134 1136 * 1135 * Both $name and $valuecan contain only ASCII letters, numbers, hyphens, and underscores.1136 * 1137 * This function has to be used before any output has started as it calls setcookie().1137 * Both `$name` and `$value` can contain only ASCII letters, numbers, hyphens, and underscores. 1138 * 1139 * This function has to be used before any output has started as it calls `setcookie()`. 1138 1140 * 1139 1141 * @since 2.8.0 … … 1160 1162 * Deleting settings would reset them to the defaults. 1161 1163 * 1162 * This function has to be used before any output has started as it calls setcookie().1164 * This function has to be used before any output has started as it calls `setcookie()`. 1163 1165 * 1164 1166 * @since 2.7.0 … … 1390 1392 * The dynamic portion of the hook name, `$option`, refers to the option name. 1391 1393 * 1392 * Returning a truthy value from the filter will effectivelyshort-circuit retrieval1393 * and return th e passedvalue instead.1394 * Returning a value other than false from the filter will short-circuit retrieval 1395 * and return that value instead. 1394 1396 * 1395 1397 * @since 2.9.0 As 'pre_site_option_' . $key … … 1421 1423 1422 1424 /** 1423 * Filters a specific default network option.1425 * Filters the value of a specific default network option. 1424 1426 * 1425 1427 * The dynamic portion of the hook name, `$option`, refers to the option name. -
trunk/src/wp-includes/pluggable.php
r53698 r53827 896 896 * 897 897 * @since 2.7.0 898 * @since 4.0.0 The `$token` element was added to the return value. 898 899 * 899 900 * @param string $cookie Authentication cookie. -
trunk/src/wp-includes/taxonomy.php
r53669 r53827 3106 3106 * @param int $term_id The ID of the term. 3107 3107 * @param string $taxonomy The taxonomy of the term. 3108 * @param array |string$args {3109 * Optional. Array o r string of arguments for updating a term.3108 * @param array $args { 3109 * Optional. Array of arguments for updating a term. 3110 3110 * 3111 3111 * @type string $alias_of Slug of the term to make this term an alias of. -
trunk/src/wp-login.php
r53708 r53827 348 348 /** 349 349 * Filters default arguments for the Languages select input on the login screen. 350 * 351 * The arguments get passed to the wp_dropdown_languages() function. 350 352 * 351 353 * @since 5.9.0
Note: See TracChangeset
for help on using the changeset viewer.