WordPress.org

Make WordPress Core

Opened 11 years ago

Last modified 11 years ago

#16730 closed defect (bug)

query_posts() problem with multiple tags since 3.1 update — at Version 3

Reported by: joshstauffer Owned by: scribu
Milestone: 3.1.1 Priority: normal
Severity: normal Version: 3.1
Component: General Keywords:
Focuses: Cc:

Description (last modified by scribu)

When I upgraded to 3.1 this query stopped working.

Does NOT return any results in 3.1:

query_posts( 'cat=8&tag=featured+hotels-and-motels' );

Returns expected results in 3.1:

$args = array (
	'cat' => 8,
	'tag_slug__and' => 'featured+hotels-and-motels',
);
query_posts( $args );

Another user with similar experience.

Change History (3)

#1 @nacin
11 years ago

  • Milestone changed from Awaiting Review to 3.1.1

3.1.1 for investigation.

#2 @scribu
11 years ago

  • Owner set to scribu
  • Status changed from new to accepted

#3 @scribu
11 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.