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: | tobifjellner | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Text Changes | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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
- Resolution → wontfix
- Status new → closed
- Version 4.9.4
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
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Screenshot of broken layout on translation platform