Changeset 53878
- Timestamp:
- 08/11/2022 02:09:04 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/README.md
r50697 r53878 52 52 53 53 ``` 54 npm run env:cli <command>54 npm run env:cli -- <command> 55 55 ``` 56 56 57 WP-CLI has a lot of [useful commands](https://developer.wordpress.org/cli/commands/) you can use to work on your WordPress site. Where the documentation mentions running `wp`, run `npm run env:cli` instead. For example:57 WP-CLI has [many useful commands](https://developer.wordpress.org/cli/commands/) you can use to work on your WordPress site. Where the documentation mentions running `wp`, run `npm run env:cli --` instead. For example: 58 58 59 59 ``` 60 npm run env:cli help60 npm run env:cli -- help 61 61 ``` 62 62 -
trunk/src/wp-includes/class-wp-block-supports.php
r52236 r53878 72 72 * 73 73 * @since 5.6.0 74 * 75 * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/ 74 76 * 75 77 * @param string $block_support_name Block support name. -
trunk/src/wp-includes/class-wp-customize-control.php
r51927 r53878 168 168 * Supplied `$args` override class property defaults. 169 169 * 170 * If `$args['settings']` is not defined, use the $idas the setting ID.170 * If `$args['settings']` is not defined, use the `$id` as the setting ID. 171 171 * 172 172 * @since 3.4.0 -
trunk/src/wp-includes/cron.php
r53791 r53878 1206 1206 1207 1207 /** 1208 * Upgrade a Cron info array.1209 * 1210 * This function upgrades the Cron info array to version 2.1208 * Upgrade a cron info array. 1209 * 1210 * This function upgrades the cron info array to version 2. 1211 1211 * 1212 1212 * @since 2.1.0 … … 1214 1214 * 1215 1215 * @param array $cron Cron info array from _get_cron_array(). 1216 * @return array An upgraded Cron info array.1216 * @return array An upgraded cron info array. 1217 1217 */ 1218 1218 function _upgrade_cron_array( $cron ) { -
trunk/src/wp-includes/functions.php
r53811 r53878 4895 4895 * @param array $array An array from which we want to retrieve some information. 4896 4896 * @param array $path An array of keys describing the path with which to retrieve information. 4897 * @param mixed $default The return value if the path does not exist within the array,4898 * or if `$array` or `$path` are not arrays. 4897 * @param mixed $default Optional. The return value if the path does not exist within the array, 4898 * or if `$array` or `$path` are not arrays. Default null. 4899 4899 * @return mixed The value from the path specified. 4900 4900 */ -
trunk/src/wp-includes/https-detection.php
r52332 r53878 179 179 * @access private 180 180 * 181 * @param array $request The Cron request arguments.182 * @return array The filtered Cron request arguments.181 * @param array $request The cron request arguments. 182 * @return array The filtered cron request arguments. 183 183 */ 184 184 function wp_cron_conditionally_prevent_sslverify( $request ) { -
trunk/src/wp-includes/link-template.php
r53877 r53878 4162 4162 * user email, WP_User object, WP_Post object, or WP_Comment object. 4163 4163 * @param array $args { 4164 * Optional. Arguments to returninstead of the default arguments.4164 * Optional. Arguments to use instead of the default arguments. 4165 4165 * 4166 4166 * @type int $size Height and width of the avatar in pixels. Default 96. … … 4214 4214 * @since 4.2.0 4215 4215 * 4216 * @param mixed $id_or_email The Gravatar to retrieve. Accepts a user ID, Gravatar MD5 hash,4216 * @param mixed $id_or_email The avatar to retrieve. Accepts a user ID, Gravatar MD5 hash, 4217 4217 * user email, WP_User object, WP_Post object, or WP_Comment object. 4218 4218 * @param array $args { 4219 * Optional. Arguments to returninstead of the default arguments.4219 * Optional. Arguments to use instead of the default arguments. 4220 4220 * 4221 4221 * @type int $size Height and width of the avatar image file in pixels. Default 96. … … 4319 4319 * 4320 4320 * @param array $args Arguments passed to get_avatar_data(), after processing. 4321 * @param mixed $id_or_email The Gravatar to retrieve. Accepts a user ID, Gravatar MD5 hash,4321 * @param mixed $id_or_email The avatar to retrieve. Accepts a user ID, Gravatar MD5 hash, 4322 4322 * user email, WP_User object, WP_Post object, or WP_Comment object. 4323 4323 */ … … 4410 4410 * 4411 4411 * @param string $url The URL of the avatar. 4412 * @param mixed $id_or_email The Gravatar to retrieve. Accepts a user ID, Gravatar MD5 hash,4412 * @param mixed $id_or_email The avatar to retrieve. Accepts a user ID, Gravatar MD5 hash, 4413 4413 * user email, WP_User object, WP_Post object, or WP_Comment object. 4414 4414 * @param array $args Arguments passed to get_avatar_data(), after processing. … … 4422 4422 * 4423 4423 * @param array $args Arguments passed to get_avatar_data(), after processing. 4424 * @param mixed $id_or_email The Gravatar to retrieve. Accepts a user ID, Gravatar MD5 hash,4424 * @param mixed $id_or_email The avatar to retrieve. Accepts a user ID, Gravatar MD5 hash, 4425 4425 * user email, WP_User object, WP_Post object, or WP_Comment object. 4426 4426 */ -
trunk/src/wp-includes/ms-blogs.php
r53832 r53878 76 76 77 77 /** 78 * Retrieves a site s ID given its (subdomain or directory) slug.78 * Retrieves a site's ID given its (subdomain or directory) slug. 79 79 * 80 80 * @since MU (3.0.0) -
trunk/src/wp-includes/post.php
r53877 r53878 3218 3218 * Checks a MIME-Type against a list. 3219 3219 * 3220 * If the wildcard_mime_typesparameter is a string, it must be comma separated3221 * list. If the real_mime_typesis a string, it is also comma separated to3220 * If the `$wildcard_mime_types` parameter is a string, it must be comma separated 3221 * list. If the `$real_mime_types` is a string, it is also comma separated to 3222 3222 * create the list. 3223 3223 * 3224 3224 * @since 2.5.0 3225 3225 * 3226 * @param string|string[] $wildcard_mime_types Mime types, e.g. audio/mpeg or image (same as image/*)3227 * or flash (same as *flash*).3226 * @param string|string[] $wildcard_mime_types Mime types, e.g. `audio/mpeg`, `image` (same as `image/*`), 3227 * or `flash` (same as `*flash*`). 3228 3228 * @param string|string[] $real_mime_types Real post mime type values. 3229 3229 * @return array array(wildcard=>array(real types)).
Note: See TracChangeset
for help on using the changeset viewer.