WordPress.org

Make WordPress Core

Ticket #6813: press-this-7-2-4am.diff

File press-this-7-2-4am.diff, 458 bytes (added by noel, 10 years ago)

Escape quotes in titles.

  • wp-admin/press-this.php

     
    115115}
    116116
    117117// Ajax Requests
    118 $title = wp_specialchars(stripslashes($_GET['t']));
     118$title = wp_specialchars(aposfix(stripslashes($_GET['t'])));
    119119
    120120$selection = str_replace("\n", "<br />", aposfix( stripslashes($_GET['s']) ) );
    121121$url = clean_url($_GET['u']);