[wp-trac] [WordPress Trac] #50493: more detailed notice for register_rest_route
WordPress Trac
noreply at wordpress.org
Sun Jun 28 10:27:21 UTC 2020
#50493: more detailed notice for register_rest_route
-----------------------------+-----------------------------
Reporter: Lwangaman | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
After a few plugins on my website have received updates recently, I
started seeing hundreds of these notices on my backend:
{{{
Notice: register_rest_route was called incorrectly. Namespace must not
start or end with a slash. Please see Debugging in WordPress for more
information. (This message was added in version 5.4.2.) in
/var/www/vhosts/bibleget.io/httpdocs/wp-includes/functions.php on line
5167
}}}
Sure I can try disabling the plugins one at a time to find which one is
the culprit, but it would be helpful to know who is trying to call
register_rest_route() , it would make life that much easier and I can
contact the plugin author to let them know.
Would it be possible to give a little bit more of a stacktrace when giving
these notices?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50493>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list