WordPress.org

Make WordPress Core

Ticket #23432: 33303.patch

File 33303.patch, 1.2 KB (added by juhise, 4 years ago)

patch file for user-edit.php

  • wp-admin/user-edit.php

     
    262262if ( !( IS_PROFILE_PAGE && !$user_can_edit ) ) : ?>
    263263<tr class="user-comment-shortcuts-wrap">
    264264<th scope="row"><?php _e( 'Keyboard Shortcuts' ); ?></th>
    265 <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="https://codex.wordpress.org/Keyboard_Shortcuts" target="_blank">More information</a>'); ?></td>
     265<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="https://codex.wordpress.org/Keyboard_Shortcuts">More information</a>'); ?></td>
    266266</tr>
    267267<?php endif; ?>
    268268<tr class="show-admin-bar user-admin-bar-front-wrap">