[wp-trac] [WordPress Trac] #47161: Do not break strings to avoid HTML tags in them

WordPress Trac noreply at wordpress.org
Mon May 6 22:41:41 UTC 2019


#47161: Do not break strings to avoid HTML tags in them
--------------------------+-----------------------------
 Reporter:  dimadin       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  I18N          |    Version:
 Severity:  normal        |   Keywords:  has-patch
  Focuses:                |
--------------------------+-----------------------------
 [44986] introduced sentence that was broken in two strings to accommodate
 link tag. This was corrected in [45099], however it was reverted in
 [45170].

 From what I see, this link should not have been here in the first place.
 In other tests, links are under `actions` key of the result array, not
 under `description`, and whole action sentence is link. This would remove
 need for placeholders in a string.

 In attached patch, I moved link to `actions` key and also simplified text
 of link (other external links here have no description about linked page).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47161>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list