Changeset 42058 for branches/4.7/src/wp-includes/post.php
- Timestamp:
- 10/31/2017 12:33:25 PM (2 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
- Property svn:mergeinfo changed
/trunk merged: 41662,42056
- Property svn:mergeinfo changed
-
branches/4.7/src/wp-includes/post.php
r39629 r42058 4242 4242 $page_path = str_replace('%20', ' ', $page_path); 4243 4243 $parts = explode( '/', trim( $page_path, '/' ) ); 4244 $parts = esc_sql( $parts );4245 4244 $parts = array_map( 'sanitize_title_for_query', $parts ); 4246 4247 $in_string = "'" . implode( "','", $parts ) . "'"; 4245 $escaped_parts = esc_sql( $parts ); 4246 4247 $in_string = "'" . implode( "','", $escaped_parts ) . "'"; 4248 4248 4249 4249 if ( is_array( $post_type ) ) {
Note: See TracChangeset
for help on using the changeset viewer.