[wp-trac] [WordPress Trac] #42140: Incorrect use of plural in class-wp-customize-themes-section.php
WordPress Trac
noreply at wordpress.org
Tue Feb 3 17:35:27 UTC 2026
#42140: Incorrect use of plural in class-wp-customize-themes-section.php
------------------------------------+-----------------------------
Reporter: tobifjellner | Owner: SergeyBiryukov
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: Future Release
Component: Customize | Version: 4.9
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses: javascript
------------------------------------+-----------------------------
Changes (by huzaifaalmesbah):
* keywords: has-patch dev-feedback needs-testing => has-patch dev-feedback
Comment:
== Patch Testing Report ==
**Patch Tested:** https://github.com/WordPress/wordpress-develop/pull/9388
=== Environment ===
* WordPress: 7.0-alpha-61215-src (trunk)
* PHP: 8.2.30
* Server: nginx/1.29.4
* Database: mysqli (Server: 9.5.0 / Client: mysqlnd 8.2.30)
* Browser: Chrome 144.0.0.0
* OS: macOS
* Theme: Twenty Ten 4.5
* Plugins:
- Classic Editor 1.6.7
- Test Reports 1.2.1
=== Steps taken ===
1. Applied PR patch to local trunk install.
2. Opened Customizer → Themes Change.
3. Tested with only 1 installed theme.
4. Tested with multiple themes installed.
5. Observed theme count text while switching and filtering.
6. ✅ Patch is solving the problem
=== Expected result ===
* Correct singular/plural handling:
- 1 theme
- 2 themes
- 15 themes
* No duplicated strings
* Count updates dynamically
=== Screenshots/Screencast with results
|| Before Apply Patch || After Apply Patch ✅ ||
|| [[Image(https://i.ibb.co/S7dC7CP6/Huzaifa-20260203231402.png)]] ||
[[Image(https://i.ibb.co/Cp1SM6hV/Huzaifa-20260203231611.png)]] ||
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42140#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list