Changeset 2793954
- Timestamp:
- 10/04/2022 09:45:53 AM (3 years ago)
- Location:
- integromat-connector
- Files:
-
- 7 edited
- 1 copied
-
tags/1.5.3/class/class-guard.php (modified) (1 diff)
-
tags/1.5.4 (copied) (copied from integromat-connector/trunk)
-
tags/1.5.4/class/class-guard.php (modified) (1 diff)
-
tags/1.5.4/index.php (modified) (2 diffs)
-
tags/1.5.4/readme.txt (modified) (1 diff)
-
trunk/class/class-guard.php (modified) (1 diff)
-
trunk/index.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
integromat-connector/tags/1.5.3/class/class-guard.php
r2784613 r2793954 10 10 public static function is_protected() { 11 11 $entities = array( 'posts', 'users', 'comments', 'tags', 'categories', 'media' ); 12 $json_ ase = str_replace( get_site_url(), '', get_rest_url( null, 'wp/v2/' ) );12 $json_base = str_replace( get_site_url(), '', get_rest_url( null, 'wp/v2/' ) ); 13 13 $endpoint = str_replace( $json_base, '', sanitize_url( $_SERVER['REQUEST_URI'] ) ); 14 14 $f = explode( '/', $endpoint ); -
integromat-connector/tags/1.5.4/class/class-guard.php
r2784613 r2793954 9 9 */ 10 10 public static function is_protected() { 11 $entities = array( 'posts', 'users', 'comments', 'tags', 'categories', 'media' );12 $json_ ase = str_replace( get_site_url(), '', get_rest_url( null, 'wp/v2/' ) );13 $endpoint = str_replace( $json_base, '', sanitize_url( $_SERVER['REQUEST_URI'] ) );14 $f = explode( '/', $endpoint );11 $entities = array( 'posts', 'users', 'comments', 'tags', 'categories', 'media' ); 12 $json_base = str_replace( get_site_url(), '', get_rest_url( null, 'wp/v2/' ) ); 13 $endpoint = str_replace( $json_base, '', sanitize_url( $_SERVER['REQUEST_URI'] ) ); 14 $f = explode( '/', $endpoint ); 15 15 return in_array( $f[0], $entities, true ) && in_array( $_SERVER['REQUEST_METHOD'], array( 'POST', 'PUT', 'DELETE' ) ); 16 16 } -
integromat-connector/tags/1.5.4/index.php
r2783423 r2793954 3 3 /** 4 4 * @package Integromat_Connector 5 * @version 1.5. 35 * @version 1.5.4 6 6 */ 7 7 … … 11 11 Author: Celonis s.r.o. 12 12 Author URI: https://www.make.com/en?utm_source=wordpress&utm_medium=partner&utm_campaign=wordpress-partner-make 13 Version: 1.5. 313 Version: 1.5.4 14 14 */ 15 15 -
integromat-connector/tags/1.5.4/readme.txt
r2783423 r2793954 5 5 Tested up to: 6.0.1 6 6 Requires PHP: 5.6 7 Stable tag: 1.5. 37 Stable tag: 1.5.4 8 8 License: GPLv2 or later 9 9 -
integromat-connector/trunk/class/class-guard.php
r2784613 r2793954 9 9 */ 10 10 public static function is_protected() { 11 $entities = array( 'posts', 'users', 'comments', 'tags', 'categories', 'media' );12 $json_ ase = str_replace( get_site_url(), '', get_rest_url( null, 'wp/v2/' ) );13 $endpoint = str_replace( $json_base, '', sanitize_url( $_SERVER['REQUEST_URI'] ) );14 $f = explode( '/', $endpoint );11 $entities = array( 'posts', 'users', 'comments', 'tags', 'categories', 'media' ); 12 $json_base = str_replace( get_site_url(), '', get_rest_url( null, 'wp/v2/' ) ); 13 $endpoint = str_replace( $json_base, '', sanitize_url( $_SERVER['REQUEST_URI'] ) ); 14 $f = explode( '/', $endpoint ); 15 15 return in_array( $f[0], $entities, true ) && in_array( $_SERVER['REQUEST_METHOD'], array( 'POST', 'PUT', 'DELETE' ) ); 16 16 } -
integromat-connector/trunk/index.php
r2783423 r2793954 3 3 /** 4 4 * @package Integromat_Connector 5 * @version 1.5. 35 * @version 1.5.4 6 6 */ 7 7 … … 11 11 Author: Celonis s.r.o. 12 12 Author URI: https://www.make.com/en?utm_source=wordpress&utm_medium=partner&utm_campaign=wordpress-partner-make 13 Version: 1.5. 313 Version: 1.5.4 14 14 */ 15 15 -
integromat-connector/trunk/readme.txt
r2783423 r2793954 5 5 Tested up to: 6.0.1 6 6 Requires PHP: 5.6 7 Stable tag: 1.5. 37 Stable tag: 1.5.4 8 8 License: GPLv2 or later 9 9
Note: See TracChangeset
for help on using the changeset viewer.