Opened 10 years ago
Closed 10 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: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Networks and Sites | Version: | 4.6.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | multisite |
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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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 towp_get_sites()in WordPress core that will generate this message.