[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 09:40:57 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 dd32):

 Replying to [comment:27 dd32]:
 > I have to kind-of agree with not reverting this.

 This was written without realising that the Bundled themes were also
 affected by this, which downright sucks :)

 It's going to mean that some people who have done work to fix it will have
 only done it for a short-term relief, but hopefully changing it back
 doesn't affect them too much.

 I'm going to backtrack and agree with reverting, with the intention that
 this is brought back in 5.0 in a backwards-compatible manner.
 That may mean going against #8776 which deprecated multiple functions in
 preference for `the_author_meta( 'description' )` and instead deprecating
 `the_author_meta( 'description' )` in preference for a new similarly named
 `the_author_description()` type function which does output `<p>` tags
 deliberately from inception.

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


More information about the wp-trac mailing list