Changeset 36625 for trunk/src/wp-includes/query.php
- Timestamp:
- 02/23/2016 02:20:28 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/query.php
r36566 r36625 4203 4203 } 4204 4204 4205 $attachment = (array) $attachment;4205 $attachment = array_map( 'strval', (array) $attachment ); 4206 4206 4207 4207 $post_obj = $this->get_queried_object(); … … 4237 4237 $author_obj = $this->get_queried_object(); 4238 4238 4239 $author = (array) $author;4239 $author = array_map( 'strval', (array) $author ); 4240 4240 4241 4241 if ( in_array( (string) $author_obj->ID, $author ) ) … … 4269 4269 $cat_obj = $this->get_queried_object(); 4270 4270 4271 $category = (array) $category;4271 $category = array_map( 'strval', (array) $category ); 4272 4272 4273 4273 if ( in_array( (string) $cat_obj->term_id, $category ) ) … … 4301 4301 $tag_obj = $this->get_queried_object(); 4302 4302 4303 $tag = (array) $tag;4303 $tag = array_map( 'strval', (array) $tag ); 4304 4304 4305 4305 if ( in_array( (string) $tag_obj->term_id, $tag ) ) … … 4503 4503 $page_obj = $this->get_queried_object(); 4504 4504 4505 $page = (array) $page;4505 $page = array_map( 'strval', (array) $page ); 4506 4506 4507 4507 if ( in_array( (string) $page_obj->ID, $page ) ) { … … 4596 4596 $post_obj = $this->get_queried_object(); 4597 4597 4598 $post = (array) $post;4598 $post = array_map( 'strval', (array) $post ); 4599 4599 4600 4600 if ( in_array( (string) $post_obj->ID, $post ) ) {
Note: See TracChangeset
for help on using the changeset viewer.