Opened 9 years ago
Closed 9 years ago
#41917 closed defect (bug) (fixed)
Exclude more shortcodes in word counter
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.9 | Priority: | normal |
| Severity: | normal | Version: | 4.3 |
| Component: | Editor | Keywords: | has-patch |
| Focuses: | Cc: |
Description
Since #27386 shortcodes are ignored in the word counter. But due to the way how shortcodes are passed to JavaScript the counter only ignores shortcodes which are registered before the init hook (or with a lower priority on init).
Attached patch moves the localization into wp_just_in_time_script_localization() to get access to all shortcodes.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 41844: