Plugin Directory

Changeset 2793954


Ignore:
Timestamp:
10/04/2022 09:45:53 AM (3 years ago)
Author:
integromat
Message:

Fix variable typo

Location:
integromat-connector
Files:
7 edited
1 copied

Legend:

Unmodified
Added
Removed
  • integromat-connector/tags/1.5.3/class/class-guard.php

    r2784613 r2793954  
    1010    public static function is_protected() {
    1111        $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/' ) );
    1313        $endpoint = str_replace( $json_base, '', sanitize_url( $_SERVER['REQUEST_URI'] ) );
    1414        $f        = explode( '/', $endpoint );
  • integromat-connector/tags/1.5.4/class/class-guard.php

    r2784613 r2793954  
    99     */
    1010    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 );
    1515        return in_array( $f[0], $entities, true ) && in_array( $_SERVER['REQUEST_METHOD'], array( 'POST', 'PUT', 'DELETE' ) );
    1616    }
  • integromat-connector/tags/1.5.4/index.php

    r2783423 r2793954  
    33/**
    44 * @package Integromat_Connector
    5  * @version 1.5.3
     5 * @version 1.5.4
    66 */
    77
     
    1111Author: Celonis s.r.o.
    1212Author URI: https://www.make.com/en?utm_source=wordpress&utm_medium=partner&utm_campaign=wordpress-partner-make
    13 Version: 1.5.3
     13Version: 1.5.4
    1414*/
    1515
  • integromat-connector/tags/1.5.4/readme.txt

    r2783423 r2793954  
    55Tested up to:  6.0.1
    66Requires PHP: 5.6
    7 Stable tag: 1.5.3
     7Stable tag: 1.5.4
    88License: GPLv2 or later
    99
  • integromat-connector/trunk/class/class-guard.php

    r2784613 r2793954  
    99     */
    1010    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 );
    1515        return in_array( $f[0], $entities, true ) && in_array( $_SERVER['REQUEST_METHOD'], array( 'POST', 'PUT', 'DELETE' ) );
    1616    }
  • integromat-connector/trunk/index.php

    r2783423 r2793954  
    33/**
    44 * @package Integromat_Connector
    5  * @version 1.5.3
     5 * @version 1.5.4
    66 */
    77
     
    1111Author: Celonis s.r.o.
    1212Author URI: https://www.make.com/en?utm_source=wordpress&utm_medium=partner&utm_campaign=wordpress-partner-make
    13 Version: 1.5.3
     13Version: 1.5.4
    1414*/
    1515
  • integromat-connector/trunk/readme.txt

    r2783423 r2793954  
    55Tested up to:  6.0.1
    66Requires PHP: 5.6
    7 Stable tag: 1.5.3
     7Stable tag: 1.5.4
    88License: GPLv2 or later
    99
Note: See TracChangeset for help on using the changeset viewer.