Changeset 12657 for trunk/src/bp-activity/bp-activity-admin.php
- Timestamp:
- 05/16/2020 12:14:41 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-activity/bp-activity-admin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-admin.php
r12586 r12657 86 86 // Check that a reply has been entered. 87 87 if ( empty( $_REQUEST['content'] ) ) 88 die( __( 'E RROR: Please type a reply.', 'buddypress' ) );88 die( __( 'Error: Please type a reply.', 'buddypress' ) ); 89 89 90 90 // Check parent activity exists. 91 91 $parent_activity = new BP_Activity_Activity( $parent_id ); 92 92 if ( empty( $parent_activity->component ) ) 93 die( __( 'E RROR: The item you are trying to reply to cannot be found, or it has been deleted.', 'buddypress' ) );93 die( __( 'Error: The item you are trying to reply to cannot be found, or it has been deleted.', 'buddypress' ) ); 94 94 95 95 // @todo: Check if user is allowed to create new activity items
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)