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

WordPress Trac noreply at wordpress.org
Sun Oct 9 09:31:01 UTC 2016


#38267: debug not reporting wp_footer() missing
-------------------------+------------------------
 Reporter:  Brandora     |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Themes       |     Version:  4.6.1
 Severity:  normal       |  Resolution:  duplicate
 Keywords:               |     Focuses:
-------------------------+------------------------
Changes (by swissspidy):

 * status:  new => closed
 * resolution:   => duplicate
 * component:  General => Themes
 * milestone:  Awaiting Review =>


Old description:

> 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

New description:

 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 solid. 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

--

Comment:

 Hey there,

 Thanks for your report and welcome to WordPress Trac!

 I'm closing this one as a duplicate of #14752 where we're already tracking
 this issue. Even if that ticket is closed, discussion can continue there.

 Also, I want to let you know that using such language (my code was…) is
 really inappropriate.

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


More information about the wp-trac mailing list