|  | @@ 4229-4233 (lines=5) @@ | 
                                                            
                                    | 4226 |  |  | 
                                                            
                                    | 4227 |  | 			if ( $active_state ) { | 
                                                            
                                    | 4228 |  | 				$titles = array(); | 
                                                            
                                    | 4229 |  | 				foreach ( $active_state as $mod ) { | 
                                                            
                                    | 4230 |  | 					if ( $mod_headers = Jetpack::get_module( $mod ) ) { | 
                                                            
                                    | 4231 |  | 						$titles[] = '<strong>' . preg_replace( '/\s+(?![^<>]++>)/', ' ', $mod_headers['name'] ) . '</strong>'; | 
                                                            
                                    | 4232 |  | 					} | 
                                                            
                                    | 4233 |  | 				} | 
                                                            
                                    | 4234 |  | 				if ( $titles ) { | 
                                                            
                                    | 4235 |  | 					$this->message .= '<br /><br />' . wp_sprintf( __( 'The following new modules have been activated: %l.', 'jetpack' ), $titles ); | 
                                                            
                                    | 4236 |  | 				} | 
                                                                                
                                |  | @@ 4241-4245 (lines=5) @@ | 
                                                            
                                    | 4238 |  |  | 
                                                            
                                    | 4239 |  | 			if ( $reactive_state = Jetpack::state( 'reactivated_modules' ) ) { | 
                                                            
                                    | 4240 |  | 				$titles = array(); | 
                                                            
                                    | 4241 |  | 				foreach ( explode( ',',  $reactive_state ) as $mod ) { | 
                                                            
                                    | 4242 |  | 					if ( $mod_headers = Jetpack::get_module( $mod ) ) { | 
                                                            
                                    | 4243 |  | 						$titles[] = '<strong>' . preg_replace( '/\s+(?![^<>]++>)/', ' ', $mod_headers['name'] ) . '</strong>'; | 
                                                            
                                    | 4244 |  | 					} | 
                                                            
                                    | 4245 |  | 				} | 
                                                            
                                    | 4246 |  | 				if ( $titles ) { | 
                                                            
                                    | 4247 |  | 					$this->message .= '<br /><br />' . wp_sprintf( __( 'The following modules have been updated: %l.', 'jetpack' ), $titles ); | 
                                                            
                                    | 4248 |  | 				} |