Ticket #28153: class-wp-plugins-list-table.php.diff
File class-wp-plugins-list-table.php.diff, 1.3 KB (added by , 10 years ago) |
---|
-
trunk/wp-admin/includes/class-wp-plugins-list-table.php
494 494 if ( !empty( $plugin_data['Author'] ) ) { 495 495 $author = $plugin_data['Author']; 496 496 if ( !empty( $plugin_data['AuthorURI'] ) ) 497 $author = '<a href="' . $plugin_data['AuthorURI'] . '" title="' . esc_attr__( 'Visit author homepage' ) . '" >' . $plugin_data['Author'] . '</a>';497 $author = '<a href="' . $plugin_data['AuthorURI'] . '" title="' . esc_attr__( 'Visit author homepage' ) . '" target="_blank">' . $plugin_data['Author'] . '</a>'; 498 498 $plugin_meta[] = sprintf( __( 'By %s' ), $author ); 499 499 } 500 500 if ( ! empty( $plugin_data['PluginURI'] ) ) 501 $plugin_meta[] = '<a href="' . $plugin_data['PluginURI'] . '" title="' . esc_attr__( 'Visit plugin site' ) . '" >' . __( 'Visit plugin site' ) . '</a>';501 $plugin_meta[] = '<a href="' . $plugin_data['PluginURI'] . '" title="' . esc_attr__( 'Visit plugin site' ) . '" target="_blank">' . __( 'Visit plugin site' ) . '</a>'; 502 502 503 503 /** 504 504 * Filter the array of row meta for each plugin in the Plugins list table.