[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:54:47 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  |
------------------------------+----------------------
Changes (by slaffik):

 * owner:  (none) => slaffik
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"12826" 12826]:
 {{{
 #!CommitTicketReference repository="" revision="12826"
 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.

 Fixes #8414 (Trunk)
 }}}

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


More information about the buddypress-trac mailing list