[wp-trac] [WordPress Trac] #25349: Can't retrieve calculated excerpt bound by <!--more--> on single page view
WordPress Trac
noreply at wordpress.org
Wed Oct 9 07:08:41 UTC 2013
#25349: Can't retrieve calculated excerpt bound by <!--more--> on single page view
-------------------------+------------------------------
Reporter: chriscoyier | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.6.1
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------------
Comment (by nacin):
Basically, the_excerpt() should do internally what my gist above does. It
should set $more to 0, then reset it to its original value when done.
These globals is some of the oldest code in core, dating back a decade.
Lame, but a quick adjustment at least solves the problem here, until one
day in the next few releases when we rewrite a lot of this code (we were
close to doing so in 3.6).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25349#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list