Changeset 55870
- Timestamp:
- 05/30/2023 05:43:27 PM (19 months ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r55851 r55870 7576 7576 * @since 4.6.0 The default now takes the original `memory_limit` into account. 7577 7577 * 7578 * @param int|string $filtered_limit Maximum memory limit to allocate for image s.7578 * @param int|string $filtered_limit Maximum memory limit to allocate for image processing. 7579 7579 * Default `WP_MAX_MEMORY_LIMIT` or the original 7580 7580 * php.ini `memory_limit`, whichever is higher. … … 7587 7587 default: 7588 7588 /** 7589 * Filters the memory limit allocated for a rbitrary contexts.7589 * Filters the memory limit allocated for an arbitrary context. 7590 7590 * 7591 7591 * The dynamic portion of the hook name, `$context`, refers to an arbitrary … … 7595 7595 * @since 4.6.0 7596 7596 * 7597 * @param int|string $filtered_limit Maximum memory limit to allocate for images.7598 * Default '256M'or the original php.ini `memory_limit`,7597 * @param int|string $filtered_limit Maximum memory limit to allocate for this context. 7598 * Default WP_MAX_MEMORY_LIMIT` or the original php.ini `memory_limit`, 7599 7599 * whichever is higher. Accepts an integer (bytes), or a 7600 7600 * shorthand string notation, such as '256M'. -
trunk/src/wp-includes/general-template.php
r55857 r55870 159 159 * @since 5.5.0 The `$args` parameter was added. 160 160 * 161 * @param string $slug The slug name for the generic template.162 * @param string $nameThe name of the specialized template.163 * @param array $args Optional. Additional arguments passed to the template.164 * Default empty array.161 * @param string $slug The slug name for the generic template. 162 * @param string|null $name Optional. The name of the specialized template. 163 * @param array $args Optional. Additional arguments passed to the template. 164 * Default empty array. 165 165 * @return void|false Void on success, false if the template does not exist. 166 166 */ … … 176 176 * 177 177 * @param string $slug The slug name for the generic template. 178 * @param string|null $name The name of the specialized template. 178 * @param string|null $name The name of the specialized template or null if 179 * there is none. 179 180 * @param array $args Additional arguments passed to the template. 180 181 */ … … 196 197 * 197 198 * @param string $slug The slug name for the generic template. 198 * @param string $name The name of the specialized template. 199 * @param string $name The name of the specialized template or an empty 200 * string if there is none. 199 201 * @param string[] $templates Array of template files to search for, in order. 200 202 * @param array $args Additional arguments passed to the template. -
trunk/src/wp-includes/script-loader.php
r55860 r55870 3088 3088 * 3089 3089 * @param string $block_name The block-name, including namespace. 3090 * @param array $args An array of arguments [handle,src,deps,ver,media]. 3090 * @param array $args { 3091 * An array of arguments. See wp_register_style() for full information about each argument. 3092 * 3093 * @type string $handle The handle for the stylesheet. 3094 * @type string|false $src The source URL of the stylesheet. 3095 * @type string[] $deps Array of registered stylesheet handles this stylesheet depends on. 3096 * @type string|bool|null $ver Stylesheet version number. 3097 * @type string $media The media for which this stylesheet has been defined. 3098 * } 3091 3099 */ 3092 3100 function wp_enqueue_block_style( $block_name, $args ) {
Note: See TracChangeset
for help on using the changeset viewer.