[wp-trac] [WordPress Trac] #32824: Consistent search fields between posts and terms

WordPress Trac noreply at wordpress.org
Fri Jan 23 17:10:08 UTC 2026


#32824: Consistent search fields between posts and terms
-------------------------------------------------+-------------------------
 Reporter:  ashworthcreative                     |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Posts, Post Types                    |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-patch has-unit-   |     Focuses:
  tests                                          |  administration
-------------------------------------------------+-------------------------
Changes (by huzaifaalmesbah):

 * keywords:  good-first-bug has-patch needs-testing has-unit-tests => good-
     first-bug has-patch has-unit-tests


Comment:

 == Patch Testing Report

 Patch Tested:
 https://core.trac.wordpress.org/attachment/ticket/32824/32824.post-slug-
 and-term-description-not-considered-for-search.patch

 === Environment
 - WordPress: 7.0-alpha-61215-src
 - PHP: 8.2.29
 - Server: nginx/1.29.4
 - Database: mysqli (Server: 8.4.7 / Client: mysqlnd 8.2.29)
 - Browser: Chrome 143.0.0.0
 - OS: macOS
 - Theme: Twenty Twenty-Two 2.1
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.1

 === Steps taken

 Post search (post slug)
 1. Created a new post with:
    - Title: Improving Admin Search Consistency
    - Content: This post discusses how search behavior in the WordPress
 admin can be made more consistent across different object types.
    - Slug: admin-search-consistency-enhancement
 2. Navigated to Posts → All Posts.
 3. Searched for "admin-search-consistency-enhancement".

 Category search (term description)
 4. Created a new category with:
    - Name: Admin Experience
    - Slug: admin-experience
    - Description: This category contains posts related to improvements in
 the WordPress administration interface, including search usability,
 content management workflows, and overall editorial experience.
 5. Navigated to Posts → Categories.
 6. Searched for "editorial experience".
 7. Repeated the above steps before and after applying the patch.
 8. ✅ Patch is solving the problem

 === Expected result
 - Post admin search returns results when the search term exists in the
 post title, slug (post_name), or content.
 - Category admin search returns results when the search term exists in the
 term name, slug, or description.
 - Search behavior is consistent across posts and terms by checking
 title/name, slug, and descriptive content.


 === Screenshots/Screencast with results
 - Screencast showing results before and after applying the patch:
   https://files.catbox.moe/r6um53.mp4

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/32824#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list