[wp-trac] [WordPress Trac] #50477: Description of $br for wpautop()

WordPress Trac noreply at wordpress.org
Fri Jun 26 09:19:12 UTC 2020


#50477: Description of $br for wpautop()
--------------------------+-----------------------------
 Reporter:  stevenlinx    |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.5
Component:  Formatting    |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  ui
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48174" 48174]:
 {{{
 #!CommitTicketReference repository="" revision="48174"
 Docs: Add a note that the `$br` parameter of `wpautop()` does not affect
 line breaks within `<script>`, `<style>`, and `<svg>` tags.

 Props stevenlinx.
 Fixes #50477.
 }}}

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


More information about the wp-trac mailing list