[wp-trac] [WordPress Trac] #32521: Document First Call to wptexturize()

WordPress Trac noreply at wordpress.org
Thu May 28 23:53:51 UTC 2015

#32521: Document First Call to wptexturize()
 Reporter:  miqrogroove  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  4.3
Component:  Formatting   |    Version:
 Severity:  normal       |   Keywords:  needs-patch needs-codex wptexturize
  Focuses:  docs         |
 Following up to #32380 with a quick search of documents found no obvious
 clues as to when a plugin is allowed to call `wptexturize()`.

 Under the hood, I can see that due to extensive use of static variables,
 it is important plugin authors don't trigger the function before the
 translation function `_x()` is initialized.

 This needs a small documentation improvement.

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

More information about the wp-trac mailing list