[wp-trac] [WordPress Trac] #38267: debug not reporting wp_footer() missing

WordPress Trac noreply at wordpress.org
Sun Oct 9 05:41:05 UTC 2016


#38267: debug not reporting wp_footer() missing
-------------------------+-----------------------------
 Reporter:  Brandora     |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:  4.6.1
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 hi i recently came across a problem (my fault) because i accidentally
 deleted wp_footer() out of the code before the ending </body> tag and one
 of my plugins did not function. the developer of the plugin (mihai from
 wpbruiser which rules btw) is the one that pointed this out to me.

 i feel like if i have set wp_debug to true in the config and our theme or
 setup is missing the function wp_footer() in the code the debug should
 alert the user about this. from my perspective, i had 0 errors and thought
 my code was tight as a german virgin haha. however, i am new to wordpress
 development but i am not new to web development...coming from asp/asp.net
 background. if the debug mode had reported this it seems it wouldve saved
 me a lot of time/communication with the plugin developer which had
 literally nothing to do with this issue. this isnt a bug report but
 something i think is very important to developers working in your platform
 as something as simple as having the wp_footer missing seems like it would
 throw some errors. something to consider.

 thanks,
 brandon

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


More information about the wp-trac mailing list