WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#38230 closed defect (bug) (worksforme)

wp_get_sites still in use in /wp-includes/functions.php on line 3707; bloating error logs

Reported by: snowboardmommy Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.6.1
Component: Networks and Sites Keywords:
Focuses: multisite Cc:
PR Number:

Description

Since upgrading to Multisite 4.6.1, my error logs are getting bloated with this error message:

wp_get_sites is <strong>deprecated</strong> since version 4.6.0! Use get_sites() instead. in .../wp-includes/functions.php on line 3707

I could not find a ticket similar to this that was still open.

Change History (1)

#1 @jeremyfelt
3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Hi @snowboardmommy, thanks for opening a ticket.

The notice in your error logs is appearing because a plugin or theme is using wp_get_sites(). You may want to try a plugin such as Query Monitor or support via the forums to determine which plugin it is. There are no existing calls to wp_get_sites() in WordPress core that will generate this message.

Note: See TracTickets for help on using tickets.