Changeset 1457902
- Timestamp:
- 07/21/2016 01:06:41 AM (9 years ago)
- Location:
- wpsitesynccontent/trunk
- Files:
-
- 3 edited
-
classes/sourcesmodel.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
-
wpsitesynccontent.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpsitesynccontent/trunk/classes/sourcesmodel.php
r1451657 r1457902 110 110 } else { 111 111 //SyncDebug::log(__METHOD__.'() - existing'); 112 // update existing source 113 // don't need to update token with itself 114 // $wpdb->update($this->_sources_table, array('token' => $row->token, array('id' => $row->id))); 115 // $wpdb->update($this->_sources_table, array('token' => $data['token']), array('id' => $row->id)); 116 $token = $row->token; // $data['token;']; 112 // update existing source token 113 if ($row->token !== $data['token']) 114 $wpdb->update($this->_sources_table, array('token' => $data['token']), array('id' => $row->id)); 115 $token = $data['token;']; // $row->token 117 116 } 118 117 } else { … … 129 128 // update existing source 130 129 //SyncDebug::log(__METHOD__.'() updating id ' . $row->id . ' with token '); // . $data['token']); 131 // don't need to update the token with itself 132 //$wpdb->update($this->_sources_table, array('token' => $data['token']), array('id' => $row->id));133 $token = $ row->token; // $data['token'];130 if ($row->token !== $data['token']) 131 $wpdb->update($this->_sources_table, array('token' => $data['token']), array('id' => $row->id)); 132 $token = $data['token']; // $row->token 134 133 } 135 134 } -
wpsitesynccontent/trunk/readme.txt
r1451657 r1457902 107 107 108 108 == Changelog == 109 = 1.1.1 - Jul 20, 2016 = 110 * Fix for authentication issues that sometimes occur after initial credentials are entered. 111 109 112 = 1.1 - Jul 8, 2016 = 110 113 * Add features to Settings page and extensibility of APIs in preparation for add-on functionality. -
wpsitesynccontent/trunk/wpsitesynccontent.php
r1451657 r1457902 6 6 Author: WPSiteSync 7 7 Author URI: http://wpsitesync.com 8 Version: 1.1 8 Version: 1.1.1 9 9 Text Domain: wpsitesynccontent 10 10 Domain path: /language … … 25 25 class WPSiteSyncContent 26 26 { 27 const PLUGIN_VERSION = '1.1 ';27 const PLUGIN_VERSION = '1.1.1'; 28 28 const PLUGIN_NAME = 'WPSiteSyncContent'; 29 29
Note: See TracChangeset
for help on using the changeset viewer.