Opened 8 years ago
Closed 8 years ago
#43388 closed defect (bug) (wontfix)
Long string without spaces in wptexturize() breaks layout in translation platform
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Text Changes | Keywords: | |
| Focuses: | Cc: |
Description
Whenever I open https://translate.wordpress.org/projects/wp/dev for translation, I get broken layout in the main core translation project.
(Yes, I've selected to show the whole translation project on one page, and this particular project always has a broken (non-responsive) layout.
The reason is a long string without any spaces in function wptexturize().
Namely:
’tain’t,’twere,’twas,’tis,’twill,’til,’bout,’nuff,’round,’cause,’em
String is used to populate cockneyreplace matrix.
Would it be possible to have that list separated by spaces, or comma and space, or use comma+space and then throw away the spaces before exploding into an array?
Location: https://core.trac.wordpress.org/browser/trunk/src/wp-includes/formatting.php?marks=141#L141
Attachments (1)
Change History (2)
#1
@
8 years ago
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
- Version 4.9.4 deleted
Closing as wontfix since it's just a UI issue which actually doesn't happen in Chrome but in Firefox.
There's already a related GlotPress issue: https://github.com/GlotPress/GlotPress-WP/issues/875
Screenshot of broken layout on translation platform