balanceTags() should not be option dependent
|Reported by:||mdawaffe||Owned by:|
As a formatting function, balanceTags() should do just that - balance the tags. It's behavior should not depend on the use_balanceTags option. Whether the function is *called* should depend on the option.
- makes balanceTags() option agnostic
- deprecates force_balance_tags()
- creates wp_balance_tags() which calls balanceTags() depending on the use_balanceTags option.
#2650 suggested the same and offered a patch that maintained backward compatibility. This patch is cleaner but breaks backward compatibility for some plugins. The older ticket was rejected, but I think the idea should be reconsidered (hence this ticket).