Plugin Directory

Changeset 3209214


Ignore:
Timestamp:
12/17/2024 01:45:16 PM (3 months ago)
Author:
DavidAnderson
Message:

Release version 2.2.10

Location:
wpgetapi
Files:
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wpgetapi/tags/2.2.10/assets/js/wpgetapi-admin.js

    r3152902 r3209214  
    103103                $group = $( '.cmb-repeatable-grouping' ).last();
    104104                $group.find( '.functions .endpoint_id' ).html( '' );
     105                $group.find( '.wpgetapi-test-area' ).attr( 'data-endpoint', '' );
     106                $group.find( '.wpgetapi-test-area .handle' ).hide();
     107                $group.find( '.wpgetapi-test-area .wpgetapi-result' ).html( '' );
    105108            }
    106109
  • wpgetapi/tags/2.2.10/includes/class-wpgetapi-admin-options.php

    r3177395 r3209214  
    575575
    576576                        <?php
    577                         //render all tab forms (normaly just 1 form)
     577                        //render all tab forms (normally just 1 form)
    578578                        foreach ( $tab_forms as $tab_form ) :
    579579                            ?>
     
    11361136
    11371137        /**
    1138          * Tabs don't immmediately appear on save, so this hack!
     1138         * Tabs don't immediately appear on save, so this hack!
    11391139         * @since  0.1.0
    11401140         */
  • wpgetapi/tags/2.2.10/includes/class-wpgetapi-api.php

    r3101789 r3209214  
    2727    public $cache_time         = ''; // the time to cache
    2828    public $endpoint           = ''; // the endpoint that we will get
    29     public $query_parameters   = ''; // the query paramaters appended to url
    30     public $header_parameters  = ''; // the header paramaters
    31     public $body_parameters    = ''; // the body paramaters
     29    public $query_parameters   = ''; // the query parameters appended to url
     30    public $header_parameters  = ''; // the header parameters
     31    public $body_parameters    = ''; // the body parameters
    3232    public $body_json_encode   = ''; // body_json_encode body
    3333    public $body_url_encode    = ''; // urlencode body
     
    315315        );
    316316
    317         // if doing POST request, include body paramters
     317        // if doing POST request, include body parameters
    318318        if ( $this->method == 'POST' || $this->method == 'PUT' || $this->method == 'DELETE' || $this->method == 'PATCH' ) {
    319319
     
    373373        }
    374374
    375         // get our body paramters as they are formatted
     375        // get our body parameters as they are formatted
    376376        // this won't change anything, it just allows us to get the parameters
    377377        $this->body_parameters = apply_filters( 'wpgetapi_final_body_parameters', $this->body_parameters, $this );
     
    380380        $this->final_request_args = wp_parse_args( $headers, $this->final_request_args );
    381381
    382         // build the args taht are sent to the request
     382        // build the args that are sent to the request
    383383        $default_args = apply_filters(
    384384            'wpgetapi_default_request_args_parameters',
  • wpgetapi/tags/2.2.10/includes/class-wpgetapi-encryption.php

    r3101789 r3209214  
    120120
    121121        // If this is reached, you're either not on a live site or have a serious security issue.
    122         return 'das-ist-kein-geheimer-schluessel';
     122        return 'das-ist-kein-geheimer-schluessel'; // spellchecker:ignore
    123123    }
    124124
     
    140140
    141141        // If this is reached, you're either not on a live site or have a serious security issue.
    142         return 'das-ist-kein-geheimes-salz';
     142        return 'das-ist-kein-geheimes-salz'; // spellchecker:ignore
    143143    }
    144144}
  • wpgetapi/tags/2.2.10/readme.txt

    r3177395 r3209214  
    55Requires PHP: 7.0
    66Tested up to: 6.7
    7 Stable tag: 2.2.9
     7Stable tag: 2.2.10
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    190190== Changelog ==
    191191
     192= 2.2.10 - 17/Dec/2024 =
     193
     194* FIX: Clear Test Endpoint results when adding a new endpoint.
     195
    192196= 2.2.9 - 28/Oct/2024 =
    193197
     
    311315= 1.9.5 (2023-06-30) =
    312316- New - add PATCH request method.
    313 - Udpate - allow BODY post fields with any request method.
     317- Update - allow BODY post fields with any request method.
    314318
    315319= 1.9.4 (2023-06-22) =
    316320- New - styling changes in admin. Remove input descriptions and replace with tooltips.
    317 - Udpate - expand the info in many tooltips.
     321- Update - expand the info in many tooltips.
    318322
    319323= 1.9.3 (2023-06-22) =
     
    359363= 1.8.5 (2023-03-16) =
    360364- New - Add new format='no_display' shortcode attribute to stop any output from the API.
    361 - New - Add new integration with chaining methods that can be used in conjuction with the PRO plugin.
     365- New - Add new integration with chaining methods that can be used in conjunction with the PRO plugin.
    362366
    363367= 1.8.4 (2023-03-01) =
     
    394398
    395399= 1.7.7 (2023-01-10) =
    396 - New - add ability to set float and integers within paramater settings using float(number) and integer(number) syntax.
    397 - Fix - fix help link for Body paramters going to wrong page.
     400- New - add ability to set float and integers within parameter settings using float(number) and integer(number) syntax.
     401- Fix - fix help link for Body parameters going to wrong page.
    398402
    399403= 1.7.6 (2023-01-09) =
     
    477481
    478482= 1.4.1 (2022-05-05) =
    479 - Fix - new tab was not appearing on intitial save on setup page.
     483- Fix - new tab was not appearing on parameters save on setup page.
    480484- Enhancement - add new filter 'wpgetapi_admin_pages' to allow adding extra tabs.
    481485
     
    527531
    528532== Upgrade Notice ==
    529 * 2.2.9: Various tweaks, like the dismissable admin dashboard notice and rate plugin notice. A recommended update for all.
     533* 2.2.10: A fix that includes test results of the previous endpoint when adding second and onward endpoints to the API. A recommended update for all.
  • wpgetapi/tags/2.2.10/wpgetapi.php

    r3177395 r3209214  
    66 * Author: WPGetAPI
    77 * Author URI:  https://wpgetapi.com/
    8  * Version: 2.2.9
     8 * Version: 2.2.10
    99 * Text Domain: wpgetapi
    1010 * License: GPL2 or later
     
    3030    protected static $_instance = null;
    3131
    32     public $version = '2.2.9';
     32    public $version = '2.2.10';
    3333
    3434    /**
  • wpgetapi/trunk/assets/js/wpgetapi-admin.js

    r3152902 r3209214  
    103103                $group = $( '.cmb-repeatable-grouping' ).last();
    104104                $group.find( '.functions .endpoint_id' ).html( '' );
     105                $group.find( '.wpgetapi-test-area' ).attr( 'data-endpoint', '' );
     106                $group.find( '.wpgetapi-test-area .handle' ).hide();
     107                $group.find( '.wpgetapi-test-area .wpgetapi-result' ).html( '' );
    105108            }
    106109
  • wpgetapi/trunk/includes/class-wpgetapi-admin-options.php

    r3177395 r3209214  
    575575
    576576                        <?php
    577                         //render all tab forms (normaly just 1 form)
     577                        //render all tab forms (normally just 1 form)
    578578                        foreach ( $tab_forms as $tab_form ) :
    579579                            ?>
     
    11361136
    11371137        /**
    1138          * Tabs don't immmediately appear on save, so this hack!
     1138         * Tabs don't immediately appear on save, so this hack!
    11391139         * @since  0.1.0
    11401140         */
  • wpgetapi/trunk/includes/class-wpgetapi-api.php

    r3101789 r3209214  
    2727    public $cache_time         = ''; // the time to cache
    2828    public $endpoint           = ''; // the endpoint that we will get
    29     public $query_parameters   = ''; // the query paramaters appended to url
    30     public $header_parameters  = ''; // the header paramaters
    31     public $body_parameters    = ''; // the body paramaters
     29    public $query_parameters   = ''; // the query parameters appended to url
     30    public $header_parameters  = ''; // the header parameters
     31    public $body_parameters    = ''; // the body parameters
    3232    public $body_json_encode   = ''; // body_json_encode body
    3333    public $body_url_encode    = ''; // urlencode body
     
    315315        );
    316316
    317         // if doing POST request, include body paramters
     317        // if doing POST request, include body parameters
    318318        if ( $this->method == 'POST' || $this->method == 'PUT' || $this->method == 'DELETE' || $this->method == 'PATCH' ) {
    319319
     
    373373        }
    374374
    375         // get our body paramters as they are formatted
     375        // get our body parameters as they are formatted
    376376        // this won't change anything, it just allows us to get the parameters
    377377        $this->body_parameters = apply_filters( 'wpgetapi_final_body_parameters', $this->body_parameters, $this );
     
    380380        $this->final_request_args = wp_parse_args( $headers, $this->final_request_args );
    381381
    382         // build the args taht are sent to the request
     382        // build the args that are sent to the request
    383383        $default_args = apply_filters(
    384384            'wpgetapi_default_request_args_parameters',
  • wpgetapi/trunk/includes/class-wpgetapi-encryption.php

    r3101789 r3209214  
    120120
    121121        // If this is reached, you're either not on a live site or have a serious security issue.
    122         return 'das-ist-kein-geheimer-schluessel';
     122        return 'das-ist-kein-geheimer-schluessel'; // spellchecker:ignore
    123123    }
    124124
     
    140140
    141141        // If this is reached, you're either not on a live site or have a serious security issue.
    142         return 'das-ist-kein-geheimes-salz';
     142        return 'das-ist-kein-geheimes-salz'; // spellchecker:ignore
    143143    }
    144144}
  • wpgetapi/trunk/readme.txt

    r3177395 r3209214  
    55Requires PHP: 7.0
    66Tested up to: 6.7
    7 Stable tag: 2.2.9
     7Stable tag: 2.2.10
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    190190== Changelog ==
    191191
     192= 2.2.10 - 17/Dec/2024 =
     193
     194* FIX: Clear Test Endpoint results when adding a new endpoint.
     195
    192196= 2.2.9 - 28/Oct/2024 =
    193197
     
    311315= 1.9.5 (2023-06-30) =
    312316- New - add PATCH request method.
    313 - Udpate - allow BODY post fields with any request method.
     317- Update - allow BODY post fields with any request method.
    314318
    315319= 1.9.4 (2023-06-22) =
    316320- New - styling changes in admin. Remove input descriptions and replace with tooltips.
    317 - Udpate - expand the info in many tooltips.
     321- Update - expand the info in many tooltips.
    318322
    319323= 1.9.3 (2023-06-22) =
     
    359363= 1.8.5 (2023-03-16) =
    360364- New - Add new format='no_display' shortcode attribute to stop any output from the API.
    361 - New - Add new integration with chaining methods that can be used in conjuction with the PRO plugin.
     365- New - Add new integration with chaining methods that can be used in conjunction with the PRO plugin.
    362366
    363367= 1.8.4 (2023-03-01) =
     
    394398
    395399= 1.7.7 (2023-01-10) =
    396 - New - add ability to set float and integers within paramater settings using float(number) and integer(number) syntax.
    397 - Fix - fix help link for Body paramters going to wrong page.
     400- New - add ability to set float and integers within parameter settings using float(number) and integer(number) syntax.
     401- Fix - fix help link for Body parameters going to wrong page.
    398402
    399403= 1.7.6 (2023-01-09) =
     
    477481
    478482= 1.4.1 (2022-05-05) =
    479 - Fix - new tab was not appearing on intitial save on setup page.
     483- Fix - new tab was not appearing on parameters save on setup page.
    480484- Enhancement - add new filter 'wpgetapi_admin_pages' to allow adding extra tabs.
    481485
     
    527531
    528532== Upgrade Notice ==
    529 * 2.2.9: Various tweaks, like the dismissable admin dashboard notice and rate plugin notice. A recommended update for all.
     533* 2.2.10: A fix that includes test results of the previous endpoint when adding second and onward endpoints to the API. A recommended update for all.
  • wpgetapi/trunk/wpgetapi.php

    r3177395 r3209214  
    66 * Author: WPGetAPI
    77 * Author URI:  https://wpgetapi.com/
    8  * Version: 2.2.9
     8 * Version: 2.2.10
    99 * Text Domain: wpgetapi
    1010 * License: GPL2 or later
     
    3030    protected static $_instance = null;
    3131
    32     public $version = '2.2.9';
     32    public $version = '2.2.10';
    3333
    3434    /**
Note: See TracChangeset for help on using the changeset viewer.