[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
Thu Mar 27 22:00:05 UTC 2014
#25335: Twenty Thirteen: plugins cannot filter `the_content` for Gallery post
format on index views
-----------------------------+------------------------------
Reporter: RDall | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 3.6
Severity: normal | Resolution:
Keywords: close has-patch | Focuses:
-----------------------------+------------------------------
Comment (by nacin):
I don't think this is the intended use of get_post_gallery() — I mean, I
guess it is, but I would have expected the_content() to be used here.
get_post_gallery() is more of a utility, which is partially why there
isn't a the_* variant. Is there a compelling reason to avoid the_content()
here?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25335#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list