Changeset 42059 for branches/4.6/src/wp-includes/post.php
- Timestamp:
- 10/31/2017 12:40:24 PM (7 years ago)
- Location:
- branches/4.6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.6
- Property svn:mergeinfo changed
/trunk merged: 41662,42056
- Property svn:mergeinfo changed
-
branches/4.6/src/wp-includes/post.php
r38264 r42059 4131 4131 $page_path = str_replace('%20', ' ', $page_path); 4132 4132 $parts = explode( '/', trim( $page_path, '/' ) ); 4133 $parts = esc_sql( $parts );4134 4133 $parts = array_map( 'sanitize_title_for_query', $parts ); 4135 4136 $in_string = "'" . implode( "','", $parts ) . "'"; 4134 $escaped_parts = esc_sql( $parts ); 4135 4136 $in_string = "'" . implode( "','", $escaped_parts ) . "'"; 4137 4137 4138 4138 if ( is_array( $post_type ) ) {
Note: See TracChangeset
for help on using the changeset viewer.