WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#12764 closed defect (bug) (duplicate)

filter posts_where

Reported by: hunk Owned by: ryan
Priority: normal Milestone:
Component: Query Version: 3.0
Severity: normal Keywords: filter
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)

comment:1 hunk3 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

comment:2 scribu3 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.