Changeset 1925751
- Timestamp:
- 08/16/2018 11:35:50 AM (8 years ago)
- File:
-
- 1 edited
-
pixnet/trunk/pixnet_plugin.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pixnet/trunk/pixnet_plugin.php
r1914096 r1925751 4 4 Description: This is PIXNET PA code Wordpress plugin 5 5 Author: Daniel 6 Version: 2.6. 16 Version: 2.6.2 7 7 */ 8 8 … … 19 19 $this->plugin->site_url = site_url(); 20 20 $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') : ''; 22 22 23 23 // Retry three times … … 77 77 { 78 78 if (empty($this->verify_code)) { 79 echo '<meta name="google-site-verification" content="none"/>'; 79 80 return; 80 81 } … … 159 160 global $wpdb; 160 161 161 $venue = $_POST['venue']; 162 $venue = $_POST['venue']; 162 163 update_option('pavenue', $venue); 163 164 164 } 165 165 … … 179 179 $this->verify_code = ($rank_response->error) ? '' : $rank_response->data->token; 180 180 181 update_option(' verify', $this->verify_code);181 update_option('google_verify', $this->verify_code); 182 182 } 183 183 }
Note: See TracChangeset
for help on using the changeset viewer.