Changeset 10007
- Timestamp:
- 07/10/2015 10:17:49 PM (9 years ago)
- Location:
- branches/2.3/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/src/bp-activity/bp-activity-admin.php
r10006 r10007 1198 1198 array(), 1199 1199 $this->get_sortable_columns(), 1200 $this->get_default_primary_column_name(), 1200 1201 ); 1201 1202 … … 1731 1732 return $tree; 1732 1733 } 1734 1735 /** 1736 * Get name of default primary column 1737 * 1738 * @since BuddyPress (2.3.3) 1739 * @access protected 1740 * 1741 * @return string 1742 */ 1743 protected function get_default_primary_column_name() { 1744 return 'author'; 1745 } 1733 1746 } -
branches/2.3/src/bp-groups/bp-groups-admin.php
r10006 r10007 1294 1294 array(), 1295 1295 $this->get_sortable_columns(), 1296 $this->get_default_primary_column_name(), 1296 1297 ); 1297 1298 … … 1705 1706 return apply_filters( 'bp_groups_admin_get_group_custom_column', '', $column_name, $item ); 1706 1707 } 1708 1709 /** 1710 * Get name of default primary column 1711 * 1712 * @since BuddyPress (2.3.3) 1713 * @access protected 1714 * 1715 * @return string 1716 */ 1717 protected function get_default_primary_column_name() { 1718 // comment column is mapped to Group's name 1719 return 'comment'; 1720 } 1707 1721 } -
branches/2.3/src/bp-members/admin/bp-members-admin-classes.php
r9877 r10007 207 207 $style = ''; 208 208 foreach ( $this->items as $userid => $signup_object ) { 209 210 // Avoid a notice error appearing since 4.3.0 211 if ( isset( $signup_object->id ) ) { 212 $signup_object->ID = $signup_object->id; 213 } 214 209 215 $style = ( ' class="alternate"' == $style ) ? '' : ' class="alternate"'; 210 216 echo "\n\t" . $this->single_row( $signup_object, $style ); … … 570 576 $style = ''; 571 577 foreach ( $this->items as $userid => $signup_object ) { 578 579 // Avoid a notice error appearing since 4.3.0 580 if ( isset( $signup_object->id ) ) { 581 $signup_object->ID = $signup_object->id; 582 } 583 572 584 $style = ( ' class="alternate"' == $style ) ? '' : ' class="alternate"'; 573 585 echo "\n\t" . $this->single_row( $signup_object, $style );
Note: See TracChangeset
for help on using the changeset viewer.