[wp-trac] [WordPress Trac] #56679: get_post_gallery_images() Does not return images if the gallery shortcode has type="slideshow"

WordPress Trac noreply at wordpress.org
Wed Sep 28 17:06:00 UTC 2022


#56679: get_post_gallery_images() Does not return images if the gallery shortcode
has type="slideshow"
--------------------------+------------------------------
 Reporter:  MaFt          |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  6.0.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by joyously):

 The core gallery shortcode does not handle a `type` parameter, but having
 one should not affect the output.
 https://developer.wordpress.org/reference/functions/gallery_shortcode/
 However, the gallery shortcode handler can be bypassed by a plugin using
 the 'post_gallery' filter.
 Please retest without plugins, to isolate the core code.

 for reference, the
 [https://developer.wordpress.org/reference/functions/get_post_gallery_images/
 get_post_gallery_images function]

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


More information about the wp-trac mailing list