Changeset 64236
- Timestamp:
- 10/07/2026 09:36:26 PM (2 weeks ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
src/wp-includes/canonical.php (modified) (1 diff)
-
tests/phpstan/baselines/empty.variable.neon (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/canonical.php
r64073 r64236 457 457 458 458 if ( is_feed() && in_array( $feed, $wp_rewrite->feeds, true ) ) { 459 $addl_path = ! empty( $addl_path ) ? trailingslashit( $addl_path ) : '';460 461 459 if ( ! is_singular() && get_query_var( 'withcomments' ) ) { 462 460 $addl_path .= 'comments/'; -
trunk/tests/phpstan/baselines/empty.variable.neon
r63510 r64236 30 30 path: ../../../src/wp-admin/themes.php 31 31 - 32 message: '#^Variable \$addl_path in empty\(\) always exists and is always falsy\.$#'33 identifier: empty.variable34 count: 135 path: ../../../src/wp-includes/canonical.php36 -37 32 message: '#^Variable \$search in empty\(\) always exists and is not falsy\.$#' 38 33 identifier: empty.variable
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)