[wp-trac] [WordPress Trac] #20044: Enable search for pages by slug

WordPress Trac noreply at wordpress.org
Mon Apr 6 16:17:08 UTC 2026


#20044: Enable search for pages by slug
-------------------------+---------------------
 Reporter:  ekitomat     |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:
Component:  Query        |     Version:  3.7
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+---------------------

Comment (by kush123):

 == Test Report
 === Description
 ❌ No working patch available as existing patches (20044.diff →
 20044.5.diff are outdated)

 === Environment
 - WordPress: 7.1-alpha-62161-src
 - PHP: 8.2.28
 - Server: nginx/1.27.5
 - Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
 - Browser: Chrome 144.0.0.0
 - OS: macOS
 - Theme: Twenty Twenty 3.0
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0

 === Actual Results
 1.  ❌ Issue not resolved with the patch, and the issue is still present.

 === Steps to Reproduce
 - Navigate to Pages → Add New and create a page with the title "Slug
 Search Test" and the slug slug-search-test.
 - Publish the page.
 - Go to Pages → All Pages and enter slug-search-test into the search box.
 - Navigate to the site frontend and use the search widget to search for
 the same slug: slug-search-test.
 - 🐞 Bug occurs.

 === Supplemental Artifacts
 [[Image(https://core.trac.wordpress.org/raw-
 attachment/ticket/20044/Screenshot%202026-04-06%20at%209.37.12%E2%80%AFPM.png)]]

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


More information about the wp-trac mailing list