Changeset 42061 for branches/4.4/src/wp-includes/post.php
- Timestamp:
- 10/31/2017 12:45:48 PM (9 years ago)
- Location:
- branches/4.4
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.4
- Property svn:mergeinfo changed
/trunk merged: 41662,42056
- Property svn:mergeinfo changed
-
branches/4.4/src/wp-includes/post.php
r36151 r42061 4089 4089 $page_path = str_replace('%20', ' ', $page_path); 4090 4090 $parts = explode( '/', trim( $page_path, '/' ) ); 4091 $parts = esc_sql( $parts );4092 4091 $parts = array_map( 'sanitize_title_for_query', $parts ); 4093 4094 $in_string = "'" . implode( "','", $parts ) . "'"; 4092 $escaped_parts = esc_sql( $parts ); 4093 4094 $in_string = "'" . implode( "','", $escaped_parts ) . "'"; 4095 4095 4096 4096 if ( is_array( $post_type ) ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)