src/Messages/AtMentionMessage.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 29-35 (lines=7) @@ | 
                                                            
                                    | 26 |  | 	 * | 
                                                            
                                    | 27 |  | 	 * @return string | 
                                                            
                                    | 28 |  | 	 */ | 
                                                            
                                    | 29 |  | 	public function message() { | 
                                                            
                                    | 30 |  | 		if ( $this->data['total'] > 1 ) { | 
                                                            
                                    | 31 |  | 			return sprintf( 'You have %1$d new mentions', (int) $this->data['total'] ); | 
                                                            
                                    | 32 |  | 		} | 
                                                            
                                    | 33 |  |  | 
                                                            
                                    | 34 |  | 		return sprintf( '%1$s mentioned you', bp_core_get_user_displayname( $this->data['user_id' ] ) ); | 
                                                            
                                    | 35 |  | 	} | 
                                                            
                                    | 36 |  |  | 
                                                            
                                    | 37 |  | 	/** | 
                                                            
                                    | 38 |  | 	 * Get message URL. | 
                                                                        
                 
                                                            
                    
src/Messages/CommentReplyMessage.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 22-28 (lines=7) @@ | 
                                                            
                                    | 19 |  | 	 * | 
                                                            
                                    | 20 |  | 	 * @return string | 
                                                            
                                    | 21 |  | 	 */ | 
                                                            
                                    | 22 |  | 	public function message() { | 
                                                            
                                    | 23 |  | 		if ( $this->data['total'] > 1 ) { | 
                                                            
                                    | 24 |  | 			return sprintf( 'You have %1$d new comment replies', (int) $this->data['total'] ); | 
                                                            
                                    | 25 |  | 		} | 
                                                            
                                    | 26 |  |  | 
                                                            
                                    | 27 |  | 		return sprintf( '%1$s replied to one your activity comments', bp_core_get_user_displayname( $this->data['user_id' ] ) ); | 
                                                            
                                    | 28 |  | 	} | 
                                                            
                                    | 29 |  | } | 
                                                            
                                    | 30 |  |  | 
                                                                        
                 
                                                            
                    
src/Messages/UpdateReplyMessage.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 29-35 (lines=7) @@ | 
                                                            
                                    | 26 |  | 	 * | 
                                                            
                                    | 27 |  | 	 * @return string | 
                                                            
                                    | 28 |  | 	 */ | 
                                                            
                                    | 29 |  | 	public function message() { | 
                                                            
                                    | 30 |  | 		if ( $this->data['total'] > 1 ) { | 
                                                            
                                    | 31 |  | 			return sprintf( 'You have %d new replies', (int) $this->data['total'] ); | 
                                                            
                                    | 32 |  | 		} | 
                                                            
                                    | 33 |  |  | 
                                                            
                                    | 34 |  | 		return sprintf( '%s commented on one of your updates', bp_core_get_user_displayname( $this->data['user_id' ] ) ); | 
                                                            
                                    | 35 |  | 	} | 
                                                            
                                    | 36 |  |  | 
                                                            
                                    | 37 |  | 	/** | 
                                                            
                                    | 38 |  | 	 * Get message URL. |