[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
Sat Dec 12 21:51:41 UTC 2020


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

Comment (by slaFFik):

 In this case, I suggest to leave the improvement I made in the 1st patch,
 but also hide the checkbox completely if not on Multisite. So direct call
 to a function will return an expected array with a "Failed" text, but by
 default, the checkbox won't be displayed on the Tools page at all on a
 regular WP installation. Sounds good?

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


More information about the buddypress-trac mailing list