Changeset 3440359
- Timestamp:
- 01/15/2026 01:04:04 PM (5 weeks ago)
- Location:
- diller-loyalty/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (2 diffs)
-
diller-loyalty.php (modified) (3 diffs)
-
includes/webhooks/class-diller-rest-endpoints.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
diller-loyalty/trunk/README.txt
r3422127 r3440359 4 4 Requires at least: 4.7 5 5 Tested up to: 6.9 6 Version: 2.5. 27 Stable tag: 2.5. 26 Version: 2.5.3 7 Stable tag: 2.5.3 8 8 Requires PHP: 7.3 9 9 WC requires at least: 3.8.0 … … 63 63 64 64 == Changelog == 65 = 2.5.3 = 66 * Fixes an error when hiding plugin REST endpoints from public API discovery on certain WordPress configurations 67 65 68 = 2.5.2 = 66 69 * Fixes PHP 8.1+ warnings by ensuring the 'visible' property of departments is always present before access -
diller-loyalty/trunk/diller-loyalty.php
r3422127 r3440359 6 6 * Plugin URI: https://diller.no/ 7 7 * Description: Diller is a loyalty platform for businesses that is easy, affordable and profitable and integrates seamlessly with your WooCommerce shop. 8 * Version: 2.5. 28 * Version: 2.5.3 9 9 * Author: Diller AS 10 10 * Author URI: https://diller.no/kontakt/ … … 13 13 * Text Domain: diller-loyalty 14 14 * Domain Path: /languages 15 * Stable tag: 2.5. 215 * Stable tag: 2.5.3 16 16 * Requires at least: 4.7 17 17 * Tested up to: 6.8.3 … … 31 31 // Start at version 2.0.0 and use SemVer - https://semver.org 32 32 if ( ! defined( 'DILLER_LOYALTY_VERSION' ) ) { 33 define('DILLER_LOYALTY_VERSION', '2.5. 2');33 define('DILLER_LOYALTY_VERSION', '2.5.3'); 34 34 } 35 35 -
diller-loyalty/trunk/includes/webhooks/class-diller-rest-endpoints.php
r3371774 r3440359 36 36 */ 37 37 public function remove_diller_rest_endpoints_from_public_discovery($result, $instance, $request) { 38 foreach ( $result["namespaces"] ?? array() as $index => $namespace ) { 38 $result = is_object($result) ? (array) $result : $result; 39 40 if (!is_array($result)) { 41 return $result; 42 } 43 44 foreach ( $result["namespaces"] ?? array() as $index => $namespace ) { 39 45 if (preg_match( '/diller-loyalty/i', $namespace )){ 40 46 unset($result["namespaces"][$index]);
Note: See TracChangeset
for help on using the changeset viewer.