Changeset 63542
- Timestamp:
- 09/08/2026 08:05:22 PM (5 days ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
src/wp-includes/block-supports/typography.php (modified) (1 diff)
-
src/wp-includes/block-template-utils.php (modified) (1 diff)
-
src/wp-includes/class-wp-walker.php (modified) (1 diff)
-
tests/phpstan/baselines/booleanAnd.leftAlwaysTrue.neon (modified) (1 diff)
-
tests/phpstan/baselines/booleanAnd.rightAlwaysTrue.neon (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/typography.php
r63382 r63542 305 305 */ 306 306 function wp_render_typography_support( $block_content, $block ) { 307 if ( ! empty( $block['attrs']['fitText'] ) && $block['attrs']['fitText'] &&! is_admin() ) {307 if ( ! empty( $block['attrs']['fitText'] ) && ! is_admin() ) { 308 308 wp_enqueue_script_module( '@wordpress/block-editor/utils/fit-text-frontend' ); 309 309 -
trunk/src/wp-includes/block-template-utils.php
r63495 r63542 460 460 if ( 461 461 ! $post_type || 462 ( $post_type &&isset( $candidate['postTypes'] ) && in_array( $post_type, $candidate['postTypes'], true ) )462 ( isset( $candidate['postTypes'] ) && in_array( $post_type, $candidate['postTypes'], true ) ) 463 463 ) { 464 464 $template_files[ $template_slug ] = $candidate; -
trunk/src/wp-includes/class-wp-walker.php
r62695 r63542 165 165 } 166 166 167 if ( isset( $newlevel ) && $newlevel) {167 if ( isset( $newlevel ) ) { 168 168 // End the child delimiter. 169 169 $this->end_lvl( $output, $depth, ...array_values( $args ) ); -
trunk/tests/phpstan/baselines/booleanAnd.leftAlwaysTrue.neon
r63023 r63542 33 33 identifier: booleanAnd.leftAlwaysTrue 34 34 count: 1 35 path: ../../../src/wp-includes/block-template-utils.php36 -37 message: '#^Left side of && is always true\.$#'38 identifier: booleanAnd.leftAlwaysTrue39 count: 140 35 path: ../../../src/wp-includes/canonical.php 41 36 - -
trunk/tests/phpstan/baselines/booleanAnd.rightAlwaysTrue.neon
r63356 r63542 33 33 identifier: booleanAnd.rightAlwaysTrue 34 34 count: 1 35 path: ../../../src/wp-includes/block-supports/typography.php36 -37 message: '#^Right side of && is always true\.$#'38 identifier: booleanAnd.rightAlwaysTrue39 count: 140 path: ../../../src/wp-includes/class-wp-walker.php41 -42 message: '#^Right side of && is always true\.$#'43 identifier: booleanAnd.rightAlwaysTrue44 count: 145 35 path: ../../../src/wp-includes/functions.php
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)