Plugin Directory

Changeset 1325820


Ignore:
Timestamp:
01/11/2016 01:53:24 PM (10 years ago)
Author:
Rafael Mor
Message:

Add validation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pixelshop-integration/trunk/pixelshop.php

    r1325817 r1325820  
    274274        if( isset($_POST['nonce']) && wp_verify_nonce($_POST['nonce'], 'api_key') )
    275275        {
     276            $api_key = get_option('api_key');
     277           
    276278            if( $api_key === false )
    277279            {
     
    303305        if( isset($_POST['nonce']) && wp_verify_nonce($_POST['nonce'], 'pixelshop_id_token') )
    304306        {
     307            $pixelshop_id = get_option('pixelshop_id');
     308           
    305309            if( $pixelshop_id === false )
    306310            {
Note: See TracChangeset for help on using the changeset viewer.