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

WordPress Trac noreply at wordpress.org
Thu Dec 12 11:13:48 UTC 2024


#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:  needs-patch has-testing-info  |     Focuses:
------------------------------------------+------------------------------

Comment (by parthvataliya):

 == Reproduction Report
 === Description
 This report validates whether the issue can be reproduced.

 === Environment
 - WordPress: 6.8-alpha-59274-src
 - PHP: 8.2.26
 - Server: nginx/1.27.3
 - Database: mysqli (Server: 8.0.40 / Client: mysqlnd 8.2.26)
 - Browser: Chrome 131.0.0.0
 - OS: Linux
 - Theme: Twenty Twenty-One 2.4
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0

 === Actual Results
 1.  ✅ Error condition occurs (reproduced).

 === Additional Notes
 - When we deselect an applied filter or select another filter instantly,
 this issue is reproduced because there is a condition, such as
 {{{section.loading}}} being true, in the {{{initializeNewQuery}}},
 {{{filtersChecked}}}, and {{{loadThemes}}} functions. This indicates
 whether the theme section is fully loaded or not.

 - To address this, we could consider adding a loader when a filter is
 selected or deselected. However, this might frustrate end-users by making
 them wait to deselect a filter or select another option. If anyone has
 suggestions on how to handle this scenario more efficiently, please share
 your ideas.

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


More information about the wp-trac mailing list