[wp-trac] [WordPress Trac] #41176: PHP DocBlock spilling into HTML/JS

WordPress Trac noreply at wordpress.org
Mon Jun 26 20:16:10 UTC 2017


#41176: PHP DocBlock spilling into HTML/JS
------------------------------------+-----------------------------
 Reporter:  chris@…                 |      Owner:
     Type:  defect (bug)            |     Status:  new
 Priority:  normal                  |  Milestone:  Awaiting Review
Component:  Login and Registration  |    Version:  4.8
 Severity:  normal                  |   Keywords:
  Focuses:                          |
------------------------------------+-----------------------------
 This is a follow-up to #40301. The original patch's PHP DocBlock
 commenting is outside of the PHP tags so it is appearing in the HTML
 source. The specific source section is JS so the browser just ignores it
 as a JS comment but it should probably be removed.

 The attached patch moves the comments back into PHP.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41176>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list