Changeset 63495
- Timestamp:
- 09/05/2026 09:32:30 AM (6 weeks ago)
- Location:
- trunk/src
- Files:
-
- 8 edited
-
wp-admin/widgets-form-blocks.php (modified) (1 diff)
-
wp-includes/block-supports/layout.php (modified) (1 diff)
-
wp-includes/block-supports/settings.php (modified) (1 diff)
-
wp-includes/block-template-utils.php (modified) (3 diffs)
-
wp-includes/blocks.php (modified) (1 diff)
-
wp-includes/class-wp-theme-json-schema.php (modified) (3 diffs)
-
wp-includes/class-wp-theme-json.php (modified) (6 diffs)
-
wp-includes/style-engine/class-wp-style-engine-css-rules-store.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/widgets-form-blocks.php
r62649 r63495 122 122 * @since 6.4.0 123 123 * 124 * @param string $message The message being displayed.124 * @param string $message The message being displayed. 125 125 * @param bool $installed Whether the Classic Widget plugin is installed. 126 126 */ -
trunk/src/wp-includes/block-supports/layout.php
r63330 r63495 1564 1564 * 1565 1565 * @param string $block_content Rendered block content. 1566 * @param array $blockBlock object.1566 * @param array $block Block object. 1567 1567 * @return string Filtered block content. 1568 1568 */ -
trunk/src/wp-includes/block-supports/settings.php
r63320 r63495 70 70 * @access private 71 71 * 72 * @param string|null $pre_render The pre-rendered content. Default null.73 * @param array $block The block being rendered.72 * @param string|null $pre_render The pre-rendered content. Default null. 73 * @param array $block The block being rendered. 74 74 * @return null 75 75 */ -
trunk/src/wp-includes/block-template-utils.php
r63385 r63495 1116 1116 * @param WP_Block_Template[]|null $block_templates Return an array of block templates to short-circuit the default query, 1117 1117 * or null to allow WP to run its normal queries. 1118 * @param array $query {1118 * @param array $query { 1119 1119 * Arguments to retrieve templates. All arguments are optional. 1120 1120 * … … 1124 1124 * @type string $post_type Post type to get the templates for. 1125 1125 * } 1126 * @param string $template_typeTemplate type. Either 'wp_template' or 'wp_template_part'.1126 * @param string $template_type Template type. Either 'wp_template' or 'wp_template_part'. 1127 1127 */ 1128 1128 $templates = apply_filters( 'pre_get_block_templates', null, $query, $template_type ); … … 1265 1265 * @since 5.9.0 1266 1266 * 1267 * @param WP_Block_Template[] $query_result Array of found block templates.1267 * @param WP_Block_Template[] $query_result Array of found block templates. 1268 1268 * @param array $query { 1269 1269 * Arguments to retrieve templates. All arguments are optional. -
trunk/src/wp-includes/blocks.php
r63340 r63495 1259 1259 * @access private 1260 1260 * 1261 * @param string $content Serialized content.1262 * @param WP_Post|null $post A post object that the content belongs to. If set to `null`,1263 * `get_post()` will be called to use the current post as context.1264 * Default: `null`.1265 * @param callable $callback A function that will be called for each block to generate1266 * the markup for a given list of blocks that are hooked to it.1267 * Default: 'insert_hooked_blocks'.1261 * @param string $content Serialized content. 1262 * @param WP_Post|null $post A post object that the content belongs to. If set to `null`, 1263 * `get_post()` will be called to use the current post as context. 1264 * Default: `null`. 1265 * @param callable $callback A function that will be called for each block to generate 1266 * the markup for a given list of blocks that are hooked to it. 1267 * Default: 'insert_hooked_blocks'. 1268 1268 * @param array|null $ignored_hooked_blocks_at_root A reference to an array that will be populated 1269 * with the ignored hooked blocks at the root level.1270 * Default: `null`.1269 * with the ignored hooked blocks at the root level. 1270 * Default: `null`. 1271 1271 * @return string The serialized markup. 1272 1272 */ -
trunk/src/wp-includes/class-wp-theme-json-schema.php
r63320 r63495 38 38 * @since 6.6.0 Migrate up to v3 and add $origin parameter. 39 39 * 40 * @param array $theme_json The structure to migrate.41 * @param string $origin Optional. What source of data this object represents.42 * One of 'blocks', 'default', 'theme', or 'custom'. Default 'theme'.40 * @param array $theme_json The structure to migrate. 41 * @param string $origin Optional. What source of data this object represents. 42 * One of 'blocks', 'default', 'theme', or 'custom'. Default 'theme'. 43 43 * @return array The structure in the last version. 44 44 */ … … 101 101 * @since 6.6.0 102 102 * 103 * @param array $oldData to migrate.103 * @param array $old Data to migrate. 104 104 * @param string $origin What source of data this object represents. 105 105 * One of 'blocks', 'default', 'theme', or 'custom'. … … 214 214 * 215 215 * @param array $settings Reference to the current settings array. 216 * @param array $path Path to the property to be removed.216 * @param array $path Path to the property to be removed. 217 217 */ 218 218 private static function unset_setting_by_path( &$settings, $path ) { -
trunk/src/wp-includes/class-wp-theme-json.php
r63426 r63495 955 955 * Processes pseudo-selectors for any node (block or variation). 956 956 * 957 * @param array $nodeThe node data (block or variation).958 * @param string $base_selectorThe base selector.959 * @param array $settingsThe theme settings.960 * @param string $block_nameThe block name.961 * @param array|null $block_metadata Metadata about the block to get styles for.957 * @param array $node The node data (block or variation). 958 * @param string $base_selector The base selector. 959 * @param array $settings The theme settings. 960 * @param string $block_name The block name. 961 * @param array|null $block_metadata Metadata about the block to get styles for. 962 962 * @param array|null $style_variation Style variation metadata. 963 963 * @return array Array of pseudo-selector declarations. … … 2996 2996 * @since 6.7.0 `ref` resolution of background properties, and assigning custom default values. 2997 2997 * 2998 * @param array $styles Styles to process.2999 * @param array $settings Theme settings.3000 * @param array $properties Properties metadata.3001 * @param array $theme_json Theme JSON array.3002 * @param string $selector The style block selector.2998 * @param array $styles Styles to process. 2999 * @param array $settings Theme settings. 3000 * @param array $properties Properties metadata. 3001 * @param array $theme_json Theme JSON array. 3002 * @param string $selector The style block selector. 3003 3003 * @param boolean $use_root_padding Whether to add custom properties at root level. 3004 3004 * @return array Returns the modified $declarations. … … 3134 3134 * @since 6.7.0 Added support for background image refs. 3135 3135 * 3136 * @param array $styles Styles subtree.3137 * @param array $path Which property to process.3136 * @param array $styles Styles subtree. 3137 * @param array $path Which property to process. 3138 3138 * @param array $theme_json Theme JSON array. 3139 3139 * @return string|array Style property value. … … 4196 4196 * @since 7.0.0 Added `$options` parameter to control alignment styles output for classic themes. 4197 4197 * 4198 * @param string $selector The root node selector.4198 * @param string $selector The root node selector. 4199 4199 * @param array $block_metadata The metadata for the root block. 4200 4200 * @param array $options Optional. An array of options for now used for internal purposes only. … … 4599 4599 * @since 5.9.0 4600 4600 * 4601 * @param string $slug The slug we want to find a match from default presets.4601 * @param string $slug The slug we want to find a match from default presets. 4602 4602 * @param array $base_path The path to inspect. It's 'settings' by default. 4603 4603 * @return string|null … … 5913 5913 * @since 7.0.0 5914 5914 * 5915 * @param array $style_variation Style variation metadata.5915 * @param array $style_variation Style variation metadata. 5916 5916 * @param string $feature_selector CSS selector for the feature. 5917 5917 * @return string Feature selector with block style variation selector added. -
trunk/src/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php
r62178 r63495 126 126 * @since 6.6.0 Added the $rules_group parameter. 127 127 * 128 * @param string $selector The CSS selector.128 * @param string $selector The CSS selector. 129 129 * @param string $rules_group A parent CSS selector in the case of nested CSS, or a CSS nested @rule, 130 130 * such as `@media (min-width: 80rem)` or `@layer module`.
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)