Plugin Directory

Changeset 2699092


Ignore:
Timestamp:
03/24/2022 05:53:18 PM (4 years ago)
Author:
datacake
Message:

Building 1.2.4

Location:
datacake-core
Files:
12 added
1 deleted
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • datacake-core/tags/1.2.4/README.md

    r2699025 r2699092  
    1616City SEO, this will replicate a text changing the city in the text for SEO purposes
    1717
    18 * Version: V1.2.3
     18* Version: V1.2.4
    1919
    2020
  • datacake-core/tags/1.2.4/README.txt

    r2698991 r2699092  
    44Tags: provedores, redirects, isp, internet, service, provider, providers
    55Requires at least: 3.0.1
    6 Tested up to: 5.7.0
     6Tested up to: 5.9.2
    77Requires PHP: 7.2
    8 Stable tag: 1.2.1
    9 Last Tag: 1.2.0
     8Stable tag: 1.2.4
     9Last Tag: 1.2.3
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • datacake-core/tags/1.2.4/datacake_core.php

    r2699025 r2699092  
    1616 * Plugin URI:        http://www.datacake.com.br
    1717 * Description:       Plugin Datacake para linkar com as Funcionalidade do Data ISP/ISP OG - Redirecionar cidade baseada no cookie
    18  * Version:           1.2.3
     18 * Version:           1.2.4
    1919 * Author:            Paulo Peres Jr
    2020 * Author URI:        https://github.com/PauloPeres
  • datacake-core/tags/1.2.4/src/Admin/Meta/IspMetaBox.php

    r2698991 r2699092  
    9797    public static function get_meta($id, $meta){
    9898        $meta = get_post_meta($id, $meta);
    99         
     99       
    100100        if($meta && $meta[0]){
    101             return $meta[0];
     101            return htmlentities($meta[0]);
    102102        }
    103103        return '';
     
    199199        $response = $productTypeApi
    200200            ->setJsonApiPage()
     201            ->setJsonApiFilter([
     202                'id__in'=>$product_type_id
     203            ])
    201204            ->setJsonApiFields([
    202205                'id', 'name', 'code', 'product_class', 'data',
     
    214217                    ?>
    215218                    <div class="wrap">
     219                        <p>Tipo de Produto: <?php echo $type->attribute('name')." - #",$type->id() ?>
    216220                        <div class="form-wrap">
    217221                        <?php
  • datacake-core/tags/1.2.4/src/Wda/BaseApi.php

    r2698960 r2699092  
    121121        $this->requestBuilder->setUri($this->config['url'].$this->version.$url);
    122122    }
     123    public function setJsonApiFilter($filters){
     124        $this->requestBuilder->setJsonApiFilter($filters);
     125        return $this;
     126    }
    123127    public function setJsonApiFields($fields){
    124128        if(is_array($fields)){
  • datacake-core/trunk/README.md

    r2699025 r2699092  
    1616City SEO, this will replicate a text changing the city in the text for SEO purposes
    1717
    18 * Version: V1.2.3
     18* Version: V1.2.4
    1919
    2020
  • datacake-core/trunk/README.txt

    r2698991 r2699092  
    44Tags: provedores, redirects, isp, internet, service, provider, providers
    55Requires at least: 3.0.1
    6 Tested up to: 5.7.0
     6Tested up to: 5.9.2
    77Requires PHP: 7.2
    8 Stable tag: 1.2.1
    9 Last Tag: 1.2.0
     8Stable tag: 1.2.4
     9Last Tag: 1.2.3
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • datacake-core/trunk/datacake_core.php

    r2699025 r2699092  
    1616 * Plugin URI:        http://www.datacake.com.br
    1717 * Description:       Plugin Datacake para linkar com as Funcionalidade do Data ISP/ISP OG - Redirecionar cidade baseada no cookie
    18  * Version:           1.2.3
     18 * Version:           1.2.4
    1919 * Author:            Paulo Peres Jr
    2020 * Author URI:        https://github.com/PauloPeres
  • datacake-core/trunk/src/Admin/Meta/IspMetaBox.php

    r2698991 r2699092  
    9797    public static function get_meta($id, $meta){
    9898        $meta = get_post_meta($id, $meta);
    99         
     99       
    100100        if($meta && $meta[0]){
    101             return $meta[0];
     101            return htmlentities($meta[0]);
    102102        }
    103103        return '';
     
    199199        $response = $productTypeApi
    200200            ->setJsonApiPage()
     201            ->setJsonApiFilter([
     202                'id__in'=>$product_type_id
     203            ])
    201204            ->setJsonApiFields([
    202205                'id', 'name', 'code', 'product_class', 'data',
     
    214217                    ?>
    215218                    <div class="wrap">
     219                        <p>Tipo de Produto: <?php echo $type->attribute('name')." - #",$type->id() ?>
    216220                        <div class="form-wrap">
    217221                        <?php
  • datacake-core/trunk/src/Wda/BaseApi.php

    r2698960 r2699092  
    121121        $this->requestBuilder->setUri($this->config['url'].$this->version.$url);
    122122    }
     123    public function setJsonApiFilter($filters){
     124        $this->requestBuilder->setJsonApiFilter($filters);
     125        return $this;
     126    }
    123127    public function setJsonApiFields($fields){
    124128        if(is_array($fields)){
Note: See TracChangeset for help on using the changeset viewer.