WordPress.org

Make WordPress Core

Changeset 16923


Ignore:
Timestamp:
12/14/2010 06:56:15 PM (7 years ago)
Author:
nacin
Message:

Remove unneeded stripslashes. see #14543.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/dashboard.php

    r16922 r16923  
    756756
    757757    if ( 'POST' == $_SERVER['REQUEST_METHOD'] && isset($_POST['widget-recent-comments']) ) {
    758         $number = absint( stripslashes($_POST['widget-recent-comments']['items']) );
     758        $number = absint( $_POST['widget-recent-comments']['items'] );
    759759        $widget_options['dashboard_recent_comments']['items'] = $number;
    760760        update_option( 'dashboard_widget_options', $widget_options );
Note: See TracChangeset for help on using the changeset viewer.