[wp-trac] [WordPress Trac] #20487: Comment search isn't customizable
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 19 21:55:45 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 brokentone):
There already is a list of allowed columns supplied as the second argument
to get_search_sql, which I am checking against. If it fails, it executes a
normal search. They are appended together for the normal search behavior.
Passed both search_field and search_type as parameters to the method now
rather than using the class reference, fixed my spaces vs. tabs, and
removed the UI.
Please take another look.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20487#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list