Plugin Directory

Changeset 3290161

Timestamp:
05/08/2025 10:30:23 PM (10 months ago)
Author:
codeatlantic
Message:

Update to version 2.6.3 from GitHub

Location:
content-control
Files:
114 edited
1 copied

Legend:

Unmodified
Added
Removed
  • content-control/tags/2.6.3/classes/Base/Upgrade.php

    r3007200 r3290161  
    119119        $return = $this->run();
    120120
    121         unset( $this->stream );
     121        ;
    122122
    123123        if ( is_bool( $return ) || is_wp_error( $return ) ) {
  • content-control/tags/2.6.3/classes/Controllers/Admin/Reviews.php

    r2969631 r3290161  
    4545     * @var string
    4646     */
    47     public static $api_url;
     47    public $api_url;
    4848
    4949    /**
     
    534534        $code = $this->get_trigger_code();
    535535
    536         $conditions = [
    537             $this->already_did(),
    538             $this->last_dismissed() && strtotime( $this->last_dismissed() . ' +2 weeks' ) > time(),
    539             empty( $code ),
    540         ];
    541 
    542         return in_array( true, $conditions, true );
     536        return $this->already_did()
     537            || ( $this->last_dismissed() && strtotime( $this->last_dismissed() . ' +2 weeks' ) > time() )
     538            || empty( $code );
    543539    }
    544540
  • content-control/tags/2.6.3/classes/Controllers/Frontend/Restrictions/PostContent.php

    r3278699 r3290161  
    104104         *
    105105         * @param null|string $pre_restrict_content The content to display.
    106          * @param string $content     The content.
    107          * @param \ContentControl\Models\Restriction $restriction The restriction.
     106         * @param string $content   The content.
     107         * @param \ContentControl\Models\Restriction The restriction.
    108108         *
    109109         * @return string
     
    181181         * Filter to bypass the default restriction message for excerpts.
    182182         *
    183          * @since 2.0.0
     183         * @since 2.
    184184         *
    185185         * @param null|string                        $pre_excerpt      Return a non-null value to bypass.
     
    187187         * @param \ContentControl\Models\Restriction $restriction    The restriction object.
    188188         */
    189         $pre_excerpt = apply_filters( 'content_control/pre_restrict_excerpt', null, $post_excerpt, $restriction );
    190 
    191         if ( null !== $pre_excerpt ) {
    192             return $pre_excerpt;
    193         }
    194 
    195         /**
    196          * Filter the excerpt to display when a post is restricted.
    197          *
    198          * @param string $message     Message to display.
    199          * @param object $restriction Restriction object.
     189        $pre_restrict_excerpt = apply_filters( 'content_control/pre_restrict_excerpt', null, $post_excerpt, $restriction );
     190
     191        if ( null !== $pre_restrict_excerpt ) {
     192            return $pre_restrict_excerpt;
     193        }
     194
     195        $message = \ContentControl\get_default_denial_message();
     196
     197        /**
     198         * If the restriction has a custom message, use it.
     199         *
     200         * We could check $restriction->replacement_type, but we need a safe default for
     201         * all cases. Further we do content filtering for all sub queries and currently
     202         * don't offer a way to override the message for those.
     203         *
     204         * In this way currently users can change to content replacement, set the override
     205         * message, then change back to page replacement and the override message will still
     206         * be used for the post in sub queries.
     207         */
     208        if ( $restriction->get_setting( 'overrideMessage' ) ) {
     209            $message = $restriction->get_message();
     210        }
     211
     212        /**
     213         * Filter the excerpt message to display when a post is restricted.
     214         *
     215         * @param string                             $message     Message to display.
     216         * @param \ContentControl\Models\Restriction $restriction The restriction.
    200217         *
    201218         * @return string
     
    203220        return apply_filters(
    204221            $filter_name,
    205             $restriction->get_message(),
     222            // If the default message is empty, show a generic message.
     223            ! empty( $message ) ? $message : __( 'This content is restricted.', 'content-control' ),
    206224            $restriction
    207225        );
  • content-control/tags/2.6.3/classes/Controllers/RestAPI.php

    r3256177 r3290161  
    2727
    2828        // Handle CPT & Taxonomy that are not registered with the `show_in_rest` arg when searching from our settings pages.
    29         add_filter( 'register_post_type_args', [ $this, 'modify_post_type_show_in_rest' ], 10, 2 );
    30         add_filter( 'register_taxonomy_args', [ $this, 'modify_taxonomy_show_in_rest' ], 10, 2 );
     29        add_filter( 'register_post_type_args', [ $this, 'modify_post_type_show_in_rest' ], 10 );
     30        add_filter( 'register_taxonomy_args', [ $this, 'modify_taxonomy_show_in_rest' ], 10 );
    3131    }
    3232
  • content-control/tags/2.6.3/classes/Controllers/Shortcodes.php

    r3278699 r3290161  
    116116     */
    117117    public function normalize_empty_atts( $atts = [] ) {
     118
     119
    118120        if ( ! is_array( $atts ) || empty( $atts ) ) {
    119121            $atts = [];
  • content-control/tags/2.6.3/classes/Plugin/Core.php

    r3137162 r3290161  
    302302    public function register_controllers( $controllers = [] ) {
    303303        foreach ( $controllers as $name => $controller ) {
     304
     305
    304306            if ( $controller instanceof Controller ) {
    305307                if ( $controller->controller_enabled() ) {
  • content-control/tags/2.6.3/classes/Plugin/Upgrader.php

    r2970153 r3290161  
    144144        // 1. Check if the plugin exists already, if so upgrade it.
    145145
    146         // Error check.
     146        // Error check. Sanity check to ensure install method exists.
     147        // @phpstan-ignore-next-line .
    147148        if ( ! method_exists( $installer, 'install' ) ) {
    148149            return new \WP_Error( 'content_control_upgrader', __( 'Upgrader missing install method.', 'content-control' ) );
  • content-control/tags/2.6.3/classes/RestAPI/BlockTypes.php

    r3007200 r3290161  
    9696        $error_message = __( 'Something went wrong, the block types could not be updated.', 'content-control' );
    9797
     98
     99
    98100        if ( ! is_array( get_block_types() ) ) {
    99101            return new WP_Error( '500', $error_message, [ 'status' => 500 ] );
  • content-control/tags/2.6.3/classes/RestAPI/ObjectSearch.php

    r3053151 r3290161  
    261261            }
    262262
    263             // Take out keys which were only used to deduplicate.
    264             $results['items'] = array_values( $results['items'] );
    265 
    266263            return new WP_REST_Response( $results, 200 );
    267264        } catch ( \Exception $e ) {
  • content-control/tags/2.6.3/classes/RuleEngine/Rules.php

    r3256177 r3290161  
    102102     */
    103103    public function is_rule_valid( $rule ) {
    104         return is_array( $rule ) && ! empty( $rule );
     104        return ! empty( $rule );
    105105    }
    106106
     
    480480             * @param array<string,array<string,mixed>> $type_rules Post type rules.
    481481             * @param string $name Post type name.
     482
    482483             *
    483484             * @return array<string,array<string,mixed>>
  • content-control/tags/2.6.3/content-control.php

    r3278699 r3290161  
    44 * Plugin URI: https://contentcontrolplugin.com/?utm_campaign=plugin-info&utm_source=php-file-header&utm_medium=plugin-ui&utm_content=plugin-uri
    55 * Description: Restrict content to logged in/out users or specific user roles. Restrict access to certain parts of a page/post. Control the visibility of widgets.
    6  * Version: 2.6.2
     6 * Version: 2.6.
    77 * Author: Code Atlantic
    88 * Author URI: https://code-atlantic.com/?utm_campaign=plugin-info&utm_source=php-file-header&utm_medium=plugin-ui&utm_content=author-uri
     
    3131        'name'          => 'Content Control',
    3232        'slug'          => 'content-control',
    33         'version'       => '2.6.2',
     33        'version'       => '2.6.',
    3434        'option_prefix' => 'content_control',
    3535        // Maybe remove this and simply prefix `name` with `'Popup Maker'`.
  • content-control/tags/2.6.3/inc/functions/rule-callbacks.php

    r3256177 r3290161  
    103103        case 'restapi/terms':
    104104        case 'unknown':
    105             return false;
    106     }
    107 
    108     // Catch all unknown contexts.
    109     return false;
     105        default:
     106            return false;
     107    }
    110108}
    111109
     
    148146        case 'terms':
    149147        case 'unknown':
    150             return false;
    151     }
    152 
    153     return false;
     148        default:
     149            return false;
     150    }
    154151}
    155152
     
    207204        case 'terms':
    208205        case 'unknown':
    209             return false;
    210     }
    211 
    212     return false;
     206        default:
     207            return false;
     208    }
    213209}
    214210
     
    266262        case 'terms':
    267263        case 'unknown':
    268             return false;
    269     }
    270 
    271     return false;
     264        default:
     265            return false;
     266    }
    272267}
    273268
     
    329324        case 'terms':
    330325        case 'unknown':
    331             return false;
    332     }
    333 
    334     return false;
     326        default:
     327            return false;
     328    }
    335329}
    336330
     
    708702        case 'terms':
    709703        case 'unknown':
    710             return false;
    711     }
    712 
    713     return false;
     704        default:
     705            return false;
     706    }
    714707}
    715708
  • content-control/tags/2.6.3/inc/functions/rules.php

    r3053151 r3290161  
    113113         * @return array
    114114         */
    115         $roles = apply_filters( 'content_control/user_roles', wp_roles()->get_names() );
     115        $roles = apply_filters( 'content_control/user_roles', wp_roles()->get_names() );
    116116
    117         if ( ! is_array( $roles ) || empty( $roles ) ) {
     117        if ( empty( $roles ) ) {
    118118            $roles = [];
    119119        }
  • content-control/tags/2.6.3/uninstall.php

    r2969631 r3290161  
    2525        'content_control_completed_upgrades',
    2626    ];
     27
     28
     29
     30
    2731}
  • content-control/tags/2.6.3/vendor-prefixed/pimple/pimple/src/Pimple/Container.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/tags/2.6.3/vendor-prefixed/pimple/pimple/src/Pimple/Exception/ExpectedInvokableException.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/tags/2.6.3/vendor-prefixed/pimple/pimple/src/Pimple/Exception/FrozenServiceException.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/tags/2.6.3/vendor-prefixed/pimple/pimple/src/Pimple/Exception/InvalidServiceIdentifierException.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/tags/2.6.3/vendor-prefixed/pimple/pimple/src/Pimple/Exception/UnknownIdentifierException.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/tags/2.6.3/vendor-prefixed/pimple/pimple/src/Pimple/Psr11/Container.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/tags/2.6.3/vendor-prefixed/pimple/pimple/src/Pimple/Psr11/ServiceLocator.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/tags/2.6.3/vendor-prefixed/pimple/pimple/src/Pimple/ServiceIterator.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/tags/2.6.3/vendor-prefixed/pimple/pimple/src/Pimple/ServiceProviderInterface.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/tags/2.6.3/vendor-prefixed/pimple/pimple/src/Pimple/Tests/Fixtures/Invokable.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/tags/2.6.3/vendor-prefixed/pimple/pimple/src/Pimple/Tests/Fixtures/NonInvokable.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/tags/2.6.3/vendor-prefixed/pimple/pimple/src/Pimple/Tests/Fixtures/PimpleServiceProvider.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/tags/2.6.3/vendor-prefixed/pimple/pimple/src/Pimple/Tests/Fixtures/Service.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/tags/2.6.3/vendor-prefixed/pimple/pimple/src/Pimple/Tests/PimpleServiceProviderInterfaceTest.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/tags/2.6.3/vendor-prefixed/pimple/pimple/src/Pimple/Tests/PimpleTest.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/tags/2.6.3/vendor-prefixed/pimple/pimple/src/Pimple/Tests/Psr11/ContainerTest.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/tags/2.6.3/vendor-prefixed/pimple/pimple/src/Pimple/Tests/Psr11/ServiceLocatorTest.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/tags/2.6.3/vendor-prefixed/pimple/pimple/src/Pimple/Tests/ServiceIteratorTest.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/tags/2.6.3/vendor-prefixed/psr/container/src/ContainerExceptionInterface.php

    r3278699 r3290161  
    33 * @license MIT
    44 *
    5  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     5 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    66 */
    77
  • content-control/tags/2.6.3/vendor-prefixed/psr/container/src/ContainerInterface.php

    r3278699 r3290161  
    33 * @license MIT
    44 *
    5  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     5 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    66 */
    77
  • content-control/tags/2.6.3/vendor-prefixed/psr/container/src/NotFoundExceptionInterface.php

    r3278699 r3290161  
    33 * @license MIT
    44 *
    5  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     5 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    66 */
    77
  • content-control/tags/2.6.3/vendor-prefixed/trustedlogin/client/src/Admin.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/tags/2.6.3/vendor-prefixed/trustedlogin/client/src/Ajax.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/tags/2.6.3/vendor-prefixed/trustedlogin/client/src/Client.php

    r3278699 r3290161  
    1919 *
    2020 * @license GPL-2.0-or-later
    21  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     21 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2222 */
    2323
  • content-control/tags/2.6.3/vendor-prefixed/trustedlogin/client/src/Config.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/tags/2.6.3/vendor-prefixed/trustedlogin/client/src/Cron.php

    r3278699 r3290161  
    66 *
    77 * @license GPL-2.0-or-later
    8  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     8 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    99 */
    1010
  • content-control/tags/2.6.3/vendor-prefixed/trustedlogin/client/src/Encryption.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/tags/2.6.3/vendor-prefixed/trustedlogin/client/src/Endpoint.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/tags/2.6.3/vendor-prefixed/trustedlogin/client/src/Envelope.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/tags/2.6.3/vendor-prefixed/trustedlogin/client/src/Form.php

    r3278699 r3290161  
    33 * @license GPL-2.0-or-later
    44 *
    5  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     5 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    66 */
    77/**
  • content-control/tags/2.6.3/vendor-prefixed/trustedlogin/client/src/Logger.php

    r3278699 r3290161  
    1010 *
    1111 * @license GPL-2.0-or-later
    12  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     12 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1313 */
    1414
  • content-control/tags/2.6.3/vendor-prefixed/trustedlogin/client/src/Logging.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/tags/2.6.3/vendor-prefixed/trustedlogin/client/src/Remote.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/tags/2.6.3/vendor-prefixed/trustedlogin/client/src/SecurityChecks.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/tags/2.6.3/vendor-prefixed/trustedlogin/client/src/SiteAccess.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/tags/2.6.3/vendor-prefixed/trustedlogin/client/src/SupportRole.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/tags/2.6.3/vendor-prefixed/trustedlogin/client/src/SupportUser.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/tags/2.6.3/vendor-prefixed/trustedlogin/client/src/Utils.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/tags/2.6.3/vendor/autoload.php

    r3278699 r3290161  
    2020require_once __DIR__ . '/composer/autoload_real.php';
    2121
    22 return ComposerAutoloaderInit2590a902ca8d302f546143f2cb997562::getLoader();
     22return ComposerAutoloaderInit22::getLoader();
  • content-control/tags/2.6.3/vendor/composer/autoload_real.php

    r3278699 r3290161  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit2590a902ca8d302f546143f2cb997562
     5class ComposerAutoloaderInit22
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit2590a902ca8d302f546143f2cb997562', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInit22', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit2590a902ca8d302f546143f2cb997562', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit22', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInit2590a902ca8d302f546143f2cb997562::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInit22::getInitializer($loader));
    3333
    3434        $loader->register(true);
  • content-control/tags/2.6.3/vendor/composer/autoload_static.php

    r3278699 r3290161  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit2590a902ca8d302f546143f2cb997562
     7class ComposerStaticInit22
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    239239    {
    240240        return \Closure::bind(function () use ($loader) {
    241             $loader->prefixLengthsPsr4 = ComposerStaticInit2590a902ca8d302f546143f2cb997562::$prefixLengthsPsr4;
    242             $loader->prefixDirsPsr4 = ComposerStaticInit2590a902ca8d302f546143f2cb997562::$prefixDirsPsr4;
    243             $loader->classMap = ComposerStaticInit2590a902ca8d302f546143f2cb997562::$classMap;
     241            $loader->prefixLengthsPsr4 = ComposerStaticInit22::$prefixLengthsPsr4;
     242            $loader->prefixDirsPsr4 = ComposerStaticInit22::$prefixDirsPsr4;
     243            $loader->classMap = ComposerStaticInit22::$classMap;
    244244
    245245        }, null, ClassLoader::class);
  • content-control/tags/2.6.3/vendor/composer/installed.php

    r3278699 r3290161  
    22    'root' => array(
    33        'name' => 'code-atlantic/content-control',
    4         'pretty_version' => '2.6.2',
    5         'version' => '2.6.2.0',
    6         'reference' => null,
     4        'pretty_version' => '',
     5        'version' => '2.6..0',
     6        'reference' => ,
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'code-atlantic/content-control' => array(
    14             'pretty_version' => '2.6.2',
    15             'version' => '2.6.2.0',
    16             'reference' => null,
     14            'pretty_version' => '',
     15            'version' => '2.6..0',
     16            'reference' => ,
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • content-control/tags/2.6.3/vendor/composer/platform_check.php

    r3055651 r3290161  
    55$issues = array();
    66
    7 if (!(PHP_VERSION_ID >= 70200)) {
    8     $issues[] = 'Your Composer dependencies require a PHP version ">= 7.2.0". You are running ' . PHP_VERSION . '.';
     7if (!(PHP_VERSION_ID >= 7000)) {
     8    $issues[] = 'Your Composer dependencies require a PHP version ">= 7..0". You are running ' . PHP_VERSION . '.';
    99}
    1010
  • content-control/trunk/classes/Base/Upgrade.php

    r3007200 r3290161  
    119119        $return = $this->run();
    120120
    121         unset( $this->stream );
     121        ;
    122122
    123123        if ( is_bool( $return ) || is_wp_error( $return ) ) {
  • content-control/trunk/classes/Controllers/Admin/Reviews.php

    r2969631 r3290161  
    4545     * @var string
    4646     */
    47     public static $api_url;
     47    public $api_url;
    4848
    4949    /**
     
    534534        $code = $this->get_trigger_code();
    535535
    536         $conditions = [
    537             $this->already_did(),
    538             $this->last_dismissed() && strtotime( $this->last_dismissed() . ' +2 weeks' ) > time(),
    539             empty( $code ),
    540         ];
    541 
    542         return in_array( true, $conditions, true );
     536        return $this->already_did()
     537            || ( $this->last_dismissed() && strtotime( $this->last_dismissed() . ' +2 weeks' ) > time() )
     538            || empty( $code );
    543539    }
    544540
  • content-control/trunk/classes/Controllers/Frontend/Restrictions/PostContent.php

    r3278699 r3290161  
    104104         *
    105105         * @param null|string $pre_restrict_content The content to display.
    106          * @param string $content     The content.
    107          * @param \ContentControl\Models\Restriction $restriction The restriction.
     106         * @param string $content   The content.
     107         * @param \ContentControl\Models\Restriction The restriction.
    108108         *
    109109         * @return string
     
    181181         * Filter to bypass the default restriction message for excerpts.
    182182         *
    183          * @since 2.0.0
     183         * @since 2.
    184184         *
    185185         * @param null|string                        $pre_excerpt      Return a non-null value to bypass.
     
    187187         * @param \ContentControl\Models\Restriction $restriction    The restriction object.
    188188         */
    189         $pre_excerpt = apply_filters( 'content_control/pre_restrict_excerpt', null, $post_excerpt, $restriction );
    190 
    191         if ( null !== $pre_excerpt ) {
    192             return $pre_excerpt;
    193         }
    194 
    195         /**
    196          * Filter the excerpt to display when a post is restricted.
    197          *
    198          * @param string $message     Message to display.
    199          * @param object $restriction Restriction object.
     189        $pre_restrict_excerpt = apply_filters( 'content_control/pre_restrict_excerpt', null, $post_excerpt, $restriction );
     190
     191        if ( null !== $pre_restrict_excerpt ) {
     192            return $pre_restrict_excerpt;
     193        }
     194
     195        $message = \ContentControl\get_default_denial_message();
     196
     197        /**
     198         * If the restriction has a custom message, use it.
     199         *
     200         * We could check $restriction->replacement_type, but we need a safe default for
     201         * all cases. Further we do content filtering for all sub queries and currently
     202         * don't offer a way to override the message for those.
     203         *
     204         * In this way currently users can change to content replacement, set the override
     205         * message, then change back to page replacement and the override message will still
     206         * be used for the post in sub queries.
     207         */
     208        if ( $restriction->get_setting( 'overrideMessage' ) ) {
     209            $message = $restriction->get_message();
     210        }
     211
     212        /**
     213         * Filter the excerpt message to display when a post is restricted.
     214         *
     215         * @param string                             $message     Message to display.
     216         * @param \ContentControl\Models\Restriction $restriction The restriction.
    200217         *
    201218         * @return string
     
    203220        return apply_filters(
    204221            $filter_name,
    205             $restriction->get_message(),
     222            // If the default message is empty, show a generic message.
     223            ! empty( $message ) ? $message : __( 'This content is restricted.', 'content-control' ),
    206224            $restriction
    207225        );
  • content-control/trunk/classes/Controllers/RestAPI.php

    r3256177 r3290161  
    2727
    2828        // Handle CPT & Taxonomy that are not registered with the `show_in_rest` arg when searching from our settings pages.
    29         add_filter( 'register_post_type_args', [ $this, 'modify_post_type_show_in_rest' ], 10, 2 );
    30         add_filter( 'register_taxonomy_args', [ $this, 'modify_taxonomy_show_in_rest' ], 10, 2 );
     29        add_filter( 'register_post_type_args', [ $this, 'modify_post_type_show_in_rest' ], 10 );
     30        add_filter( 'register_taxonomy_args', [ $this, 'modify_taxonomy_show_in_rest' ], 10 );
    3131    }
    3232
  • content-control/trunk/classes/Controllers/Shortcodes.php

    r3278699 r3290161  
    116116     */
    117117    public function normalize_empty_atts( $atts = [] ) {
     118
     119
    118120        if ( ! is_array( $atts ) || empty( $atts ) ) {
    119121            $atts = [];
  • content-control/trunk/classes/Plugin/Core.php

    r3137162 r3290161  
    302302    public function register_controllers( $controllers = [] ) {
    303303        foreach ( $controllers as $name => $controller ) {
     304
     305
    304306            if ( $controller instanceof Controller ) {
    305307                if ( $controller->controller_enabled() ) {
  • content-control/trunk/classes/Plugin/Upgrader.php

    r2970153 r3290161  
    144144        // 1. Check if the plugin exists already, if so upgrade it.
    145145
    146         // Error check.
     146        // Error check. Sanity check to ensure install method exists.
     147        // @phpstan-ignore-next-line .
    147148        if ( ! method_exists( $installer, 'install' ) ) {
    148149            return new \WP_Error( 'content_control_upgrader', __( 'Upgrader missing install method.', 'content-control' ) );
  • content-control/trunk/classes/RestAPI/BlockTypes.php

    r3007200 r3290161  
    9696        $error_message = __( 'Something went wrong, the block types could not be updated.', 'content-control' );
    9797
     98
     99
    98100        if ( ! is_array( get_block_types() ) ) {
    99101            return new WP_Error( '500', $error_message, [ 'status' => 500 ] );
  • content-control/trunk/classes/RestAPI/ObjectSearch.php

    r3053151 r3290161  
    261261            }
    262262
    263             // Take out keys which were only used to deduplicate.
    264             $results['items'] = array_values( $results['items'] );
    265 
    266263            return new WP_REST_Response( $results, 200 );
    267264        } catch ( \Exception $e ) {
  • content-control/trunk/classes/RuleEngine/Rules.php

    r3256177 r3290161  
    102102     */
    103103    public function is_rule_valid( $rule ) {
    104         return is_array( $rule ) && ! empty( $rule );
     104        return ! empty( $rule );
    105105    }
    106106
     
    480480             * @param array<string,array<string,mixed>> $type_rules Post type rules.
    481481             * @param string $name Post type name.
     482
    482483             *
    483484             * @return array<string,array<string,mixed>>
  • content-control/trunk/content-control.php

    r3278699 r3290161  
    44 * Plugin URI: https://contentcontrolplugin.com/?utm_campaign=plugin-info&utm_source=php-file-header&utm_medium=plugin-ui&utm_content=plugin-uri
    55 * Description: Restrict content to logged in/out users or specific user roles. Restrict access to certain parts of a page/post. Control the visibility of widgets.
    6  * Version: 2.6.2
     6 * Version: 2.6.
    77 * Author: Code Atlantic
    88 * Author URI: https://code-atlantic.com/?utm_campaign=plugin-info&utm_source=php-file-header&utm_medium=plugin-ui&utm_content=author-uri
     
    3131        'name'          => 'Content Control',
    3232        'slug'          => 'content-control',
    33         'version'       => '2.6.2',
     33        'version'       => '2.6.',
    3434        'option_prefix' => 'content_control',
    3535        // Maybe remove this and simply prefix `name` with `'Popup Maker'`.
  • content-control/trunk/inc/functions/rule-callbacks.php

    r3256177 r3290161  
    103103        case 'restapi/terms':
    104104        case 'unknown':
    105             return false;
    106     }
    107 
    108     // Catch all unknown contexts.
    109     return false;
     105        default:
     106            return false;
     107    }
    110108}
    111109
     
    148146        case 'terms':
    149147        case 'unknown':
    150             return false;
    151     }
    152 
    153     return false;
     148        default:
     149            return false;
     150    }
    154151}
    155152
     
    207204        case 'terms':
    208205        case 'unknown':
    209             return false;
    210     }
    211 
    212     return false;
     206        default:
     207            return false;
     208    }
    213209}
    214210
     
    266262        case 'terms':
    267263        case 'unknown':
    268             return false;
    269     }
    270 
    271     return false;
     264        default:
     265            return false;
     266    }
    272267}
    273268
     
    329324        case 'terms':
    330325        case 'unknown':
    331             return false;
    332     }
    333 
    334     return false;
     326        default:
     327            return false;
     328    }
    335329}
    336330
     
    708702        case 'terms':
    709703        case 'unknown':
    710             return false;
    711     }
    712 
    713     return false;
     704        default:
     705            return false;
     706    }
    714707}
    715708
  • content-control/trunk/inc/functions/rules.php

    r3053151 r3290161  
    113113         * @return array
    114114         */
    115         $roles = apply_filters( 'content_control/user_roles', wp_roles()->get_names() );
     115        $roles = apply_filters( 'content_control/user_roles', wp_roles()->get_names() );
    116116
    117         if ( ! is_array( $roles ) || empty( $roles ) ) {
     117        if ( empty( $roles ) ) {
    118118            $roles = [];
    119119        }
  • content-control/trunk/uninstall.php

    r2969631 r3290161  
    2525        'content_control_completed_upgrades',
    2626    ];
     27
     28
     29
     30
    2731}
  • content-control/trunk/vendor-prefixed/pimple/pimple/src/Pimple/Container.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/trunk/vendor-prefixed/pimple/pimple/src/Pimple/Exception/ExpectedInvokableException.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/trunk/vendor-prefixed/pimple/pimple/src/Pimple/Exception/FrozenServiceException.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/trunk/vendor-prefixed/pimple/pimple/src/Pimple/Exception/InvalidServiceIdentifierException.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/trunk/vendor-prefixed/pimple/pimple/src/Pimple/Exception/UnknownIdentifierException.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/trunk/vendor-prefixed/pimple/pimple/src/Pimple/Psr11/Container.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/trunk/vendor-prefixed/pimple/pimple/src/Pimple/Psr11/ServiceLocator.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/trunk/vendor-prefixed/pimple/pimple/src/Pimple/ServiceIterator.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/trunk/vendor-prefixed/pimple/pimple/src/Pimple/ServiceProviderInterface.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/trunk/vendor-prefixed/pimple/pimple/src/Pimple/Tests/Fixtures/Invokable.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/trunk/vendor-prefixed/pimple/pimple/src/Pimple/Tests/Fixtures/NonInvokable.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/trunk/vendor-prefixed/pimple/pimple/src/Pimple/Tests/Fixtures/PimpleServiceProvider.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/trunk/vendor-prefixed/pimple/pimple/src/Pimple/Tests/Fixtures/Service.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/trunk/vendor-prefixed/pimple/pimple/src/Pimple/Tests/PimpleServiceProviderInterfaceTest.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/trunk/vendor-prefixed/pimple/pimple/src/Pimple/Tests/PimpleTest.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/trunk/vendor-prefixed/pimple/pimple/src/Pimple/Tests/Psr11/ContainerTest.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/trunk/vendor-prefixed/pimple/pimple/src/Pimple/Tests/Psr11/ServiceLocatorTest.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/trunk/vendor-prefixed/pimple/pimple/src/Pimple/Tests/ServiceIteratorTest.php

    r3278699 r3290161  
    2424 * THE SOFTWARE.
    2525 *
    26  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     26 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2727 */
    2828
  • content-control/trunk/vendor-prefixed/psr/container/src/ContainerExceptionInterface.php

    r3278699 r3290161  
    33 * @license MIT
    44 *
    5  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     5 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    66 */
    77
  • content-control/trunk/vendor-prefixed/psr/container/src/ContainerInterface.php

    r3278699 r3290161  
    33 * @license MIT
    44 *
    5  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     5 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    66 */
    77
  • content-control/trunk/vendor-prefixed/psr/container/src/NotFoundExceptionInterface.php

    r3278699 r3290161  
    33 * @license MIT
    44 *
    5  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     5 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    66 */
    77
  • content-control/trunk/vendor-prefixed/trustedlogin/client/src/Admin.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/trunk/vendor-prefixed/trustedlogin/client/src/Ajax.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/trunk/vendor-prefixed/trustedlogin/client/src/Client.php

    r3278699 r3290161  
    1919 *
    2020 * @license GPL-2.0-or-later
    21  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     21 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    2222 */
    2323
  • content-control/trunk/vendor-prefixed/trustedlogin/client/src/Config.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/trunk/vendor-prefixed/trustedlogin/client/src/Cron.php

    r3278699 r3290161  
    66 *
    77 * @license GPL-2.0-or-later
    8  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     8 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    99 */
    1010
  • content-control/trunk/vendor-prefixed/trustedlogin/client/src/Encryption.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/trunk/vendor-prefixed/trustedlogin/client/src/Endpoint.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/trunk/vendor-prefixed/trustedlogin/client/src/Envelope.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/trunk/vendor-prefixed/trustedlogin/client/src/Form.php

    r3278699 r3290161  
    33 * @license GPL-2.0-or-later
    44 *
    5  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     5 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    66 */
    77/**
  • content-control/trunk/vendor-prefixed/trustedlogin/client/src/Logger.php

    r3278699 r3290161  
    1010 *
    1111 * @license GPL-2.0-or-later
    12  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     12 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1313 */
    1414
  • content-control/trunk/vendor-prefixed/trustedlogin/client/src/Logging.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/trunk/vendor-prefixed/trustedlogin/client/src/Remote.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/trunk/vendor-prefixed/trustedlogin/client/src/SecurityChecks.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/trunk/vendor-prefixed/trustedlogin/client/src/SiteAccess.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/trunk/vendor-prefixed/trustedlogin/client/src/SupportRole.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/trunk/vendor-prefixed/trustedlogin/client/src/SupportUser.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/trunk/vendor-prefixed/trustedlogin/client/src/Utils.php

    r3278699 r3290161  
    88 *
    99 * @license GPL-2.0-or-later
    10  * Modified by code-atlantic on 22-April-2025 using {@see https://github.com/BrianHenryIE/strauss}.
     10 * Modified by code-atlantic on -2025 using {@see https://github.com/BrianHenryIE/strauss}.
    1111 */
    1212
  • content-control/trunk/vendor/autoload.php

    r3278699 r3290161  
    2020require_once __DIR__ . '/composer/autoload_real.php';
    2121
    22 return ComposerAutoloaderInit2590a902ca8d302f546143f2cb997562::getLoader();
     22return ComposerAutoloaderInit22::getLoader();
  • content-control/trunk/vendor/composer/autoload_real.php

    r3278699 r3290161  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit2590a902ca8d302f546143f2cb997562
     5class ComposerAutoloaderInit22
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit2590a902ca8d302f546143f2cb997562', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInit22', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit2590a902ca8d302f546143f2cb997562', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit22', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInit2590a902ca8d302f546143f2cb997562::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInit22::getInitializer($loader));
    3333
    3434        $loader->register(true);
  • content-control/trunk/vendor/composer/autoload_static.php

    r3278699 r3290161  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit2590a902ca8d302f546143f2cb997562
     7class ComposerStaticInit22
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    239239    {
    240240        return \Closure::bind(function () use ($loader) {
    241             $loader->prefixLengthsPsr4 = ComposerStaticInit2590a902ca8d302f546143f2cb997562::$prefixLengthsPsr4;
    242             $loader->prefixDirsPsr4 = ComposerStaticInit2590a902ca8d302f546143f2cb997562::$prefixDirsPsr4;
    243             $loader->classMap = ComposerStaticInit2590a902ca8d302f546143f2cb997562::$classMap;
     241            $loader->prefixLengthsPsr4 = ComposerStaticInit22::$prefixLengthsPsr4;
     242            $loader->prefixDirsPsr4 = ComposerStaticInit22::$prefixDirsPsr4;
     243            $loader->classMap = ComposerStaticInit22::$classMap;
    244244
    245245        }, null, ClassLoader::class);
  • content-control/trunk/vendor/composer/installed.php

    r3278699 r3290161  
    22    'root' => array(
    33        'name' => 'code-atlantic/content-control',
    4         'pretty_version' => '2.6.2',
    5         'version' => '2.6.2.0',
    6         'reference' => null,
     4        'pretty_version' => '',
     5        'version' => '2.6..0',
     6        'reference' => ,
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'code-atlantic/content-control' => array(
    14             'pretty_version' => '2.6.2',
    15             'version' => '2.6.2.0',
    16             'reference' => null,
     14            'pretty_version' => '',
     15            'version' => '2.6..0',
     16            'reference' => ,
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • content-control/trunk/vendor/composer/platform_check.php

    r3055651 r3290161  
    55$issues = array();
    66
    7 if (!(PHP_VERSION_ID >= 70200)) {
    8     $issues[] = 'Your Composer dependencies require a PHP version ">= 7.2.0". You are running ' . PHP_VERSION . '.';
     7if (!(PHP_VERSION_ID >= 7000)) {
     8    $issues[] = 'Your Composer dependencies require a PHP version ">= 7..0". You are running ' . PHP_VERSION . '.';
    99}
    1010
Note: See TracChangeset for help on using the changeset viewer.