Changeset 2818251
- Timestamp:
- 11/15/2022 12:23:21 PM (2 years ago)
- Location:
- maldita-inflacion
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
maldita-inflacion/tags/1.0.0/readme.txt
r2809334 r2818251 4 4 Donate link: https://paypal.me/sebastopolys/ 5 5 Requires at least: 4.0.9 6 Tested up to: 6. 06 Tested up to: 6.1 7 7 Requires PHP: 7.4 8 8 Stable tag: 1.0.0 … … 59 59 * Version inicial 60 60 61 =1.0.1= 62 * Error de WP API se muestra en pantalla 61 63 64 65 -
maldita-inflacion/tags/1.0.0/src/apilog/malinf-malinfResponse.php
r2809228 r2818251 10 10 11 11 public function call($bkop){ 12 $res = wp_remote_get($this->apiurl ); 13 $resp = json_decode($res['body']); 12 $res = wp_remote_get($this->apiurl ); 13 if(is_wp_error($res)){ 14 echo "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ". $res->get_error_message(); 15 return null; 16 } 17 $resp = json_decode($res['body']); 14 18 if(null!==json_decode($bkop)->tipodc&&$res['response']['code']==200){ 15 19 $bktp = json_decode($bkop)->tipodc; -
maldita-inflacion/trunk/readme.txt
r2809334 r2818251 4 4 Donate link: https://paypal.me/sebastopolys/ 5 5 Requires at least: 4.0.9 6 Tested up to: 6. 06 Tested up to: 6.1 7 7 Requires PHP: 7.4 8 8 Stable tag: 1.0.0 … … 59 59 * Version inicial 60 60 61 =1.0.1= 62 * Error de WP API se muestra en pantalla 61 63 64 -
maldita-inflacion/trunk/src/apilog/malinf-malinfResponse.php
r2809228 r2818251 10 10 11 11 public function call($bkop){ 12 $res = wp_remote_get($this->apiurl ); 13 $resp = json_decode($res['body']); 12 $res = wp_remote_get($this->apiurl ); 13 if(is_wp_error($res)){ 14 echo "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ". $res->get_error_message(); 15 return null; 16 } 17 $resp = json_decode($res['body']); 14 18 if(null!==json_decode($bkop)->tipodc&&$res['response']['code']==200){ 15 19 $bktp = json_decode($bkop)->tipodc;
Note: See TracChangeset
for help on using the changeset viewer.