Plugin Directory

Changeset 694866


Ignore:
Timestamp:
04/09/2013 11:47:03 PM (13 years ago)
Author:
ethoseo
Message:

Fixing an unlikely XSS vulnerability.

Location:
ga-universal
Files:
4 edited
9 copied

Legend:

Unmodified
Added
Removed
  • ga-universal/tags/1.0.1/inc/screens/settings.php

    r691768 r694866  
    1717    <div id="icon-options-general" class="icon32"><br /></div><h2>GA Universal Settings</h2>
    1818    <?php
    19         if($_POST['submit'] == "Save Changes"){
     19        if($_POST['submit'] == "Save Changes" && wp_verify_nonce($_POST['ethoseo_gau_nonce'], plugin_basename( __FILE__ ))){
    2020
    2121            update_option("ethoseo_gau_properties", $_POST['properties']);
     
    125125            </tr>
    126126        </table>
     127        <?php wp_nonce_field( plugin_basename( __FILE__ ), 'ethoseo_gau_nonce'); ?>
    127128        <p class="submit"><input type="submit" name="submit" id="submit" class="button-primary" value="Save Changes"    /></p>
    128129    </form>
  • ga-universal/tags/1.0.1/index.php

    r691768 r694866  
    55Description: The first Wordpress plugin for Google's Universal Analytics script Analytics.js.
    66Author: Ethoseo Internet Marketing
    7 Version: 1.0
     7Version: 1.0.1
    88Author URI: http://www.ethoseo.com/
    99License: MIT License
     
    1919*/
    2020
    21 $ethoseo_gau_version = "1.0";
     21$ethoseo_gau_version = "1.0.1";
    2222define( 'ETHOSEO_GAU_PATH', plugin_dir_path(__FILE__) );
    2323define( 'ETHOSEO_GAU_FILE', __FILE__);
  • ga-universal/tags/1.0.1/readme.txt

    r691772 r694866  
    44Requires at least: 3.0.1
    55Tested up to: 3.5.1
    6 Stable tag: 1.0
     6Stable tag: 1.0.1
    77License: MIT
    88License URI: http://opensource.org/licenses/MIT
     
    4747== Changelog ==
    4848
     49= 1.0.1 =
     50* Fixed an unlikely XSS vulnerability
     51
    4952= 1.0 =
    5053* The intial release.
     
    5255== Upgrade Notice ==
    5356
     57= 1.0.1 =
     58Security fix, please upgrade.
     59
    5460= 1.0 =
    5561Initial release.
  • ga-universal/trunk/inc/screens/settings.php

    r691768 r694866  
    1717    <div id="icon-options-general" class="icon32"><br /></div><h2>GA Universal Settings</h2>
    1818    <?php
    19         if($_POST['submit'] == "Save Changes"){
     19        if($_POST['submit'] == "Save Changes" && wp_verify_nonce($_POST['ethoseo_gau_nonce'], plugin_basename( __FILE__ ))){
    2020
    2121            update_option("ethoseo_gau_properties", $_POST['properties']);
     
    125125            </tr>
    126126        </table>
     127        <?php wp_nonce_field( plugin_basename( __FILE__ ), 'ethoseo_gau_nonce'); ?>
    127128        <p class="submit"><input type="submit" name="submit" id="submit" class="button-primary" value="Save Changes"    /></p>
    128129    </form>
  • ga-universal/trunk/index.php

    r691768 r694866  
    55Description: The first Wordpress plugin for Google's Universal Analytics script Analytics.js.
    66Author: Ethoseo Internet Marketing
    7 Version: 1.0
     7Version: 1.0.1
    88Author URI: http://www.ethoseo.com/
    99License: MIT License
     
    1919*/
    2020
    21 $ethoseo_gau_version = "1.0";
     21$ethoseo_gau_version = "1.0.1";
    2222define( 'ETHOSEO_GAU_PATH', plugin_dir_path(__FILE__) );
    2323define( 'ETHOSEO_GAU_FILE', __FILE__);
  • ga-universal/trunk/readme.txt

    r691772 r694866  
    44Requires at least: 3.0.1
    55Tested up to: 3.5.1
    6 Stable tag: 1.0
     6Stable tag: 1.0.1
    77License: MIT
    88License URI: http://opensource.org/licenses/MIT
     
    4747== Changelog ==
    4848
     49= 1.0.1 =
     50* Fixed an unlikely XSS vulnerability
     51
    4952= 1.0 =
    5053* The intial release.
     
    5255== Upgrade Notice ==
    5356
     57= 1.0.1 =
     58Security fix, please upgrade.
     59
    5460= 1.0 =
    5561Initial release.
Note: See TracChangeset for help on using the changeset viewer.