[wp-trac] [WordPress Trac] #20487: Comment search isn't customizable
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 19 22:07:47 UTC 2012
#20487: Comment search isn't customizable
-----------------------------------+------------------------------
Reporter: brokentone | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 3.2.1
Severity: normal | Resolution:
Keywords: needs-patch has-patch |
-----------------------------------+------------------------------
Comment (by scribu):
The thing is that get_search_sql() was generic at some point. It's not
anymore, so it doesn't make sense to pass the whitelist as a parameter.
'search_fieled' should be called 'search_columns', to match WP_User_Query.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20487#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list