Changeset 2699092
- Timestamp:
- 03/24/2022 05:53:18 PM (4 years ago)
- Location:
- datacake-core
- Files:
-
- 12 added
- 1 deleted
- 10 edited
- 1 copied
-
tags/1.2.3 (deleted)
-
tags/1.2.4 (copied) (copied from datacake-core/trunk)
-
tags/1.2.4/README.md (modified) (1 diff)
-
tags/1.2.4/README.txt (modified) (1 diff)
-
tags/1.2.4/bitbucket-pipelines.yml (added)
-
tags/1.2.4/composer.json (added)
-
tags/1.2.4/composer.lock (added)
-
tags/1.2.4/composer.phar (added)
-
tags/1.2.4/datacake_core.php (modified) (1 diff)
-
tags/1.2.4/how-to-svn.md (added)
-
tags/1.2.4/src/Admin/Meta/IspMetaBox.php (modified) (3 diffs)
-
tags/1.2.4/src/ORM/WP/Category.php (added)
-
tags/1.2.4/src/Wda/BaseApi.php (modified) (1 diff)
-
trunk/README.md (modified) (1 diff)
-
trunk/README.txt (modified) (1 diff)
-
trunk/bitbucket-pipelines.yml (added)
-
trunk/composer.json (added)
-
trunk/composer.lock (added)
-
trunk/composer.phar (added)
-
trunk/datacake_core.php (modified) (1 diff)
-
trunk/how-to-svn.md (added)
-
trunk/src/Admin/Meta/IspMetaBox.php (modified) (3 diffs)
-
trunk/src/ORM/WP/Category.php (added)
-
trunk/src/Wda/BaseApi.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
datacake-core/tags/1.2.4/README.md
r2699025 r2699092 16 16 City SEO, this will replicate a text changing the city in the text for SEO purposes 17 17 18 * Version: V1.2. 318 * Version: V1.2.4 19 19 20 20 -
datacake-core/tags/1.2.4/README.txt
r2698991 r2699092 4 4 Tags: provedores, redirects, isp, internet, service, provider, providers 5 5 Requires at least: 3.0.1 6 Tested up to: 5. 7.06 Tested up to: 5.9.2 7 7 Requires PHP: 7.2 8 Stable tag: 1.2. 19 Last Tag: 1.2. 08 Stable tag: 1.2.4 9 Last Tag: 1.2.3 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
datacake-core/tags/1.2.4/datacake_core.php
r2699025 r2699092 16 16 * Plugin URI: http://www.datacake.com.br 17 17 * Description: Plugin Datacake para linkar com as Funcionalidade do Data ISP/ISP OG - Redirecionar cidade baseada no cookie 18 * Version: 1.2. 318 * Version: 1.2.4 19 19 * Author: Paulo Peres Jr 20 20 * Author URI: https://github.com/PauloPeres -
datacake-core/tags/1.2.4/src/Admin/Meta/IspMetaBox.php
r2698991 r2699092 97 97 public static function get_meta($id, $meta){ 98 98 $meta = get_post_meta($id, $meta); 99 99 100 100 if($meta && $meta[0]){ 101 return $meta[0];101 return htmlentities($meta[0]); 102 102 } 103 103 return ''; … … 199 199 $response = $productTypeApi 200 200 ->setJsonApiPage() 201 ->setJsonApiFilter([ 202 'id__in'=>$product_type_id 203 ]) 201 204 ->setJsonApiFields([ 202 205 'id', 'name', 'code', 'product_class', 'data', … … 214 217 ?> 215 218 <div class="wrap"> 219 <p>Tipo de Produto: <?php echo $type->attribute('name')." - #",$type->id() ?> 216 220 <div class="form-wrap"> 217 221 <?php -
datacake-core/tags/1.2.4/src/Wda/BaseApi.php
r2698960 r2699092 121 121 $this->requestBuilder->setUri($this->config['url'].$this->version.$url); 122 122 } 123 public function setJsonApiFilter($filters){ 124 $this->requestBuilder->setJsonApiFilter($filters); 125 return $this; 126 } 123 127 public function setJsonApiFields($fields){ 124 128 if(is_array($fields)){ -
datacake-core/trunk/README.md
r2699025 r2699092 16 16 City SEO, this will replicate a text changing the city in the text for SEO purposes 17 17 18 * Version: V1.2. 318 * Version: V1.2.4 19 19 20 20 -
datacake-core/trunk/README.txt
r2698991 r2699092 4 4 Tags: provedores, redirects, isp, internet, service, provider, providers 5 5 Requires at least: 3.0.1 6 Tested up to: 5. 7.06 Tested up to: 5.9.2 7 7 Requires PHP: 7.2 8 Stable tag: 1.2. 19 Last Tag: 1.2. 08 Stable tag: 1.2.4 9 Last Tag: 1.2.3 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
datacake-core/trunk/datacake_core.php
r2699025 r2699092 16 16 * Plugin URI: http://www.datacake.com.br 17 17 * Description: Plugin Datacake para linkar com as Funcionalidade do Data ISP/ISP OG - Redirecionar cidade baseada no cookie 18 * Version: 1.2. 318 * Version: 1.2.4 19 19 * Author: Paulo Peres Jr 20 20 * Author URI: https://github.com/PauloPeres -
datacake-core/trunk/src/Admin/Meta/IspMetaBox.php
r2698991 r2699092 97 97 public static function get_meta($id, $meta){ 98 98 $meta = get_post_meta($id, $meta); 99 99 100 100 if($meta && $meta[0]){ 101 return $meta[0];101 return htmlentities($meta[0]); 102 102 } 103 103 return ''; … … 199 199 $response = $productTypeApi 200 200 ->setJsonApiPage() 201 ->setJsonApiFilter([ 202 'id__in'=>$product_type_id 203 ]) 201 204 ->setJsonApiFields([ 202 205 'id', 'name', 'code', 'product_class', 'data', … … 214 217 ?> 215 218 <div class="wrap"> 219 <p>Tipo de Produto: <?php echo $type->attribute('name')." - #",$type->id() ?> 216 220 <div class="form-wrap"> 217 221 <?php -
datacake-core/trunk/src/Wda/BaseApi.php
r2698960 r2699092 121 121 $this->requestBuilder->setUri($this->config['url'].$this->version.$url); 122 122 } 123 public function setJsonApiFilter($filters){ 124 $this->requestBuilder->setJsonApiFilter($filters); 125 return $this; 126 } 123 127 public function setJsonApiFields($fields){ 124 128 if(is_array($fields)){
Note: See TracChangeset
for help on using the changeset viewer.