Make WordPress Core

Ticket #59427: 59427.patch

File 59427.patch, 1.2 KB (added by upadalavipul, 3 years ago)
  • includes/image-edit.php

     
    6060        <?php echo $note; ?>
    6161        <div class="imgedit-panel-content imgedit-panel-tools wp-clearfix">
    6262                <div class="imgedit-menu wp-clearfix">
    63                         <button type="button" onclick="imageEdit.toggleCropTool( <?php echo "$post_id, '$nonce'"; ?>, this );" aria-expanded="false" aria-controls="imgedit-crop" class="imgedit-crop button disabled" disabled><?php esc_html_e( 'Crop' ); ?></button>
     63                        <button type="button" onclick="imageEdit.toggleCropTool( <?php echo $post_id, $nonce; ?>, this );" aria-expanded="false" aria-controls="imgedit-crop" class="imgedit-crop button disabled" disabled><?php esc_html_e( 'Crop' ); ?></button>
    6464                        <button type="button" class="imgedit-scale button" onclick="imageEdit.toggleControls(this);" aria-expanded="false" aria-controls="imgedit-scale"><?php esc_html_e( 'Scale' ); ?></button>
    6565                        <div class="imgedit-rotate-menu-container">
    6666                                <button type="button" aria-controls="imgedit-rotate-menu" class="imgedit-rotate button" aria-expanded="false" onclick="imageEdit.togglePopup(this)"><?php esc_html_e( 'Image Rotation' ); ?></button>