[wp-trac] [WordPress Trac] #42578: PHP functions inside <p> tags creates new <p> tag, breaking the parent tag into two.

WordPress Trac noreply at wordpress.org
Tue Jan 9 13:51:12 UTC 2018


#42578: PHP functions inside <p> tags creates new <p> tag, breaking the parent tag
into two.
---------------------------------------------+-----------------------
 Reporter:  karthikeyankc                    |       Owner:
     Type:  defect (bug)                     |      Status:  new
 Priority:  normal                           |   Milestone:  4.9.2
Component:  Formatting                       |     Version:  4.9
 Severity:  normal                           |  Resolution:
 Keywords:  revert good-first-bug has-patch  |     Focuses:  template
---------------------------------------------+-----------------------

Comment (by plexusllc):

 >Let's get a new function

 Exactly.

 Revert this breaking change (and that reverting it has taken this long is
 the problem with all forms of "decisions by committee"), and then add the
 ability for publishers and theme builders to override the default behavior
 by opting in to new behavior which leaves the old default behavior alone
 if the new one is not intentionally used.

 That's what should have been done in the first place. That's what should
 be done now.

 And BTW as a "hard working" developer, I say this as someone who had to
 modify things on sites I manage when they broke in 4.9 and will have to
 re-modify again when this poorly thought-out change is finally reverted.

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


More information about the wp-trac mailing list