[wp-trac] [WordPress Trac] #65005: Next/Previous for datepicker needs context
WordPress Trac
noreply at wordpress.org
Tue Apr 7 16:00:14 UTC 2026
#65005: Next/Previous for datepicker needs context
-------------------------------------------------+-------------------------
Reporter: timse201 | Owner:
| SergeyBiryukov
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 7.0
Component: I18N | Version:
Severity: normal | Resolution:
Keywords: has-patch commit dev-reviewed i18n- | Focuses:
change |
-------------------------------------------------+-------------------------
Comment (by gaisma22):
== Patch Testing Report
Patch Tested: https://github.com/WordPress/wordpress-develop/pull/11412
=== Environment
- WordPress: 7.0-beta6-62085-src
- PHP: 8.3.30
- Server: nginx/1.29.7
- Database: MySQL 8.4.8
- Browser: Brave
- OS: Ubuntu 24.04
- Theme: Twenty Twenty-Five 1.4
- MU Plugins: None
- Plugins: None
=== Steps Taken
1. Applied PR #11412.
2. Opened Posts > Add New and clicked the publish date field
to open the datepicker.
3. Clicked Next and Previous buttons to navigate between months.
Both buttons worked correctly.
✅ Patch is solving the problem
=== Expected Result
The datepicker Next and Previous buttons should function correctly
after the i18n context strings are added.
=== Additional Notes
1. This is a pure i18n change. No visual difference is expected.
The strings `Next` and `Previous` now use `_x()` with translator
context instead of `__()`, helping translators in languages where
context determines the correct word.
2. Datepicker navigation confirmed working on WordPress 7.0-beta6.
=== Screenshots
[[Image(https://i.ibb.co/jvXTKGkr/datepicker-working.png)]]
[[Image(https://i.ibb.co/ks6xV3ZW/after-datepicker.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65005#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list