#2650 closed defect (bug) (duplicate)
rework balanceTags() so that it doesn't depend on a WP option
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.1 |
Component: | General | Keywords: | balanceTags has-patch |
Focuses: | Cc: |
Description
balanceTags() short-circuits and returns the text passed to it if the use_balanceTags option is turned off. This fix renames balanceTags() to wpbalancetags() and creates a new function with the old name of balanceTags() that performs the check, for full backwards compat. The new wpbalancetags() can now be used by plugins without having to turn the option on.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
balanceTags() fix