Ticket #20839: 20839.patch
File 20839.patch, 1.3 KB (added by , 12 years ago) |
---|
-
wp-admin/includes/class-wp-plugins-list-table.php
417 417 if ( !empty( $plugin_data['Author'] ) ) { 418 418 $author = $plugin_data['Author']; 419 419 if ( !empty( $plugin_data['AuthorURI'] ) ) 420 $author = '<a href="' . $plugin_data['AuthorURI'] . '" title="' . esc_attr__( 'Visit author homepage' ) . '" >' . $plugin_data['Author'] . '</a>';420 $author = '<a href="' . $plugin_data['AuthorURI'] . '" title="' . esc_attr__( 'Visit author homepage' ) . '" target="_blank">' . $plugin_data['Author'] . '</a>'; 421 421 $plugin_meta[] = sprintf( __( 'By %s' ), $author ); 422 422 } 423 423 if ( ! empty( $plugin_data['PluginURI'] ) ) 424 $plugin_meta[] = '<a href="' . $plugin_data['PluginURI'] . '" title="' . esc_attr__( 'Visit plugin site' ) . '" >' . __( 'Visit plugin site' ) . '</a>';424 $plugin_meta[] = '<a href="' . $plugin_data['PluginURI'] . '" title="' . esc_attr__( 'Visit plugin site' ) . '" target="_blank">' . __( 'Visit plugin site' ) . '</a>'; 425 425 426 426 $plugin_meta = apply_filters( 'plugin_row_meta', $plugin_meta, $plugin_file, $plugin_data, $status ); 427 427 echo implode( ' | ', $plugin_meta );