#61714 closed defect (bug) (fixed)
Text "None" disappeared from Align Display in WordPress 6.6
Reported by: | Marius84 | Owned by: | hellofromTonya |
---|---|---|---|
Milestone: | 6.6.2 | Priority: | high |
Severity: | major | Version: | 6.6 |
Component: | I18N | Keywords: | has-patch fixed-major commit dev-reviewed |
Focuses: | Cc: |
Description
None text disappeared from Align Display in WordPress 6.6
https://mariushosting.com/wp-content/uploads/2024/07/missing-text-none.png
Attachments (5)
Change History (16)
#2
@
5 months ago
- Keywords has-patch added; needs-patch removed
- Priority changed from normal to high
- Severity changed from normal to major
[58284] switched to contextual translation functions but missed adding echo
(or using _ex()
).
Adding media in Classic Editor or a Classic block
Add media: Attachment Display Settings section
- Alignment (line 843)
- Link To (line 870)
Edit gallery: Gallery Settings section
- Link To (line 955)
Insert from URL
- Align (line 1099)
- Link To (line 1116)
Replacing media in Classic Editor or a Classic block
Image details: Display Settings section
- Align (line 1163)
- Link To (line 1239)
Audio details
- Preload (line 1359)
Video details
- Preload (line 1458)
Possible additional edits
Line 955 has 'Media link target' for its context, and I think it should be the same for the other three "Link To" -> "None" options (lines 870, 1116, and 1239). If so, I could update the patch.
#3
@
5 months ago
I made another patch to reuse contextual translations from the block editor (GB34341, GB40273).
- 'Alignment option' (created for block alignment settings)
- 'Media item link option'
- 'Preload value'
#4
@
5 months ago
- Component changed from Media to I18N
Oops. The meta-boxes.php
file needs updating too. I'll still make two patches because editing the context is not as important or urgent as echoing the strings.
@
5 months ago
echo strings for link labels and media items, and reuse context from block editor translations
#5
@
5 months ago
To test the XFN labels, install and activate the Link Manager plugin.
#8
@
5 months ago
- Keywords fixed-major added
- Resolution fixed deleted
- Status changed from closed to reopened
Hi there, thanks for the ticket! Reopening for 6.6.2 consideration.
#9
@
5 months ago
- Keywords commit dev-reviewed added
- Owner changed from SergeyBiryukov to hellofromTonya
- Status changed from reopened to reviewing
adds
echo
or uses_ex()