[wp-trac] [WordPress Trac] #32824: Consistent search fields between posts and terms
WordPress Trac
noreply at wordpress.org
Mon Jun 29 13:42:55 UTC 2015
#32824: Consistent search fields between posts and terms
------------------------------+-----------------------------
Reporter: ashworthcreative | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------------------
Searching for posts
[https://core.trac.wordpress.org/browser/tags/4.2.2/src/wp-
includes/query.php#L2091 currently checks] the `post_title` and
`post_content` fields, while
[https://core.trac.wordpress.org/browser/tags/4.2.2/src/wp-
includes/taxonomy.php#L1899 searching terms] checks the `name` and `slug`
fields. Could `post_name` be added to the where clause for posts, and
`description` be added to terms? That way, searching would consistently
check an entity's title, slug, and content.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32824>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list