[buddypress-trac] [BuddyPress Trac] #8414: Tools > "Repair site tracking site icons" generates PHP Fatal error when not on Multisite

buddypress-trac noreply at wordpress.org
Fri Dec 18 12:55:57 UTC 2020


#8414: Tools > "Repair site tracking site icons" generates PHP Fatal error when
not on Multisite
------------------------------+----------------------
 Reporter:  slaFFik           |       Owner:  slaffik
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  7.1.0
Component:  Blogs             |     Version:  7.0.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+----------------------

Comment (by slaffik):

 In [changeset:"12827" 12827]:
 {{{
 #!CommitTicketReference repository="" revision="12827"
 Tools: add WP MultiSite checks for "Repair site tracking site icons"
 operation

 On regular sites checking and running the "Repair site tracking site
 icons" operation on the Tools > BuddyPress page generates a fatal error
 due to the `get_sites()` function usage, which is MultiSite specific. So,
 hide the operation on non-multisite and properly return an error when ran
 directly.

 See #8414 (Branch 7.0)
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8414#comment:7>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list