[wp-trac] [WordPress Trac] #25349: Can't retrieve calculated excerpt bound by <!--more--> on single page view

WordPress Trac noreply at wordpress.org
Mon Nov 17 15:36:27 UTC 2014


#25349: Can't retrieve calculated excerpt bound by <!--more--> on single page view
-------------------------------------+-----------------------------
 Reporter:  chriscoyier              |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Posts, Post Types        |     Version:  3.6.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  template
-------------------------------------+-----------------------------

Comment (by boonebgorges):

 NateWr - Thanks very much for the report. To be clear, the 'more'
 referenced in the comment is the `<!--more-->` tag, NOT the `$more`
 global. The assumption is that when someone puts `<!--more-->` into their
 post content, it means that they want the truncated version of their post
 content to appear everywhere except for (a) when looking at the item's
 permalink, or (b) when in the RSS feed - that is, the default would be to
 "respect" the intention of `<!--more-->`.

 I hadn't really thought about the case where plugins are modifying the
 `$more` global. Can you give more details about what your plugin is doing
 - both a description of what problem you're solving, and some technical
 details about how you were previously using the `$more` global to solve
 it? It would give a better sense of whether it's the kind of thing we
 should try to provide backward compatibility for.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/25349#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list