Changeset 10008
- Timestamp:
- 07/10/2015 10:25:38 PM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-admin.php
r10005 r10008 1198 1198 array(), 1199 1199 $this->get_sortable_columns(), 1200 $this->get_primary_column_name(), 1200 1201 ); 1201 1202 1202 1203 return $this->_column_headers; 1204 } 1205 1206 /** 1207 * Get name of default primary column 1208 * 1209 * @since BuddyPress (2.3.3) 1210 * @access protected 1211 * 1212 * @return string 1213 */ 1214 protected function get_default_primary_column_name() { 1215 return 'author'; 1203 1216 } 1204 1217 -
trunk/src/bp-groups/bp-groups-admin.php
r10005 r10008 1294 1294 array(), 1295 1295 $this->get_sortable_columns(), 1296 $this->get_default_primary_column_name(), 1296 1297 ); 1297 1298 1298 1299 return $this->_column_headers; 1300 } 1301 1302 /** 1303 * Get name of default primary column 1304 * 1305 * @since BuddyPress (2.3.3) 1306 * @access protected 1307 * 1308 * @return string 1309 */ 1310 protected function get_default_primary_column_name() { 1311 // comment column is mapped to Group's name 1312 return 'comment'; 1299 1313 } 1300 1314 -
trunk/src/bp-members/admin/bp-members-admin-classes.php
r9877 r10008 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.