Changeset 63069 for branches/7.0
- Timestamp:
- 08/06/2026 03:59:20 PM (7 weeks ago)
- Location:
- branches/7.0
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/canonical.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/7.0
-
branches/7.0/src/wp-includes/canonical.php
r61136 r63069 986 986 return false; 987 987 } 988 $where .= " AND post_type IN ('" . join( "', '", esc_sql( get_query_var( 'post_type' )) ) . "')";988 $where .= " AND post_type IN ('" . join( "', '", esc_sql( $post_types ) ) . "')"; 989 989 } else { 990 990 if ( ! in_array( get_query_var( 'post_type' ), $publicly_viewable_post_types, true ) ) {
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)