Changeset 63347
- Timestamp:
- 08/25/2026 10:27:47 PM (17 hours ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
src/wp-includes/canonical.php (modified) (1 diff)
-
tests/phpunit/tests/functions/wpGetArchives.php (modified) (1 diff)
-
tests/phpunit/tests/script-modules/wpScriptModules.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/canonical.php
r63060 r63347 987 987 return false; 988 988 } 989 $where .= " AND post_type IN ('" . join( "', '", esc_sql( $post_types ) ) . "')";989 $where .= " AND post_type IN ('" . implode( "', '", esc_sql( $post_types ) ) . "')"; 990 990 } else { 991 991 if ( ! in_array( get_query_var( 'post_type' ), $publicly_viewable_post_types, true ) ) { -
trunk/tests/phpunit/tests/functions/wpGetArchives.php
r61519 r63347 221 221 $ids = array_slice( array_reverse( self::$post_ids ), 0, 3 ); 222 222 223 $expected = join(223 $expected = implode( 224 224 '', 225 225 array_map( -
trunk/tests/phpunit/tests/script-modules/wpScriptModules.php
r62807 r63347 487 487 $key_parts[] = sprintf( '%s_%s', $param_name, json_encode( $param_value ) ); 488 488 } 489 $data[ join( '_', $key_parts ) ] = $test_case;489 $data[ implode( '_', $key_parts ) ] = $test_case; 490 490 } 491 491 }
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)