Ticket #38210: 38210.diff
File 38210.diff, 1.3 KB (added by , 8 years ago) |
---|
-
wp-admin/includes/class-wp-ms-sites-list-table.php
226 226 public function get_columns() { 227 227 $sites_columns = array( 228 228 'cb' => '<input type="checkbox" />', 229 'blogname' => __( ' URL' ),229 'blogname' => __( 'Name & URL' ), 230 230 'lastupdated' => __( 'Last Updated' ), 231 231 'registered' => _x( 'Registered', 'site' ), 232 232 'users' => __( 'Users' ), … … 302 302 public function column_blogname( $blog ) { 303 303 global $mode; 304 304 305 // Display the Name of the Site 306 307 switch_to_blog( $blog['blog_id'] ); 308 echo get_option( 'blogname' ) . '<br/>'; 309 restore_current_blog(); 310 311 // Display the URL of the Site 312 305 313 $blogname = untrailingslashit( $blog['domain'] . $blog['path'] ); 306 314 $blog_states = array(); 307 315 reset( $this->status_list ); … … 333 341 switch_to_blog( $blog['blog_id'] ); 334 342 echo '<p>'; 335 343 printf( 336 /* translators: 1: site name, 2: site tagline. */ 337 __( '%1$s – %2$s' ), 338 get_option( 'blogname' ), 344 /* translators: 1: site tagline. */ 345 __( '%1$s' ), 339 346 '<em>' . get_option( 'blogdescription ' ) . '</em>' 340 347 ); 341 348 echo '</p>';