Ticket #2249: delete_comment_no_button.diff

File delete_comment_no_button.diff, 664 bytes (added by markjaquith, 6 years ago)

Tested patch for Trunk

  • post.php

     
    202202        echo "<input type='hidden' name='noredir' value='1' />\n"; 
    203203        echo "<input type='submit' value='" . __('Yes') . "' />"; 
    204204        echo "&nbsp;&nbsp;"; 
    205         echo "<input type='button' value='" . __('No') . "' onclick='self.location='". get_settings('siteurl') ."/wp-admin/edit.php?p=$p&amp;c=1#comments';' />\n"; 
     205        echo "<input type='button' value='" . __('No') . "' onclick=\"self.location='". get_settings('siteurl') ."/wp-admin/edit.php?p=$p&amp;c=1#comments';\" />\n"; 
    206206        echo "</form>\n"; 
    207207        echo "</div>\n"; 
    208208