WordPress.org

Make WordPress Core

Ticket #14665: wordpress.comment.shortcuts.link.fix.r1.diff

File wordpress.comment.shortcuts.link.fix.r1.diff, 1.1 KB (added by qwertymaniac, 11 years ago)

Patch to let the information link open with a new blank target.

  • wp-admin/user-edit.php

     
    206206if ( !( IS_PROFILE_PAGE && !$user_can_edit ) ) : ?>
    207207<tr>
    208208<th scope="row"><?php _e( 'Keyboard Shortcuts' ); ?></th>
    209 <td><label for="comment_shortcuts"><input type="checkbox" name="comment_shortcuts" id="comment_shortcuts" value="true" <?php if ( !empty($profileuser->comment_shortcuts) ) checked('true', $profileuser->comment_shortcuts); ?> /> <?php _e('Enable keyboard shortcuts for comment moderation.'); ?></label> <?php _e('<a href="http://codex.wordpress.org/Keyboard_Shortcuts">More information</a>'); ?></td>
     209<td><label for="comment_shortcuts"><input type="checkbox" name="comment_shortcuts" id="comment_shortcuts" value="true" <?php if ( !empty($profileuser->comment_shortcuts) ) checked('true', $profileuser->comment_shortcuts); ?> /> <?php _e('Enable keyboard shortcuts for comment moderation.'); ?></label> <?php _e('<a href="http://codex.wordpress.org/Keyboard_Shortcuts" target="_blank">More information</a>'); ?></td>
    210210</tr>
    211211<?php
    212212endif;