|  | @@ 632-642 (lines=11) @@ | 
                                                            
                                    | 629 |  | 		} | 
                                                            
                                    | 630 |  |  | 
                                                            
                                    | 631 |  | 		// Stats | 
                                                            
                                    | 632 |  | 		if ( Jetpack::is_module_active( 'stats' ) ) { | 
                                                            
                                    | 633 |  | 			$wp_admin_bar->add_menu( array( | 
                                                            
                                    | 634 |  | 				'parent' => 'blog', | 
                                                            
                                    | 635 |  | 				'id'     => 'blog-stats', | 
                                                            
                                    | 636 |  | 				'title'  => esc_html__( 'Stats', 'jetpack' ), | 
                                                            
                                    | 637 |  | 				'href'   => 'https://wordpress.com/stats/' . esc_attr( $this->primary_site_slug ), | 
                                                            
                                    | 638 |  | 				'meta'   => array( | 
                                                            
                                    | 639 |  | 					'class' => 'mb-icon', | 
                                                            
                                    | 640 |  | 				), | 
                                                            
                                    | 641 |  | 			) ); | 
                                                            
                                    | 642 |  | 		} | 
                                                            
                                    | 643 |  |  | 
                                                            
                                    | 644 |  | 		// Add Calypso plans link and plan type indicator | 
                                                            
                                    | 645 |  | 		if ( is_user_member_of_blog( $current_user->ID ) ) { | 
                                                                                
                                |  | @@ 754-764 (lines=11) @@ | 
                                                            
                                    | 751 |  | 		) ); | 
                                                            
                                    | 752 |  |  | 
                                                            
                                    | 753 |  | 		// Comments | 
                                                            
                                    | 754 |  | 		if ( current_user_can( 'moderate_comments' ) ) { | 
                                                            
                                    | 755 |  | 			$wp_admin_bar->add_menu( array( | 
                                                            
                                    | 756 |  | 				'parent' => 'publish', | 
                                                            
                                    | 757 |  | 				'id'     => 'comments', | 
                                                            
                                    | 758 |  | 				'title'  => __( 'Comments' ), | 
                                                            
                                    | 759 |  | 				'href'   => 'https://wordpress.com/comments/' . esc_attr( $this->primary_site_slug ), | 
                                                            
                                    | 760 |  | 				'meta'   => array( | 
                                                            
                                    | 761 |  | 					'class' => 'mb-icon', | 
                                                            
                                    | 762 |  | 				), | 
                                                            
                                    | 763 |  | 			) ); | 
                                                            
                                    | 764 |  | 		} | 
                                                            
                                    | 765 |  |  | 
                                                            
                                    | 766 |  | 		// Testimonials | 
                                                            
                                    | 767 |  | 		if ( Jetpack::is_module_active( 'custom-content-types' ) && get_option( 'jetpack_testimonial' ) ) { | 
                                                                                
                                |  | @@ 902-912 (lines=11) @@ | 
                                                            
                                    | 899 |  | 				), | 
                                                            
                                    | 900 |  | 			) ); | 
                                                            
                                    | 901 |  |  | 
                                                            
                                    | 902 |  | 			if ( Jetpack::is_module_active( 'publicize' ) || Jetpack::is_module_active( 'sharedaddy' ) ) { | 
                                                            
                                    | 903 |  | 				$wp_admin_bar->add_menu( array( | 
                                                            
                                    | 904 |  | 					'parent' => 'configuration', | 
                                                            
                                    | 905 |  | 					'id'     => 'sharing', | 
                                                            
                                    | 906 |  | 					'title'  => esc_html__( 'Sharing', 'jetpack' ), | 
                                                            
                                    | 907 |  | 					'href'   => 'https://wordpress.com/sharing/' . esc_attr( $this->primary_site_slug ), | 
                                                            
                                    | 908 |  | 					'meta'   => array( | 
                                                            
                                    | 909 |  | 						'class' => 'mb-icon', | 
                                                            
                                    | 910 |  | 					), | 
                                                            
                                    | 911 |  | 				) ); | 
                                                            
                                    | 912 |  | 			} | 
                                                            
                                    | 913 |  |  | 
                                                            
                                    | 914 |  | 			$people_title = $this->create_menu_item_pair( | 
                                                            
                                    | 915 |  | 				array( |