Changes between Initial Version and Version 1 of Ticket #23329
- Timestamp:
- 01/30/2013 09:08:53 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23329 – Description
initial v1 2 2 3 3 The example in the Codex is even wrong: 4 4 {{{ 5 5 add_action( 'pre_get_posts', 'foo_modify_query_exclude_category' ); 6 6 … … 9 9 $query->set( 'cat', '-5' ); 10 10 } 11 11 }}} 12 12 I propose deprecating the function as an encouragement for users to refer to the query object method instead.