[wp-trac] [WordPress Trac] #54933: use deprecated method on change switch theme.

WordPress Trac noreply at wordpress.org
Wed Jan 26 17:19:52 UTC 2022


#54933: use deprecated method on change switch theme.
--------------------------+-----------------------------
 Reporter:  rezazx        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 in wp 5.9.0 on change theme in get this message :

 Deprecated: WP_User_Query was called with an argument that is
 <strong>deprecated</strong> since version 5.9.0! <code>who</code> is
 deprecated. Use <code>capability</code> instead. in C:\wamp64\www
 \*****\wp-includes\functions.php on line 5600


 ------------
 I search for this and  I found \wp-content\plugins\wordpress-seo\admin
 \class-admin.php on line 303 use 'who' in switch_theme() function ....

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


More information about the wp-trac mailing list