Changeset 3209214
- Timestamp:
- 12/17/2024 01:45:16 PM (3 months ago)
- Location:
- wpgetapi
- Files:
-
- 12 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
wpgetapi/tags/2.2.10/assets/js/wpgetapi-admin.js
r3152902 r3209214 103 103 $group = $( '.cmb-repeatable-grouping' ).last(); 104 104 $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( '' ); 105 108 } 106 109 -
wpgetapi/tags/2.2.10/includes/class-wpgetapi-admin-options.php
r3177395 r3209214 575 575 576 576 <?php 577 //render all tab forms (normal y just 1 form)577 //render all tab forms (normally just 1 form) 578 578 foreach ( $tab_forms as $tab_form ) : 579 579 ?> … … 1136 1136 1137 1137 /** 1138 * Tabs don't imm mediately appear on save, so this hack!1138 * Tabs don't immediately appear on save, so this hack! 1139 1139 * @since 0.1.0 1140 1140 */ -
wpgetapi/tags/2.2.10/includes/class-wpgetapi-api.php
r3101789 r3209214 27 27 public $cache_time = ''; // the time to cache 28 28 public $endpoint = ''; // the endpoint that we will get 29 public $query_parameters = ''; // the query param aters appended to url30 public $header_parameters = ''; // the header param aters31 public $body_parameters = ''; // the body param aters29 public $query_parameters = ''; // the query parameters appended to url 30 public $header_parameters = ''; // the header parameters 31 public $body_parameters = ''; // the body parameters 32 32 public $body_json_encode = ''; // body_json_encode body 33 33 public $body_url_encode = ''; // urlencode body … … 315 315 ); 316 316 317 // if doing POST request, include body param ters317 // if doing POST request, include body parameters 318 318 if ( $this->method == 'POST' || $this->method == 'PUT' || $this->method == 'DELETE' || $this->method == 'PATCH' ) { 319 319 … … 373 373 } 374 374 375 // get our body param ters as they are formatted375 // get our body parameters as they are formatted 376 376 // this won't change anything, it just allows us to get the parameters 377 377 $this->body_parameters = apply_filters( 'wpgetapi_final_body_parameters', $this->body_parameters, $this ); … … 380 380 $this->final_request_args = wp_parse_args( $headers, $this->final_request_args ); 381 381 382 // build the args t aht are sent to the request382 // build the args that are sent to the request 383 383 $default_args = apply_filters( 384 384 'wpgetapi_default_request_args_parameters', -
wpgetapi/tags/2.2.10/includes/class-wpgetapi-encryption.php
r3101789 r3209214 120 120 121 121 // 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 123 123 } 124 124 … … 140 140 141 141 // 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 143 143 } 144 144 } -
wpgetapi/tags/2.2.10/readme.txt
r3177395 r3209214 5 5 Requires PHP: 7.0 6 6 Tested up to: 6.7 7 Stable tag: 2.2. 97 Stable tag: 2.2.10 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 190 190 == Changelog == 191 191 192 = 2.2.10 - 17/Dec/2024 = 193 194 * FIX: Clear Test Endpoint results when adding a new endpoint. 195 192 196 = 2.2.9 - 28/Oct/2024 = 193 197 … … 311 315 = 1.9.5 (2023-06-30) = 312 316 - New - add PATCH request method. 313 - U dpate - allow BODY post fields with any request method.317 - Update - allow BODY post fields with any request method. 314 318 315 319 = 1.9.4 (2023-06-22) = 316 320 - New - styling changes in admin. Remove input descriptions and replace with tooltips. 317 - U dpate - expand the info in many tooltips.321 - Update - expand the info in many tooltips. 318 322 319 323 = 1.9.3 (2023-06-22) = … … 359 363 = 1.8.5 (2023-03-16) = 360 364 - 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 conju ction with the PRO plugin.365 - New - Add new integration with chaining methods that can be used in conjunction with the PRO plugin. 362 366 363 367 = 1.8.4 (2023-03-01) = … … 394 398 395 399 = 1.7.7 (2023-01-10) = 396 - New - add ability to set float and integers within param ater settings using float(number) and integer(number) syntax.397 - Fix - fix help link for Body param ters 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. 398 402 399 403 = 1.7.6 (2023-01-09) = … … 477 481 478 482 = 1.4.1 (2022-05-05) = 479 - Fix - new tab was not appearing on intitialsave on setup page.483 - Fix - new tab was not appearing on parameters save on setup page. 480 484 - Enhancement - add new filter 'wpgetapi_admin_pages' to allow adding extra tabs. 481 485 … … 527 531 528 532 == 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 6 6 * Author: WPGetAPI 7 7 * Author URI: https://wpgetapi.com/ 8 * Version: 2.2. 98 * Version: 2.2.10 9 9 * Text Domain: wpgetapi 10 10 * License: GPL2 or later … … 30 30 protected static $_instance = null; 31 31 32 public $version = '2.2. 9';32 public $version = '2.2.10'; 33 33 34 34 /** -
wpgetapi/trunk/assets/js/wpgetapi-admin.js
r3152902 r3209214 103 103 $group = $( '.cmb-repeatable-grouping' ).last(); 104 104 $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( '' ); 105 108 } 106 109 -
wpgetapi/trunk/includes/class-wpgetapi-admin-options.php
r3177395 r3209214 575 575 576 576 <?php 577 //render all tab forms (normal y just 1 form)577 //render all tab forms (normally just 1 form) 578 578 foreach ( $tab_forms as $tab_form ) : 579 579 ?> … … 1136 1136 1137 1137 /** 1138 * Tabs don't imm mediately appear on save, so this hack!1138 * Tabs don't immediately appear on save, so this hack! 1139 1139 * @since 0.1.0 1140 1140 */ -
wpgetapi/trunk/includes/class-wpgetapi-api.php
r3101789 r3209214 27 27 public $cache_time = ''; // the time to cache 28 28 public $endpoint = ''; // the endpoint that we will get 29 public $query_parameters = ''; // the query param aters appended to url30 public $header_parameters = ''; // the header param aters31 public $body_parameters = ''; // the body param aters29 public $query_parameters = ''; // the query parameters appended to url 30 public $header_parameters = ''; // the header parameters 31 public $body_parameters = ''; // the body parameters 32 32 public $body_json_encode = ''; // body_json_encode body 33 33 public $body_url_encode = ''; // urlencode body … … 315 315 ); 316 316 317 // if doing POST request, include body param ters317 // if doing POST request, include body parameters 318 318 if ( $this->method == 'POST' || $this->method == 'PUT' || $this->method == 'DELETE' || $this->method == 'PATCH' ) { 319 319 … … 373 373 } 374 374 375 // get our body param ters as they are formatted375 // get our body parameters as they are formatted 376 376 // this won't change anything, it just allows us to get the parameters 377 377 $this->body_parameters = apply_filters( 'wpgetapi_final_body_parameters', $this->body_parameters, $this ); … … 380 380 $this->final_request_args = wp_parse_args( $headers, $this->final_request_args ); 381 381 382 // build the args t aht are sent to the request382 // build the args that are sent to the request 383 383 $default_args = apply_filters( 384 384 'wpgetapi_default_request_args_parameters', -
wpgetapi/trunk/includes/class-wpgetapi-encryption.php
r3101789 r3209214 120 120 121 121 // 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 123 123 } 124 124 … … 140 140 141 141 // 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 143 143 } 144 144 } -
wpgetapi/trunk/readme.txt
r3177395 r3209214 5 5 Requires PHP: 7.0 6 6 Tested up to: 6.7 7 Stable tag: 2.2. 97 Stable tag: 2.2.10 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 190 190 == Changelog == 191 191 192 = 2.2.10 - 17/Dec/2024 = 193 194 * FIX: Clear Test Endpoint results when adding a new endpoint. 195 192 196 = 2.2.9 - 28/Oct/2024 = 193 197 … … 311 315 = 1.9.5 (2023-06-30) = 312 316 - New - add PATCH request method. 313 - U dpate - allow BODY post fields with any request method.317 - Update - allow BODY post fields with any request method. 314 318 315 319 = 1.9.4 (2023-06-22) = 316 320 - New - styling changes in admin. Remove input descriptions and replace with tooltips. 317 - U dpate - expand the info in many tooltips.321 - Update - expand the info in many tooltips. 318 322 319 323 = 1.9.3 (2023-06-22) = … … 359 363 = 1.8.5 (2023-03-16) = 360 364 - 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 conju ction with the PRO plugin.365 - New - Add new integration with chaining methods that can be used in conjunction with the PRO plugin. 362 366 363 367 = 1.8.4 (2023-03-01) = … … 394 398 395 399 = 1.7.7 (2023-01-10) = 396 - New - add ability to set float and integers within param ater settings using float(number) and integer(number) syntax.397 - Fix - fix help link for Body param ters 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. 398 402 399 403 = 1.7.6 (2023-01-09) = … … 477 481 478 482 = 1.4.1 (2022-05-05) = 479 - Fix - new tab was not appearing on intitialsave on setup page.483 - Fix - new tab was not appearing on parameters save on setup page. 480 484 - Enhancement - add new filter 'wpgetapi_admin_pages' to allow adding extra tabs. 481 485 … … 527 531 528 532 == 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 6 6 * Author: WPGetAPI 7 7 * Author URI: https://wpgetapi.com/ 8 * Version: 2.2. 98 * Version: 2.2.10 9 9 * Text Domain: wpgetapi 10 10 * License: GPL2 or later … … 30 30 protected static $_instance = null; 31 31 32 public $version = '2.2. 9';32 public $version = '2.2.10'; 33 33 34 34 /**
Note: See TracChangeset
for help on using the changeset viewer.