Ticket #8236: 8236.patch
| File 8236.patch, 569 bytes (added by , 6 years ago) |
|---|
-
wp-content/plugins/trunk/src/bp-activity/classes/class-bp-activity-activity.php
263 263 return $this->errors; 264 264 } 265 265 266 if ( empty( $this->content ) ) { 267 $this->errors->add( 'bp_activity_missing_content', __( 'Please enter some content to post.', 'buddypress' ) ); 268 269 return $this->errors; 270 } 271 266 272 if ( empty( $this->component ) || empty( $this->type ) ) { 267 273 if ( 'bool' === $this->error_type ) { 268 274 return false;