WordPress.org

Make WordPress Core

Changeset 38308


Ignore:
Timestamp:
08/22/2016 08:50:31 PM (3 years ago)
Author:
wonderboymusic
Message:

General: remove variable set needlessly in wp_check_jsonp_callback().

See #37771.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r38294 r38308  
    31383138    }
    31393139
    3140     $jsonp_callback = preg_replace( '/[^\w\.]/', '', $callback, -1, $illegal_char_count );
     3140    preg_replace( '/[^\w\.]/', '', $callback, -1, $illegal_char_count );
    31413141
    31423142    return 0 === $illegal_char_count;
Note: See TracChangeset for help on using the changeset viewer.