Changeset 8085 for trunk/bp-activity/bp-activity-admin.php
- Timestamp:
- 03/08/2014 08:05:32 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/bp-activity/bp-activity-admin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-admin.php
r8030 r8085 763 763 764 764 // Sort array by the human-readable value 765 natsort( $actions ); ?> 765 natsort( $actions ); 766 767 // If the activity type is not registered properly (eg, a plugin has 768 // not called bp_activity_set_action()), add the raw type to the end 769 // of the list 770 if ( ! isset( $actions[ $selected ] ) ) { 771 _doing_it_wrong( __FUNCTION__, sprintf( __( 'This activity item has a type (%s) that is not registered using bp_activity_set_action(), so no label is available.', 'buddypress' ), $selected ), '2.0.0' ); 772 $actions[ $selected ] = $selected; 773 } 774 775 ?> 766 776 767 777 <select name="bp-activities-type">
Note: See TracChangeset
for help on using the changeset viewer.