[wp-trac] [WordPress Trac] #40930: Twenty Seventeen: Sharing buttons not showing with Video, Audio, or Gallery post format

WordPress Trac noreply at wordpress.org
Mon May 6 08:00:12 UTC 2024


#40930: Twenty Seventeen: Sharing buttons not showing with Video, Audio, or Gallery
post format
---------------------------------------------+-----------------------------
 Reporter:  chocopress                       |       Owner:  (none)
     Type:  defect (bug)                     |      Status:  new
 Priority:  normal                           |   Milestone:  Awaiting
                                             |  Review
Component:  Bundled Theme                    |     Version:
 Severity:  normal                           |  Resolution:
 Keywords:  needs-testing close 2nd-opinion  |     Focuses:
---------------------------------------------+-----------------------------
Changes (by poena):

 * keywords:  needs-testing close => needs-testing close 2nd-opinion


Comment:

 Or, I may be wrong and perhaps JetPack is working around the theme
 limitation.

 In twentyseventeen\template-parts\post\content-gallery.php, the theme uses
 the core function
 [https://developer.wordpress.org/reference/functions/get_post_gallery/
 get_post_gallery] which in turn uses
 [https://developer.wordpress.org/reference/functions/get_post_galleries/
 get_post_galleries], which **does** check for the gallery block. Both the
 new and old formats.

 Either way I am not able to reproduce the issue where the sharing buttons
 are not showing on the post formats.

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


More information about the wp-trac mailing list