WordPress.org

Plugin Directory

Changeset 814049


Ignore:
Timestamp:
12/02/13 23:37:44 (4 months ago)
Author:
georgestephanis
Message:

Jetpack: Stats: Normalize the used superglobal to $_REQUEST instead of $_GET

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jetpack/trunk/modules/stats.php

    r811511 r814049  
    411411    if ( isset( $_REQUEST['chart'] ) ) { 
    412412        if ( preg_match( '/^[a-z0-9-]+$/', $_REQUEST['chart'] ) ) 
    413             $url = 'http://' . STATS_DASHBOARD_SERVER . "/wp-includes/charts/{$_GET['chart']}.php"; 
     413            $url = 'http://' . STATS_DASHBOARD_SERVER . "/wp-includes/charts/{$_REQUEST['chart']}.php"; 
    414414    } else { 
    415415        $url = 'http://' . STATS_DASHBOARD_SERVER . "/wp-admin/index.php"; 
Note: See TracChangeset for help on using the changeset viewer.