Make WordPress Core

Ticket #23975: 23975.diff

File 23975.diff, 579 bytes (added by ruckus, 13 years ago)

Not a proposed fix, just showing a change that reverts to calling balanceTags but leaving the call after adding the more link.

  • wp-includes/post-template.php

     
    217217                } else {
    218218                        if ( ! empty($more_link_text) )
    219219                                $output .= apply_filters( 'the_content_more_link', ' <a href="' . get_permalink() . "#more-{$post->ID}\" class=\"more-link\">$more_link_text</a>", $more_link_text );
    220                         $output = force_balance_tags($output);
     220                        //$output = force_balance_tags($output);
     221                        $output = balanceTags($output);
    221222                }
    222223
    223224        }