[wp-trac] [WordPress Trac] #25537: get_post_gallery() adds duplicate <br to the end, resulting in extra blank space

WordPress Trac noreply at wordpress.org
Sat Mar 29 00:11:18 UTC 2014


#25537: get_post_gallery() adds duplicate <br to the end, resulting in extra blank
space
---------------------------------------------+---------------------
 Reporter:  sgr33n                           |       Owner:  drozdz
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  3.9
Component:  Gallery                          |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  good-first-bug has-patch commit  |     Focuses:
---------------------------------------------+---------------------

Comment (by GaryJ):

 Could the line break markup be wrapped in a filter, so we could
 `__return_empty()` if we know a theme is happy to apply the relevant CSS
 itself?

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


More information about the wp-trac mailing list