Plugin Directory

Changeset 1925751


Ignore:
Timestamp:
08/16/2018 11:35:50 AM (8 years ago)
Author:
daniel1088
Message:

google verify

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pixnet/trunk/pixnet_plugin.php

    r1914096 r1925751  
    44Description: This is PIXNET PA code Wordpress plugin
    55Author: Daniel
    6 Version: 2.6.1
     6Version: 2.6.2
    77*/
    88
     
    1919        $this->plugin->site_url = site_url();
    2020        $this->plugin->site_title = get_bloginfo('name');
    21         $this->verify_code = (null != get_option('verify')) ? get_option('verify') : '';
     21        $this->verify_code = (null != get_option('google_verify')) ? get_option('google_verify') : '';
    2222
    2323        // Retry three times
     
    7777    {
    7878        if (empty($this->verify_code)) {
     79            echo '<meta name="google-site-verification" content="none"/>';
    7980            return;
    8081        }
     
    159160        global $wpdb;
    160161     
    161         $venue = $_POST['venue'];     
     162        $venue = $_POST['venue']; 
    162163        update_option('pavenue', $venue);
    163          
    164164    }
    165165
     
    179179        $this->verify_code = ($rank_response->error) ? '' : $rank_response->data->token;
    180180       
    181         update_option('verify', $this->verify_code);
     181        update_option('google_verify', $this->verify_code);
    182182    }
    183183}
Note: See TracChangeset for help on using the changeset viewer.