Changeset 42060 for branches/4.5/src/wp-includes/post.php
- Timestamp:
- 10/31/2017 12:43:36 PM (8 years ago)
- Location:
- branches/4.5
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.5
- Property svn:mergeinfo changed
/trunk merged: 41662,42056
- Property svn:mergeinfo changed
-
branches/4.5/src/wp-includes/post.php
r37165 r42060 4233 4233 $page_path = str_replace('%20', ' ', $page_path); 4234 4234 $parts = explode( '/', trim( $page_path, '/' ) ); 4235 $parts = esc_sql( $parts );4236 4235 $parts = array_map( 'sanitize_title_for_query', $parts ); 4237 4238 $in_string = "'" . implode( "','", $parts ) . "'"; 4236 $escaped_parts = esc_sql( $parts ); 4237 4238 $in_string = "'" . implode( "','", $escaped_parts ) . "'"; 4239 4239 4240 4240 if ( is_array( $post_type ) ) {
Note: See TracChangeset
for help on using the changeset viewer.