WordPress.org

Make WordPress Core

Changeset 11398


Ignore:
Timestamp:
05/19/2009 04:03:11 PM (11 years ago)
Author:
ryan
Message:

Add more link and then force_balance_tags. Props Denis-de-Bernardy. fixes #9765

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-template.php

    r11370 r11398  
    223223            $output .= '<span id="more-' . $id . '"></span>' . $content[1];
    224224        } else {
    225             $output = balanceTags($output);
    226225            if ( ! empty($more_link_text) )
    227226                $output .= apply_filters( 'the_content_more_link', ' <a href="' . get_permalink() . "#more-$id\" class=\"more-link\">$more_link_text</a>", $more_link_text );
     227            $output = force_balance_tags($output);
    228228        }
    229229
Note: See TracChangeset for help on using the changeset viewer.