Plugin Directory

Changeset 3219885


Ignore:
Timestamp:
01/09/2025 09:35:30 PM (15 months ago)
Author:
tcordero
Message:

Update to version 1.8.0 from GitHub

Location:
safety-exit
Files:
14 added
4 deleted
20 edited
1 copied

Legend:

Unmodified
Added
Removed
  • safety-exit/tags/1.8.0/composer.json

    r3057884 r3219885  
    55    "require-dev": {
    66        "pestphp/pest": "^2.34",
    7         "brain/monkey": "^2.6"
     7        "brain/monkey": "^2.6",
     8        "symfony/var-dumper": "^7.2"
    89    },
    910    "config": {
  • safety-exit/tags/1.8.0/composer.lock

    r3057884 r3219885  
    55        "This file is @generated automatically"
    66    ],
    7     "content-hash": "f2ecb409de8af704de7d72a1f05c8ffe",
     7    "content-hash": "85412737557de168d25fde3e0a4536ea",
    88    "packages": [],
    99    "packages-dev": [
     
    36223622        },
    36233623        {
     3624            "name": "symfony/var-dumper",
     3625            "version": "v7.2.0",
     3626            "source": {
     3627                "type": "git",
     3628                "url": "https://github.com/symfony/var-dumper.git",
     3629                "reference": "c6a22929407dec8765d6e2b6ff85b800b245879c"
     3630            },
     3631            "dist": {
     3632                "type": "zip",
     3633                "url": "https://api.github.com/repos/symfony/var-dumper/zipball/c6a22929407dec8765d6e2b6ff85b800b245879c",
     3634                "reference": "c6a22929407dec8765d6e2b6ff85b800b245879c",
     3635                "shasum": ""
     3636            },
     3637            "require": {
     3638                "php": ">=8.2",
     3639                "symfony/polyfill-mbstring": "~1.0"
     3640            },
     3641            "conflict": {
     3642                "symfony/console": "<6.4"
     3643            },
     3644            "require-dev": {
     3645                "ext-iconv": "*",
     3646                "symfony/console": "^6.4|^7.0",
     3647                "symfony/http-kernel": "^6.4|^7.0",
     3648                "symfony/process": "^6.4|^7.0",
     3649                "symfony/uid": "^6.4|^7.0",
     3650                "twig/twig": "^3.12"
     3651            },
     3652            "bin": [
     3653                "Resources/bin/var-dump-server"
     3654            ],
     3655            "type": "library",
     3656            "autoload": {
     3657                "files": [
     3658                    "Resources/functions/dump.php"
     3659                ],
     3660                "psr-4": {
     3661                    "Symfony\\Component\\VarDumper\\": ""
     3662                },
     3663                "exclude-from-classmap": [
     3664                    "/Tests/"
     3665                ]
     3666            },
     3667            "notification-url": "https://packagist.org/downloads/",
     3668            "license": [
     3669                "MIT"
     3670            ],
     3671            "authors": [
     3672                {
     3673                    "name": "Nicolas Grekas",
     3674                    "email": "p@tchwork.com"
     3675                },
     3676                {
     3677                    "name": "Symfony Community",
     3678                    "homepage": "https://symfony.com/contributors"
     3679                }
     3680            ],
     3681            "description": "Provides mechanisms for walking through any arbitrary PHP variable",
     3682            "homepage": "https://symfony.com",
     3683            "keywords": [
     3684                "debug",
     3685                "dump"
     3686            ],
     3687            "support": {
     3688                "source": "https://github.com/symfony/var-dumper/tree/v7.2.0"
     3689            },
     3690            "funding": [
     3691                {
     3692                    "url": "https://symfony.com/sponsor",
     3693                    "type": "custom"
     3694                },
     3695                {
     3696                    "url": "https://github.com/fabpot",
     3697                    "type": "github"
     3698                },
     3699                {
     3700                    "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
     3701                    "type": "tidelift"
     3702                }
     3703            ],
     3704            "time": "2024-11-08T15:48:14+00:00"
     3705        },
     3706        {
    36243707            "name": "ta-tikoma/phpunit-architecture-test",
    36253708            "version": "0.8.4",
     
    37983881    },
    37993882    "platform-dev": [],
    3800     "plugin-api-version": "2.3.0"
     3883    "plugin-api-version": "2.6.0"
    38013884}
  • safety-exit/tags/1.8.0/readme.txt

    r3077243 r3219885  
    44Donate link: https://tomascordero.com
    55Requires at least: 5.2.0
    6 Tested up to: 6.4.3
     6Tested up to: 6.7.1
    77Requires PHP: 5.6.0
    8 Stable tag: 1.7.1
     8Stable tag: 1.8.0
    99License: GPL-2.0+
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    4848
    4949== Changelog ==
     501.8.0:
     51    - Improved backend code structure for stability
     52    - Added a warning for out dated PHP versions in preparation for 2.0 release
    50531.7.1:
    5154    - Fix: Security fix
  • safety-exit/tags/1.8.0/safety-exit.php

    r3077243 r3219885  
    1212 * Plugin URI:
    1313 * Description: This plugin will inject a button on your website that will allow a website user to quickly navigate away from your website.
    14  * Version:     1.7.1
     14 * Version:     1.8.0
    1515 * Author:      Tomas Cordero
    1616 * Author URI:  https://tomascordero.com
     
    2121require plugin_dir_path( __FILE__ ) . '/vendor/autoload.php';
    2222
    23 use SafetyExit\Safety_Exit_Frontend;
    24 use SafetyExit\Safety_Exit_Admin;
     23use SafetyExit\Frontend;
     24use SafetyExit\Admin;
    2525
    2626$path = realpath(dirname(__FILE__) . '/../../../')."/wp-includes/pluggable.php";
     
    5959    if ( is_admin() ){
    6060        if(current_user_can('administrator')){
    61             $admin = new Safety_Exit_Admin(__FILE__);
     61            $admin = new Admin(__FILE__);
    6262            $admin->init();
    6363        }
     
    6868        && $url_path !== '/login'
    6969    ){
    70         $frontend = new Safety_Exit_Frontend(__FILE__);
     70        $frontend = new Frontend(__FILE__);
    7171        $frontend->init();
    7272    }
  • safety-exit/tags/1.8.0/tests/Unit/FrontendTest.php

    r3057884 r3219885  
    11<?php
    22
    3 use SafetyExit\Safety_Exit_Frontend;
     3use SafetyExit\Frontend;
    44use Brain\Monkey\Functions;
    55
     
    4848it('calls wp_enqueue_scripts and wp_head actions on init', function () {
    4949
    50     $safetyExitFrontend = new Safety_Exit_Frontend();
     50    $safetyExitFrontend = new Frontend();
    5151
    5252
    53     $this->assertInstanceOf(Safety_Exit_Frontend::class, $safetyExitFrontend);
     53    $this->assertInstanceOf(Frontend::class, $safetyExitFrontend);
    5454
    5555    // Assert that add_action was called with the expected parameters
     
    6969
    7070it('enqueues the necessary styles and scripts', function () {
    71     $safetyExitFrontend = new Safety_Exit_Frontend();
     71    $safetyExitFrontend = new Frontend();
    7272
    7373    // Assert that wp_enqueue_style and wp_enqueue_script were called with the expected parameters
     
    8888
    8989it('does not enqueue font-awesome-free style if sftExt_rectangle_icon_onOff is no', function () {
    90     $safetyExitFrontend = new Safety_Exit_Frontend();
     90    $safetyExitFrontend = new Frontend();
    9191
    9292    Functions\expect('wp_enqueue_style')
     
    112112    Functions\when('get_the_ID')->justReturn(1);
    113113    Functions\when('is_front_page')->justReturn(false);
    114     $safetyExitFrontend = new Safety_Exit_Frontend();
     114    Functions\when('esc_attr')->alias(function($text) {
     115        return htmlspecialchars($text, ENT_QUOTES, 'UTF-8');
     116    });
     117    $safetyExitFrontend = new Frontend();
    115118    $safetyExitFrontend->run_setup();
    116119    $js = $safetyExitFrontend->generate_js();
     
    125128    Functions\when('get_the_ID')->justReturn(1);
    126129    Functions\when('is_front_page')->justReturn(false);
    127     $safetyExitFrontend = new Safety_Exit_Frontend();
     130    Functions\when('esc_attr')->alias(function($text) {
     131        return htmlspecialchars($text, ENT_QUOTES, 'UTF-8');
     132    });
     133    $safetyExitFrontend = new Frontend();
    128134    $safetyExitFrontend->run_setup();
    129135    $css = $safetyExitFrontend->generate_css();
     
    138144    Functions\when('get_the_ID')->justReturn(1);
    139145    Functions\when('is_front_page')->justReturn(false);
    140     $safetyExitFrontend = new Safety_Exit_Frontend();
     146    Functions\when('esc_attr')->alias(function($text) {
     147        return htmlspecialchars($text, ENT_QUOTES, 'UTF-8');
     148    });
     149    $safetyExitFrontend = new Frontend();
    141150    $safetyExitFrontend->run_setup();
    142151    $html = $safetyExitFrontend->generate_html();
    143     $this->assertIsString($html);
     152    $minifiedHtml = preg_replace('/\s+/', ' ', trim($html));
     153    $this->assertIsString($minifiedHtml);
    144154
    145     $this->assertEquals($html, "<button id=\"sftExt-frontend-button\" class=\"bottom right rectangle\" data-new-tab=\"https://google.com\" data-url=\"https://google.com\"><div class=\"sftExt-inner\"><i class=\"fas fa-times\"></i><span>Safety Exit</span></div></button>");
     155    $this->assertEquals($minifiedHtml, "<button id=\"sftExt-frontend-button\" class=\"bottom right rectangle\" data-new-tab=\"https://google.com\" data-url=\"https://google.com\"> <div class=\"sftExt-inner\"> <i class=\"fas fa-times\"></i><span>Safety Exit</span> </div> </button>");
    146156
    147157});
  • safety-exit/tags/1.8.0/vendor/autoload.php

    r3077243 r3219885  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInitf2ecb409de8af704de7d72a1f05c8ffe::getLoader();
     25return ComposerAutoloaderInit85412737557de168d25fde3e0a4536ea::getLoader();
  • safety-exit/tags/1.8.0/vendor/composer/autoload_classmap.php

    r3057884 r3219885  
    88return array(
    99    'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
    10     'SafetyExit\\Safety_Exit_Admin' => $baseDir . '/lib/Safety_Exit_Admin.php',
    11     'SafetyExit\\Safety_Exit_Frontend' => $baseDir . '/lib/Safety_Exit_Frontend.php',
     10    'SafetyExit\\Admin' => $baseDir . '/lib/Admin.php',
     11    'SafetyExit\\Exceptions\\InvalidSetting' => $baseDir . '/lib/Exceptions/InvalidSetting.php',
     12    'SafetyExit\\Frontend' => $baseDir . '/lib/Frontend.php',
     13    'SafetyExit\\Helpers\\Settings' => $baseDir . '/lib/Helpers/Settings.php',
    1214);
  • safety-exit/tags/1.8.0/vendor/composer/autoload_real.php

    r3077243 r3219885  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInitf2ecb409de8af704de7d72a1f05c8ffe
     5class ComposerAutoloaderInit85412737557de168d25fde3e0a4536ea
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInitf2ecb409de8af704de7d72a1f05c8ffe', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInit85412737557de168d25fde3e0a4536ea', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInitf2ecb409de8af704de7d72a1f05c8ffe', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit85412737557de168d25fde3e0a4536ea', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInitf2ecb409de8af704de7d72a1f05c8ffe::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInit85412737557de168d25fde3e0a4536ea::getInitializer($loader));
    3333
    3434        $loader->register(true);
  • safety-exit/tags/1.8.0/vendor/composer/autoload_static.php

    r3077243 r3219885  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInitf2ecb409de8af704de7d72a1f05c8ffe
     7class ComposerStaticInit85412737557de168d25fde3e0a4536ea
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    2323    public static $classMap = array (
    2424        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
    25         'SafetyExit\\Safety_Exit_Admin' => __DIR__ . '/../..' . '/lib/Safety_Exit_Admin.php',
    26         'SafetyExit\\Safety_Exit_Frontend' => __DIR__ . '/../..' . '/lib/Safety_Exit_Frontend.php',
     25        'SafetyExit\\Admin' => __DIR__ . '/../..' . '/lib/Admin.php',
     26        'SafetyExit\\Exceptions\\InvalidSetting' => __DIR__ . '/../..' . '/lib/Exceptions/InvalidSetting.php',
     27        'SafetyExit\\Frontend' => __DIR__ . '/../..' . '/lib/Frontend.php',
     28        'SafetyExit\\Helpers\\Settings' => __DIR__ . '/../..' . '/lib/Helpers/Settings.php',
    2729    );
    2830
     
    3032    {
    3133        return \Closure::bind(function () use ($loader) {
    32             $loader->prefixLengthsPsr4 = ComposerStaticInitf2ecb409de8af704de7d72a1f05c8ffe::$prefixLengthsPsr4;
    33             $loader->prefixDirsPsr4 = ComposerStaticInitf2ecb409de8af704de7d72a1f05c8ffe::$prefixDirsPsr4;
    34             $loader->classMap = ComposerStaticInitf2ecb409de8af704de7d72a1f05c8ffe::$classMap;
     34            $loader->prefixLengthsPsr4 = ComposerStaticInit85412737557de168d25fde3e0a4536ea::$prefixLengthsPsr4;
     35            $loader->prefixDirsPsr4 = ComposerStaticInit85412737557de168d25fde3e0a4536ea::$prefixDirsPsr4;
     36            $loader->classMap = ComposerStaticInit85412737557de168d25fde3e0a4536ea::$classMap;
    3537
    3638        }, null, ClassLoader::class);
  • safety-exit/tags/1.8.0/vendor/composer/installed.php

    r3077243 r3219885  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '03efe7faf105c32a15dc545a5f0f807c13485306',
     6        'reference' => 'ef1aa1bb2cce47efc83ddab8dbd4a132f27a62c6',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-master',
    1515            'version' => 'dev-master',
    16             'reference' => '03efe7faf105c32a15dc545a5f0f807c13485306',
     16            'reference' => 'ef1aa1bb2cce47efc83ddab8dbd4a132f27a62c6',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • safety-exit/trunk/composer.json

    r3057884 r3219885  
    55    "require-dev": {
    66        "pestphp/pest": "^2.34",
    7         "brain/monkey": "^2.6"
     7        "brain/monkey": "^2.6",
     8        "symfony/var-dumper": "^7.2"
    89    },
    910    "config": {
  • safety-exit/trunk/composer.lock

    r3057884 r3219885  
    55        "This file is @generated automatically"
    66    ],
    7     "content-hash": "f2ecb409de8af704de7d72a1f05c8ffe",
     7    "content-hash": "85412737557de168d25fde3e0a4536ea",
    88    "packages": [],
    99    "packages-dev": [
     
    36223622        },
    36233623        {
     3624            "name": "symfony/var-dumper",
     3625            "version": "v7.2.0",
     3626            "source": {
     3627                "type": "git",
     3628                "url": "https://github.com/symfony/var-dumper.git",
     3629                "reference": "c6a22929407dec8765d6e2b6ff85b800b245879c"
     3630            },
     3631            "dist": {
     3632                "type": "zip",
     3633                "url": "https://api.github.com/repos/symfony/var-dumper/zipball/c6a22929407dec8765d6e2b6ff85b800b245879c",
     3634                "reference": "c6a22929407dec8765d6e2b6ff85b800b245879c",
     3635                "shasum": ""
     3636            },
     3637            "require": {
     3638                "php": ">=8.2",
     3639                "symfony/polyfill-mbstring": "~1.0"
     3640            },
     3641            "conflict": {
     3642                "symfony/console": "<6.4"
     3643            },
     3644            "require-dev": {
     3645                "ext-iconv": "*",
     3646                "symfony/console": "^6.4|^7.0",
     3647                "symfony/http-kernel": "^6.4|^7.0",
     3648                "symfony/process": "^6.4|^7.0",
     3649                "symfony/uid": "^6.4|^7.0",
     3650                "twig/twig": "^3.12"
     3651            },
     3652            "bin": [
     3653                "Resources/bin/var-dump-server"
     3654            ],
     3655            "type": "library",
     3656            "autoload": {
     3657                "files": [
     3658                    "Resources/functions/dump.php"
     3659                ],
     3660                "psr-4": {
     3661                    "Symfony\\Component\\VarDumper\\": ""
     3662                },
     3663                "exclude-from-classmap": [
     3664                    "/Tests/"
     3665                ]
     3666            },
     3667            "notification-url": "https://packagist.org/downloads/",
     3668            "license": [
     3669                "MIT"
     3670            ],
     3671            "authors": [
     3672                {
     3673                    "name": "Nicolas Grekas",
     3674                    "email": "p@tchwork.com"
     3675                },
     3676                {
     3677                    "name": "Symfony Community",
     3678                    "homepage": "https://symfony.com/contributors"
     3679                }
     3680            ],
     3681            "description": "Provides mechanisms for walking through any arbitrary PHP variable",
     3682            "homepage": "https://symfony.com",
     3683            "keywords": [
     3684                "debug",
     3685                "dump"
     3686            ],
     3687            "support": {
     3688                "source": "https://github.com/symfony/var-dumper/tree/v7.2.0"
     3689            },
     3690            "funding": [
     3691                {
     3692                    "url": "https://symfony.com/sponsor",
     3693                    "type": "custom"
     3694                },
     3695                {
     3696                    "url": "https://github.com/fabpot",
     3697                    "type": "github"
     3698                },
     3699                {
     3700                    "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
     3701                    "type": "tidelift"
     3702                }
     3703            ],
     3704            "time": "2024-11-08T15:48:14+00:00"
     3705        },
     3706        {
    36243707            "name": "ta-tikoma/phpunit-architecture-test",
    36253708            "version": "0.8.4",
     
    37983881    },
    37993882    "platform-dev": [],
    3800     "plugin-api-version": "2.3.0"
     3883    "plugin-api-version": "2.6.0"
    38013884}
  • safety-exit/trunk/readme.txt

    r3077243 r3219885  
    44Donate link: https://tomascordero.com
    55Requires at least: 5.2.0
    6 Tested up to: 6.4.3
     6Tested up to: 6.7.1
    77Requires PHP: 5.6.0
    8 Stable tag: 1.7.1
     8Stable tag: 1.8.0
    99License: GPL-2.0+
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    4848
    4949== Changelog ==
     501.8.0:
     51    - Improved backend code structure for stability
     52    - Added a warning for out dated PHP versions in preparation for 2.0 release
    50531.7.1:
    5154    - Fix: Security fix
  • safety-exit/trunk/safety-exit.php

    r3077243 r3219885  
    1212 * Plugin URI:
    1313 * Description: This plugin will inject a button on your website that will allow a website user to quickly navigate away from your website.
    14  * Version:     1.7.1
     14 * Version:     1.8.0
    1515 * Author:      Tomas Cordero
    1616 * Author URI:  https://tomascordero.com
     
    2121require plugin_dir_path( __FILE__ ) . '/vendor/autoload.php';
    2222
    23 use SafetyExit\Safety_Exit_Frontend;
    24 use SafetyExit\Safety_Exit_Admin;
     23use SafetyExit\Frontend;
     24use SafetyExit\Admin;
    2525
    2626$path = realpath(dirname(__FILE__) . '/../../../')."/wp-includes/pluggable.php";
     
    5959    if ( is_admin() ){
    6060        if(current_user_can('administrator')){
    61             $admin = new Safety_Exit_Admin(__FILE__);
     61            $admin = new Admin(__FILE__);
    6262            $admin->init();
    6363        }
     
    6868        && $url_path !== '/login'
    6969    ){
    70         $frontend = new Safety_Exit_Frontend(__FILE__);
     70        $frontend = new Frontend(__FILE__);
    7171        $frontend->init();
    7272    }
  • safety-exit/trunk/tests/Unit/FrontendTest.php

    r3057884 r3219885  
    11<?php
    22
    3 use SafetyExit\Safety_Exit_Frontend;
     3use SafetyExit\Frontend;
    44use Brain\Monkey\Functions;
    55
     
    4848it('calls wp_enqueue_scripts and wp_head actions on init', function () {
    4949
    50     $safetyExitFrontend = new Safety_Exit_Frontend();
     50    $safetyExitFrontend = new Frontend();
    5151
    5252
    53     $this->assertInstanceOf(Safety_Exit_Frontend::class, $safetyExitFrontend);
     53    $this->assertInstanceOf(Frontend::class, $safetyExitFrontend);
    5454
    5555    // Assert that add_action was called with the expected parameters
     
    6969
    7070it('enqueues the necessary styles and scripts', function () {
    71     $safetyExitFrontend = new Safety_Exit_Frontend();
     71    $safetyExitFrontend = new Frontend();
    7272
    7373    // Assert that wp_enqueue_style and wp_enqueue_script were called with the expected parameters
     
    8888
    8989it('does not enqueue font-awesome-free style if sftExt_rectangle_icon_onOff is no', function () {
    90     $safetyExitFrontend = new Safety_Exit_Frontend();
     90    $safetyExitFrontend = new Frontend();
    9191
    9292    Functions\expect('wp_enqueue_style')
     
    112112    Functions\when('get_the_ID')->justReturn(1);
    113113    Functions\when('is_front_page')->justReturn(false);
    114     $safetyExitFrontend = new Safety_Exit_Frontend();
     114    Functions\when('esc_attr')->alias(function($text) {
     115        return htmlspecialchars($text, ENT_QUOTES, 'UTF-8');
     116    });
     117    $safetyExitFrontend = new Frontend();
    115118    $safetyExitFrontend->run_setup();
    116119    $js = $safetyExitFrontend->generate_js();
     
    125128    Functions\when('get_the_ID')->justReturn(1);
    126129    Functions\when('is_front_page')->justReturn(false);
    127     $safetyExitFrontend = new Safety_Exit_Frontend();
     130    Functions\when('esc_attr')->alias(function($text) {
     131        return htmlspecialchars($text, ENT_QUOTES, 'UTF-8');
     132    });
     133    $safetyExitFrontend = new Frontend();
    128134    $safetyExitFrontend->run_setup();
    129135    $css = $safetyExitFrontend->generate_css();
     
    138144    Functions\when('get_the_ID')->justReturn(1);
    139145    Functions\when('is_front_page')->justReturn(false);
    140     $safetyExitFrontend = new Safety_Exit_Frontend();
     146    Functions\when('esc_attr')->alias(function($text) {
     147        return htmlspecialchars($text, ENT_QUOTES, 'UTF-8');
     148    });
     149    $safetyExitFrontend = new Frontend();
    141150    $safetyExitFrontend->run_setup();
    142151    $html = $safetyExitFrontend->generate_html();
    143     $this->assertIsString($html);
     152    $minifiedHtml = preg_replace('/\s+/', ' ', trim($html));
     153    $this->assertIsString($minifiedHtml);
    144154
    145     $this->assertEquals($html, "<button id=\"sftExt-frontend-button\" class=\"bottom right rectangle\" data-new-tab=\"https://google.com\" data-url=\"https://google.com\"><div class=\"sftExt-inner\"><i class=\"fas fa-times\"></i><span>Safety Exit</span></div></button>");
     155    $this->assertEquals($minifiedHtml, "<button id=\"sftExt-frontend-button\" class=\"bottom right rectangle\" data-new-tab=\"https://google.com\" data-url=\"https://google.com\"> <div class=\"sftExt-inner\"> <i class=\"fas fa-times\"></i><span>Safety Exit</span> </div> </button>");
    146156
    147157});
  • safety-exit/trunk/vendor/autoload.php

    r3077243 r3219885  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInitf2ecb409de8af704de7d72a1f05c8ffe::getLoader();
     25return ComposerAutoloaderInit85412737557de168d25fde3e0a4536ea::getLoader();
  • safety-exit/trunk/vendor/composer/autoload_classmap.php

    r3057884 r3219885  
    88return array(
    99    'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
    10     'SafetyExit\\Safety_Exit_Admin' => $baseDir . '/lib/Safety_Exit_Admin.php',
    11     'SafetyExit\\Safety_Exit_Frontend' => $baseDir . '/lib/Safety_Exit_Frontend.php',
     10    'SafetyExit\\Admin' => $baseDir . '/lib/Admin.php',
     11    'SafetyExit\\Exceptions\\InvalidSetting' => $baseDir . '/lib/Exceptions/InvalidSetting.php',
     12    'SafetyExit\\Frontend' => $baseDir . '/lib/Frontend.php',
     13    'SafetyExit\\Helpers\\Settings' => $baseDir . '/lib/Helpers/Settings.php',
    1214);
  • safety-exit/trunk/vendor/composer/autoload_real.php

    r3077243 r3219885  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInitf2ecb409de8af704de7d72a1f05c8ffe
     5class ComposerAutoloaderInit85412737557de168d25fde3e0a4536ea
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInitf2ecb409de8af704de7d72a1f05c8ffe', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInit85412737557de168d25fde3e0a4536ea', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInitf2ecb409de8af704de7d72a1f05c8ffe', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit85412737557de168d25fde3e0a4536ea', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInitf2ecb409de8af704de7d72a1f05c8ffe::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInit85412737557de168d25fde3e0a4536ea::getInitializer($loader));
    3333
    3434        $loader->register(true);
  • safety-exit/trunk/vendor/composer/autoload_static.php

    r3077243 r3219885  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInitf2ecb409de8af704de7d72a1f05c8ffe
     7class ComposerStaticInit85412737557de168d25fde3e0a4536ea
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    2323    public static $classMap = array (
    2424        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
    25         'SafetyExit\\Safety_Exit_Admin' => __DIR__ . '/../..' . '/lib/Safety_Exit_Admin.php',
    26         'SafetyExit\\Safety_Exit_Frontend' => __DIR__ . '/../..' . '/lib/Safety_Exit_Frontend.php',
     25        'SafetyExit\\Admin' => __DIR__ . '/../..' . '/lib/Admin.php',
     26        'SafetyExit\\Exceptions\\InvalidSetting' => __DIR__ . '/../..' . '/lib/Exceptions/InvalidSetting.php',
     27        'SafetyExit\\Frontend' => __DIR__ . '/../..' . '/lib/Frontend.php',
     28        'SafetyExit\\Helpers\\Settings' => __DIR__ . '/../..' . '/lib/Helpers/Settings.php',
    2729    );
    2830
     
    3032    {
    3133        return \Closure::bind(function () use ($loader) {
    32             $loader->prefixLengthsPsr4 = ComposerStaticInitf2ecb409de8af704de7d72a1f05c8ffe::$prefixLengthsPsr4;
    33             $loader->prefixDirsPsr4 = ComposerStaticInitf2ecb409de8af704de7d72a1f05c8ffe::$prefixDirsPsr4;
    34             $loader->classMap = ComposerStaticInitf2ecb409de8af704de7d72a1f05c8ffe::$classMap;
     34            $loader->prefixLengthsPsr4 = ComposerStaticInit85412737557de168d25fde3e0a4536ea::$prefixLengthsPsr4;
     35            $loader->prefixDirsPsr4 = ComposerStaticInit85412737557de168d25fde3e0a4536ea::$prefixDirsPsr4;
     36            $loader->classMap = ComposerStaticInit85412737557de168d25fde3e0a4536ea::$classMap;
    3537
    3638        }, null, ClassLoader::class);
  • safety-exit/trunk/vendor/composer/installed.php

    r3077243 r3219885  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '03efe7faf105c32a15dc545a5f0f807c13485306',
     6        'reference' => 'ef1aa1bb2cce47efc83ddab8dbd4a132f27a62c6',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-master',
    1515            'version' => 'dev-master',
    16             'reference' => '03efe7faf105c32a15dc545a5f0f807c13485306',
     16            'reference' => 'ef1aa1bb2cce47efc83ddab8dbd4a132f27a62c6',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.