[wp-trac] [WordPress Trac] #25335: Twenty Thirteen: plugins cannot filter `the_content` for Gallery post format on index views

WordPress Trac noreply at wordpress.org
Mon Jun 9 15:48:31 UTC 2014


#25335: Twenty Thirteen: plugins cannot filter `the_content` for Gallery post
format on index views
-----------------------------+----------------------
 Reporter:  RDall            |       Owner:
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Bundled Theme    |     Version:  3.6
 Severity:  normal           |  Resolution:  wontfix
 Keywords:  close has-patch  |     Focuses:
-----------------------------+----------------------

Comment (by SergeyBiryukov):

 Replying to [comment:27 obenland]:
 > I'd be very sad if we'd just display the content on index for gallery
 post formats.
 > ...
 > Additionally, changing it to `the_content()` would change the display of
 gallery posts on index for existing installs significantly, with no visual
 backwards compatibility.

 FWIW, `get_post_gallery()` extracts the gallery from post content, not
 from attached images.

 So changing it to `the_content()` would not remove the galleries, it would
 just add content.

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


More information about the wp-trac mailing list