Changeset 42057 for branches/4.8/src/wp-includes/post.php
- Timestamp:
- 10/31/2017 12:22:07 PM (9 years ago)
- Location:
- branches/4.8
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.8
- Property svn:mergeinfo changed
/trunk merged: 41662,42056
- Property svn:mergeinfo changed
-
branches/4.8/src/wp-includes/post.php
r40516 r42057 4247 4247 $page_path = str_replace('%20', ' ', $page_path); 4248 4248 $parts = explode( '/', trim( $page_path, '/' ) ); 4249 $parts = esc_sql( $parts );4250 4249 $parts = array_map( 'sanitize_title_for_query', $parts ); 4251 4252 $in_string = "'" . implode( "','", $parts ) . "'"; 4250 $escaped_parts = esc_sql( $parts ); 4251 4252 $in_string = "'" . implode( "','", $escaped_parts ) . "'"; 4253 4253 4254 4254 if ( is_array( $post_type ) ) {
Note: See TracChangeset
for help on using the changeset viewer.