[wp-trac] [WordPress Trac] #52466: Deprecated wp_no_robots used

WordPress Trac noreply at wordpress.org
Mon Feb 8 07:16:18 UTC 2021


#52466: Deprecated wp_no_robots used
-------------------------------------+------------------------------
 Reporter:  ABCdatos                 |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:  trunk
 Severity:  minor                    |  Resolution:
 Keywords:  close reporter-feedback  |     Focuses:
-------------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => close reporter-feedback


Comment:

 Hi there, welcome to WordPress Trac! Thanks for the report.

 Does the issue still happen with all plugins disabled and a default theme
 (Twenty Twenty-One) activated?

 Even though the message points to `wp-includes/functions.php`, that's just
 where the [source:tags/5.6/src/wp-
 includes/functions.php?marks=4851-4860#L4841 _deprecated_function()]
 message is triggered and not where the function itself is called.

 As of [49992] / #51511, `wp_no_robots()` is no longer called anywhere in
 WordPress core, so the message most likely comes from a plugin or theme. I
 would suggest trying the [https://wordpress.org/support/forums/ support
 forums] if you need any further help in finding out where the deprecated
 call comes from.

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


More information about the wp-trac mailing list