Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#43388 closed defect (bug) (wontfix)

Long string without spaces in wptexturize() breaks layout in translation platform

Reported by: tobifjellner Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Text Changes Keywords:
Focuses: Cc:


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().

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)

2018-02-22.png (26.7 KB) - added by tobifjellner 4 years ago.
Screenshot of broken layout on translation platform

Download all attachments as: .zip

Change History (2)

4 years ago

Screenshot of broken layout on translation platform

#1 @ocean90
4 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

Note: See TracTickets for help on using tickets.