[wp-trac] [WordPress Trac] #62681: The theme count in Customizer > Change > WordPress.org Themes displays incorrect results

WordPress Trac noreply at wordpress.org
Tue Jan 20 06:49:18 UTC 2026


#62681: The theme count in Customizer > Change > WordPress.org Themes displays
incorrect results
-------------------------------------------------+-------------------------
 Reporter:  ankitkumarshah                       |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Customize                            |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-test-info has-patch has-         |     Focuses:
  screenshots                                    |
-------------------------------------------------+-------------------------
Changes (by ozgursar):

 * keywords:  has-test-info needs-testing has-patch => has-test-info has-
     patch has-screenshots


Comment:

 == Test Report
 === Description
 This report validates whether the indicated patch works as expected.

 Patch tested:
 https://core.trac.wordpress.org/attachment/ticket/62681/62681.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-One 2.7
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.1

 === Steps to Reproduce
 1. Select any classic theme
 2. Appearance > Customize
 3. Click Change button next to the Active Theme
 4. Select WordPress.org themes
 5. Note the number of themes found at the top (as of the time my testing
 8042)
 6. Click Filter themes
 7. Watch the number of themes found while clicking the filter checkboxes.
 8. Before applying patch, if you deselect a filter before the AJAX query
 properly completes, number of themes number may stay wrong.

 === Actual Results
 1. ✅ Issue resolved with patch.
 2. Deselecting a filter before the query completes does not cause issue
 and it always returns the correct number independent of when the checkbox
 is deselected.

 === Supplemental Artifacts
 Video before:
 https://files.catbox.moe/0u3fk8.mp4

 Video after:
 https://files.catbox.moe/re02nf.mp4

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


More information about the wp-trac mailing list