[wp-trac] [WordPress Trac] #39808: My Sites broken in 4.7.2
WordPress Trac
noreply at wordpress.org
Wed Feb 8 16:40:15 UTC 2017
#39808: My Sites broken in 4.7.2
--------------------------------+------------------------------
Reporter: earl.fogel | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version: 4.7.2
Severity: normal | Resolution:
Keywords: | Focuses: multisite
--------------------------------+------------------------------
Comment (by earl.fogel):
Hmm, I checked and they're not marked archived/spam/deleted. I also
disabled all plugins, but that didn't help.
I don't know what's going on, but I've found two ways to fix it:
1) Replace the get_blogs_of_user() function with the one from our previous
version of WordPress (4.6.1).
2) Alternatively, comment-out the lines in that function that do the
filtering, i.e.:
if ( ! empty( $site_ids ) ) {
$args = array(
'number' => '',
'site__in' => $site_ids,
);
if ( ! $all ) {
// $args['archived'] = 0;
// $args['spam'] = 0;
// $args['deleted'] = 0;
}
Could this be an issue with our PHP version? We currently run PHP 5.3.3.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39808#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list