Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#12764 closed defect (bug) (duplicate)

filter posts_where

Reported by: hunk's profile hunk Owned by: ryan's profile ryan
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Query Keywords: filter
Focuses: Cc:

Description

I am testing a plug-in in version 3.0-beta and posts_where filter is not working.

my code

add_filter('posts_where', array('RCCWP_Menu', 'FilterPostsPagesList'));

if you enter the function, but the query apparently took place before.

This filter has been replaced?

Change History (2)

#1 @hunk
15 years ago

Update:

I have 3 filters that use posts_where, if two of them commented one (third) works correctly. but when two of them are uncommented do not properly filter

#2 @scribu
15 years ago

  • Milestone Unassigned deleted
  • Resolution set to duplicate
  • Status changed from new to closed

see #12723

Note: See TracTickets for help on using tickets.