Opened 8 years ago
Closed 8 years ago
#32521 closed enhancement (fixed)
Document First Call to wptexturize()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.3 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Formatting | Keywords: | wptexturize has-patch |
Focuses: | docs | Cc: |
Description
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.
Attachments (1)
Change History (5)
This ticket was mentioned in Slack in #docs by miqrogroove. View the logs.
8 years ago
Note: See
TracTickets for help on using
tickets.
Patch uploaded.
Codex updated at http://codex.wordpress.org/Function_Reference/wptexturize