[wp-trac] [WordPress Trac] #24309: Add filters for get_post_galleries() and get_post_gallery()

WordPress Trac noreply at wordpress.org
Wed Jul 10 20:34:28 UTC 2013


#24309: Add filters for get_post_galleries() and get_post_gallery()
-------------------------------------+--------------------
 Reporter:  alexkingorg              |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  3.6
Component:  Gallery                  |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |
-------------------------------------+--------------------

Comment (by nacin):

 As said in IRC:
  * as long as passed args make sense, good for commit from me.
  * but: it does make me ask why get_post_gallery() does not call
 get_post_galleries().
  * if there is a filter in the latter, then the former really needs to
 wrap the latter.

 Going to look at this in concert with #24202 and a general audit of these
 functions.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24309#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list