Changeset 42062 for branches/4.3/src/wp-includes/post.php
- Timestamp:
- 10/31/2017 12:48:20 PM (8 years ago)
- Location:
- branches/4.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.3
- Property svn:mergeinfo changed
/trunk merged: 41662,42056
- Property svn:mergeinfo changed
-
branches/4.3/src/wp-includes/post.php
r33630 r42062 4294 4294 $page_path = str_replace('%20', ' ', $page_path); 4295 4295 $parts = explode( '/', trim( $page_path, '/' ) ); 4296 $parts = esc_sql( $parts );4297 4296 $parts = array_map( 'sanitize_title_for_query', $parts ); 4298 4299 $in_string = "'" . implode( "','", $parts ) . "'"; 4297 $escaped_parts = esc_sql( $parts ); 4298 4299 $in_string = "'" . implode( "','", $escaped_parts ) . "'"; 4300 4300 4301 4301 if ( is_array( $post_type ) ) {
Note: See TracChangeset
for help on using the changeset viewer.