Make WordPress Core

Changes between Version 3 and Version 4 of Ticket #43867, comment 1


Ignore:
Timestamp:
04/26/2018 01:32:11 PM (5 years ago)
Author:
birgire
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43867, comment 1

    v3 v4  
    11That sounds like a useful feature.
    22
    3 For comparison, the way it's done in {{{WP_User_Query}}} is with the {{{search_columns}}} query argument 
     3For comparison, the way it's done in {{{WP_User_Query}}} is with the {{{search_columns}}} query argument:
    44
    55https://core.trac.wordpress.org/browser/tags/4.9.5/src/wp-includes/class-wp-user-query.php#L163
     
    3333https://core.trac.wordpress.org/browser/tags/4.9.5/src/wp-includes/class-wp-site-query.php#L502
    3434
    35 So taking a similar approach as above, we could support the {{{search_columns}}} query argument and the {{{post_search_columns}}} or {{{search_columns}}} filter.
     35So taking a similar approach as above, we could support:
    3636
     37- the {{{search_columns}}} query argument
     38- and the {{{post_search_columns}}} or {{{search_columns}}} filter.
     39