Ticket #19576: 19576.2.diff
| File 19576.2.diff, 943 bytes (added by mdawaffe, 17 months ago) |
|---|
-
wp-includes/formatting.php
1012 1012 /** 1013 1013 * Will only balance the tags if forced to and the option is set to balance tags. 1014 1014 * 1015 * The option 'use_balanceTags' is used for whether the tags will be balanced. 1016 * Both the $force parameter and 'use_balanceTags' option will have to be true 1017 * before the tags will be balanced. 1015 * The option 'use_balanceTags' is used to determine whether the tags will be balanced. 1018 1016 * 1019 1017 * @since 0.71 1020 1018 * 1021 1019 * @param string $text Text to be balanced 1022 * @param bool $force Forces balancing, ignoring the value of the option. Default false.1020 * @param bool $force If true, forces balancing, ignoring the value of the option. Default false. 1023 1021 * @return string Balanced text 1024 1022 */ 1025 1023 function balanceTags( $text, $force = false ) {
