Changeset 2339995
- Timestamp:
- 07/14/2020 12:58:04 AM (6 years ago)
- Location:
- rest-client-tap/trunk
- Files:
-
- 1 added
- 5 edited
-
README.txt (modified) (1 diff)
-
admin/class-rest-client-tap-admin.php (modified) (1 diff)
-
includes/class-rest-client-tap.php (modified) (1 diff)
-
languages/index.php (added)
-
public/class-rest-client-tap-public.php (modified) (10 diffs)
-
rest-client-tap.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
rest-client-tap/trunk/README.txt
r2332769 r2339995 53 53 == Changelog == 54 54 55 = 1.1. 1=55 = 1.1.2 = 56 56 * Added some improvements 57 57 -
rest-client-tap/trunk/admin/class-rest-client-tap-admin.php
r2330673 r2339995 116 116 'capability' => 'edit_theme_options', 117 117 'sanitize_callback' => 'sanitize_text_field', 118 'dirty' => true, 118 119 ) ); 119 120 -
rest-client-tap/trunk/includes/class-rest-client-tap.php
r2332769 r2339995 66 66 * 67 67 * @since 1.0.0 68 * @updated 1.1. 168 * @updated 1.1.2 69 69 */ 70 70 public function __construct() { 71 71 72 72 $this->plugin_name = 'rest-client-tap'; 73 $this->version = '1.1. 1';73 $this->version = '1.1.2'; 74 74 75 75 $this->load_dependencies(); -
rest-client-tap/trunk/public/class-rest-client-tap-public.php
r2332769 r2339995 68 68 * Retrieve client/remote ip address 69 69 * 70 * @since 1.1. 170 * @since 1.1.2 71 71 * 72 72 * @return string … … 78 78 } 79 79 return $ip; 80 } 81 82 private function unset_errors() { 83 if (array_key_exists('REST_CLIENT_TAP_ERRORS', $_SESSION)) { 84 unset($_SESSION['REST_CLIENT_TAP_ERRORS']); 85 } 80 86 } 81 87 … … 128 134 /** 129 135 * @since 1.0.0 130 * @updated 1.1. 1136 * @updated 1.1.2 131 137 * 132 138 * @return null|string … … 178 184 179 185 /** 180 * @updated 1.1. 1186 * @updated 1.1.2 181 187 * 182 188 * @param string $url … … 209 215 210 216 /** 211 * @updated 1.1. 1217 * @updated 1.1.2 212 218 */ 213 219 public function request_bookies() … … 224 230 if(null !== $result_from_api && count($result_from_api)){ 225 231 update_option('TAP_BOOKIES', $result_from_api); 226 unset($_SESSION['REST_CLIENT_TAP_ERRORS']);227 } 228 } 229 230 /** 231 * @updated 1.1. 1232 $this->unset_errors(); 233 } 234 } 235 236 /** 237 * @updated 1.1.2 232 238 */ 233 239 public function request_sports() … … 242 248 if(isset($result_from_api['deporte']) && count($result_from_api['deporte'])){ 243 249 update_option('TAP_DEPORTES', $result_from_api['deporte']); 244 } 245 } 246 247 /** 248 * @updated 1.1.1 250 $this->unset_errors(); 251 } 252 } 253 254 /** 255 * @updated 1.1.2 249 256 */ 250 257 public function request_competitions() … … 259 266 if(isset($result_from_api['competicion']) && count($result_from_api['competicion'])){ 260 267 update_option('TAP_COMPETICIONES', $result_from_api['competicion']); 261 } 262 } 263 264 /** 265 * @updated 1.1.1 268 $this->unset_errors(); 269 } 270 } 271 272 /** 273 * @updated 1.1.2 266 274 * 267 275 * @param $track_site … … 295 303 if(null !== $result_from_api && count($result_from_api)){ 296 304 update_option('TAP_BLOCKS_BOOKIES', $result_from_api); 305 $this->unset_errors(); 297 306 } 298 307 … … 306 315 307 316 /** 308 * @updated 1.1. 1317 * @updated 1.1.2 309 318 * 310 319 * @param $session_name -
rest-client-tap/trunk/rest-client-tap.php
r2330673 r2339995 10 10 * Plugin URI: https://www.wordpress.org/plugins/rest-client-tap 11 11 * Description: Rest client plugin to TodoApuestas API services 12 * Version: 1.1 12 * Version: 1.1.2 13 13 * Author: Alain Sanchez <luka.ghost@gmail.com> 14 14 * Author URI: http://www.linkedin.com/in/mrbrazzi/ … … 17 17 * Text Domain: rest-client-tap 18 18 * Domain Path: /languages 19 * GitHub Plugin URI: https://github.com/mrbrazzi/rest-client-tap 19 20 */ 20 21
Note: See TracChangeset
for help on using the changeset viewer.