[wp-trac] [WordPress Trac] #27856: gallery shortcode adding empty parapraphs when switching between text and visual editor

WordPress Trac noreply at wordpress.org
Tue Aug 12 19:22:04 UTC 2014


#27856: gallery shortcode adding empty parapraphs when switching between text and
visual editor
----------------------------+-----------------------
 Reporter:  robinroelofsen  |       Owner:
     Type:  defect (bug)    |      Status:  reopened
 Priority:  normal          |   Milestone:
Component:  Gallery         |     Version:  3.9
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+-----------------------

Comment (by yammy):

 wpautop is disabled in functions already, and i think the preserving
 plugins also turns this off. For all other tags there are no more <p>s,
 only for [gallery] they remain displaying.

 Why gallery is ignoring wpautop false from php? Does it have another <p>
 includer that ignores wpautop then? Where? ><

 []s

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


More information about the wp-trac mailing list