[wp-trac] [WordPress Trac] #27135: get_post_galleries breaks server connection

WordPress Trac noreply at wordpress.org
Fri Feb 21 20:07:31 UTC 2014


#27135: get_post_galleries breaks server connection
-------------------------------+------------------------------
 Reporter:  stratboy           |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Gallery            |     Version:  3.8.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  performance
-------------------------------+------------------------------
Changes (by ericlewis):

 * keywords:   => reporter-feedback


Comment:

 Can't reproduce. Works fine for me with one gallery attached to the post,
 using this quick debug code:

 {{{
 add_filter( 'the_content', 'check_get_post_galleries' );

 function check_get_post_galleries() {
         $a = get_post_galleries(null );
         var_dump( $a );
         die;
 }
 }}}

 @stratboy - do you have any more detail on this, can you still reproduce?
 If so, is there anything obvious that may be causing the error? E.g. are
 there 100 galleries attached to the post?

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


More information about the wp-trac mailing list