Changeset 55732
- Timestamp:
- 05/08/2023 10:35:38 PM (19 months ago)
- Location:
- trunk/src
- Files:
-
- 25 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-application-passwords-list-table.php
r55276 r55732 22 22 * @since 5.6.0 23 23 * 24 * @return array24 * @return string[] Array of column titles keyed by their column name. 25 25 */ 26 26 public function get_columns() { -
trunk/src/wp-admin/includes/class-wp-comments-list-table.php
r55513 r55732 459 459 * @global int $post_id 460 460 * 461 * @return array461 * @return string[] Array of column titles keyed by their column name. 462 462 */ 463 463 public function get_columns() { -
trunk/src/wp-admin/includes/class-wp-links-list-table.php
r55276 r55732 125 125 126 126 /** 127 * @return array127 * @return string[] Array of column titles keyed by their column name. 128 128 */ 129 129 public function get_columns() { -
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r55703 r55732 321 321 322 322 /** 323 * @return array323 * @return string[] Array of column titles keyed by their column name. 324 324 */ 325 325 public function get_columns() { -
trunk/src/wp-admin/includes/class-wp-ms-sites-list-table.php
r55666 r55732 360 360 361 361 /** 362 * @return array362 * @return string[] Array of column titles keyed by their column name. 363 363 */ 364 364 public function get_columns() { -
trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php
r55276 r55732 323 323 324 324 /** 325 * @return array325 * @return string[] Array of column titles keyed by their column name. 326 326 */ 327 327 public function get_columns() { -
trunk/src/wp-admin/includes/class-wp-ms-users-list-table.php
r55276 r55732 186 186 187 187 /** 188 * @return array188 * @return string[] Array of column titles keyed by their column name. 189 189 */ 190 190 public function get_columns() { -
trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php
r55641 r55732 425 425 426 426 /** 427 * @return array427 * @return string[] Array of column titles keyed by their column name. 428 428 */ 429 429 public function get_columns() { -
trunk/src/wp-admin/includes/class-wp-plugins-list-table.php
r55571 r55732 452 452 /** 453 453 * @global string $status 454 * @return array 454 * 455 * @return string[] Array of column titles keyed by their column name. 455 456 */ 456 457 public function get_columns() { -
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r55703 r55732 652 652 653 653 /** 654 * @return array654 * @return string[] Array of column titles keyed by their column name. 655 655 */ 656 656 public function get_columns() { -
trunk/src/wp-admin/includes/class-wp-terms-list-table.php
r55276 r55732 186 186 187 187 /** 188 * @return array188 * @return string[] Array of column titles keyed by their column name. 189 189 */ 190 190 public function get_columns() { -
trunk/src/wp-admin/includes/class-wp-themes-list-table.php
r54378 r55732 171 171 172 172 /** 173 * @return array173 * @return string[] Array of column titles keyed by their column name. 174 174 */ 175 175 public function get_columns() { -
trunk/src/wp-includes/block-template-utils.php
r55694 r55732 1346 1346 * Gets the template hierarchy for the given template slug to be created. 1347 1347 * 1348 *1349 1348 * Note: Always add `index` as the last fallback template. 1350 1349 * -
trunk/src/wp-includes/class-wp-application-passwords.php
r54133 r55732 69 69 * @type string $app_id A UUID provided by the application to uniquely identify it. 70 70 * } 71 * @return array|WP_Error The first key in the array is the new password, the second is its detailed information. 72 * A WP_Error instance is returned on error. 71 * @return array|WP_Error { 72 * Application password details, or a WP_Error instance if an error occurs. 73 * 74 * @type string $0 The unhashed generated application password. 75 * @type array $1 { 76 * The details about the created password. 77 * 78 * @type string $uuid The unique identifier for the application password. 79 * @type string $app_id A UUID provided by the application to uniquely identify it. 80 * @type string $name The name of the application password. 81 * @type string $password A one-way hash of the password. 82 * @type int $created Unix timestamp of when the password was created. 83 * @type null $last_used Null. 84 * @type null $last_ip Null. 85 * } 86 * } 73 87 */ 74 88 public static function create_new_application_password( $user_id, $args = array() ) { -
trunk/src/wp-includes/class-wp-block-supports.php
r55230 r55732 92 92 * @since 5.6.0 93 93 * 94 * @return string[] Array of HTML attribute s.94 * @return string[] Array of HTML attribute values keyed by their name. 95 95 */ 96 96 public function apply_block_supports() { -
trunk/src/wp-includes/class-wp-date-query.php
r54765 r55732 686 686 * 687 687 * @param array $query Date query arguments. 688 * @return string[]{688 * @return array { 689 689 * Array containing JOIN and WHERE SQL clauses to append to the main query. 690 690 * 691 * @type string $join SQL fragmentto append to the main JOIN clause.692 * @type string $where SQL fragmentto append to the main WHERE clause.691 * @type string[] $join Array of SQL fragments to append to the main JOIN clause. 692 * @type string[] $where Array of SQL fragments to append to the main WHERE clause. 693 693 * } 694 694 */ … … 706 706 * @param array $query Date query clause. 707 707 * @param array $parent_query Parent query of the current date query. 708 * @return string[]{708 * @return array { 709 709 * Array containing JOIN and WHERE SQL clauses to append to the main query. 710 710 * 711 * @type string $join SQL fragmentto append to the main JOIN clause.712 * @type string $where SQL fragmentto append to the main WHERE clause.711 * @type string[] $join Array of SQL fragments to append to the main JOIN clause. 712 * @type string[] $where Array of SQL fragments to append to the main WHERE clause. 713 713 * } 714 714 */ -
trunk/src/wp-includes/class-wp-meta-query.php
r55398 r55732 524 524 * parameters. If not provided, a key will be generated automatically. 525 525 * Default empty string. 526 * @return string[]{526 * @return array { 527 527 * Array containing JOIN and WHERE SQL clauses to append to a first-order query. 528 528 * 529 * @type string $join SQL fragmentto append to the main JOIN clause.530 * @type string $where SQL fragmentto append to the main WHERE clause.529 * @type string[] $join Array of SQL fragments to append to the main JOIN clause. 530 * @type string[] $where Array of SQL fragments to append to the main WHERE clause. 531 531 * } 532 532 */ -
trunk/src/wp-includes/class-wp-tax-query.php
r54867 r55732 375 375 * @param array $clause Query clause (passed by reference). 376 376 * @param array $parent_query Parent query array. 377 * @return string[]{377 * @return array { 378 378 * Array containing JOIN and WHERE SQL clauses to append to a first-order query. 379 379 * 380 * @type string $join SQL fragmentto append to the main JOIN clause.381 * @type string $where SQL fragmentto append to the main WHERE clause.380 * @type string[] $join Array of SQL fragments to append to the main JOIN clause. 381 * @type string[] $where Array of SQL fragments to append to the main WHERE clause. 382 382 * } 383 383 */ -
trunk/src/wp-includes/class-wp-user-query.php
r55680 r55732 68 68 69 69 /** 70 * PHP5 constructor.70 * Constructor. 71 71 * 72 72 * @since 3.1.0 73 73 * 74 74 * @param null|string|array $query Optional. The query variables. 75 * See WP_User_Query::prepare_query() for information on accepted arguments. 75 76 */ 76 77 public function __construct( $query = null ) { … … 86 87 * @since 4.4.0 87 88 * 88 * @param array $args Query vars, as passed to `WP_User_Query`.89 * @param string|array $args Query vars, as passed to `WP_User_Query`. 89 90 * @return array Complete query variables with undefined ones filled in with defaults. 90 91 */ … … 148 149 * 149 150 * @param string|array $query { 150 * Optional. Array or string of Query parameters.151 * Optional. Array or string of query parameters. 151 152 * 152 153 * @type int $blog_id The site ID. Default is the current site. -
trunk/src/wp-includes/class-wp-user.php
r54891 r55732 895 895 * 896 896 * @return bool[] List of capabilities keyed by the capability name, 897 * e.g. array( 'edit_posts' => true, 'delete_posts' => false ).897 * e.g. `array( 'edit_posts' => true, 'delete_posts' => false )`. 898 898 */ 899 899 private function get_caps_data() { -
trunk/src/wp-includes/class-wpdb.php
r55694 r55732 1438 1438 * Prepares a SQL query for safe execution. 1439 1439 * 1440 * Uses sprintf()-like syntax. The following placeholders can be used in the query string:1441 * 1442 * - %d(integer)1443 * - %f(float)1444 * - %s(string)1445 * - %i(identifier, e.g. table/field names)1440 * Uses `sprintf()`-like syntax. The following placeholders can be used in the query string: 1441 * 1442 * - `%d` (integer) 1443 * - `%f` (float) 1444 * - `%s` (string) 1445 * - `%i` (identifier, e.g. table/field names) 1446 1446 * 1447 1447 * All placeholders MUST be left unquoted in the query string. A corresponding argument … … 1478 1478 * @since 6.2.0 Added `%i` for identifiers, e.g. table or field names. 1479 1479 * Check support via `wpdb::has_cap( 'identifier_placeholders' )`. 1480 * This preserves compatibility with sprintf(), as the C version uses1480 * This preserves compatibility with `sprintf()`, as the C version uses 1481 1481 * `%d` and `$i` as a signed integer, whereas PHP only supports `%d`. 1482 1482 * 1483 1483 * @link https://www.php.net/sprintf Description of syntax. 1484 1484 * 1485 * @param string $query Query statement with sprintf()-like placeholders.1485 * @param string $query Query statement with `sprintf()`-like placeholders. 1486 1486 * @param array|mixed $args The array of variables to substitute into the query's placeholders 1487 1487 * if being called with an array of arguments, or the first variable … … 3320 3320 * @type int $length The column length. 3321 3321 * @type string $type One of 'byte' or 'char'. 3322 * } 3322 3323 */ 3323 3324 public function get_col_length( $table, $column ) { -
trunk/src/wp-includes/comment.php
r55703 r55732 1060 1060 * for the top-level parent `$comment_id`. 1061 1061 * Defaults to the value of the 'thread_comments_depth' option. 1062 * } *1062 * } 1063 1063 * @return int|null Comment page number or null on error. 1064 1064 */ -
trunk/src/wp-includes/deprecated.php
r55653 r55732 3936 3936 3937 3937 /** 3938 * Ajax handler for saving a post from Press This.3939 *3940 * @since 4.2.03941 * @deprecated 4.9.03942 */3938 * Ajax handler for saving a post from Press This. 3939 * 3940 * @since 4.2.0 3941 * @deprecated 4.9.0 3942 */ 3943 3943 function wp_ajax_press_this_save_post() { 3944 3944 _deprecated_function( __FUNCTION__, '4.9.0' ); … … 3953 3953 3954 3954 /** 3955 * Ajax handler for creating new category from Press This.3956 *3957 * @since 4.2.03958 * @deprecated 4.9.03959 */3955 * Ajax handler for creating new category from Press This. 3956 * 3957 * @since 4.2.0 3958 * @deprecated 4.9.0 3959 */ 3960 3960 function wp_ajax_press_this_add_category() { 3961 3961 _deprecated_function( __FUNCTION__, '4.9.0' ); … … 4447 4447 4448 4448 /** 4449 4450 4451 4452 4453 4454 4455 4456 4457 4449 * Allows multiple block styles. 4450 * 4451 * @since 5.9.0 4452 * @deprecated 6.1.0 4453 * 4454 * @param array $metadata Metadata for registering a block type. 4455 * @return array Metadata for registering a block type. 4456 */ 4457 function _wp_multiple_block_styles( $metadata ) { 4458 4458 _deprecated_function( __FUNCTION__, '6.1.0' ); 4459 4459 return $metadata; … … 4599 4599 * @since 6.0.0 4600 4600 * @deprecated 6.2.0 Site Editor's server-side redirect for missing postType and postId 4601 * 4601 * query args is removed. Thus, this function is no longer used. 4602 4602 * 4603 4603 * @return array|null A template object, or null if none could be found. -
trunk/src/wp-includes/functions.wp-scripts.php
r55072 r55732 82 82 * @since 2.1.0 83 83 * 84 * @param string| bool|array$handles Optional. Scripts to be printed. Default 'false'.84 * @param string|string[]|false $handles Optional. Scripts to be printed. Default 'false'. 85 85 * @return string[] On success, an array of handles of processed WP_Dependencies items; otherwise, an empty array. 86 86 */ -
trunk/src/wp-includes/post.php
r55709 r55732 1226 1226 * @access private 1227 1227 * 1228 * @return array1228 * @return string[] Array of privacy request status labels keyed by their status. 1229 1229 */ 1230 1230 function _wp_privacy_statuses() {
Note: See TracChangeset
for help on using the changeset viewer.