[buddypress-trac] [BuddyPress Trac] #7312: Don't show the sorting box and the meta information

buddypress-trac noreply at wordpress.org
Tue Nov 1 17:01:24 UTC 2016


#7312: Don't show the sorting box and the meta information
-------------------------+------------------
 Reporter:  mchansy      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  2.8
Component:  Groups       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------

Comment (by hnla):

 I think `isset()` is a better check.

 This is likely a technicality but looking at things think in a way BP only
 avoids an error as the widget is loaded into a sidebar and then auto saved
 if it weren't then things like `$instance['title']` would throw an
 undefined index too.

 I'm thinking that really those widgets need to set default args earlier
 and parse with $instance[]?

 I may be reading this incorrectly though! :)

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


More information about the buddypress-trac mailing list