Plugin Directory

Changeset 3116688

Timestamp:
07/11/2024 09:41:02 PM (4 weeks ago)
Author:
afragen
Message:

Update to version 2.8.4 from GitHub

Location:
local-development
Files:
28 edited
1 copied

Legend:

Unmodified
Added
Removed
  • local-development/tags/2.8.4/CHANGES.md

    r2941394 r3116688  
    11#### [unreleased]
     2
     3
     4
     5
     6
     7
    28
    39#### 2.8.3
  • local-development/tags/2.8.4/composer.json

    r2941394 r3116688  
    3939    },
    4040    "require-dev": {
    41         "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
    42         "squizlabs/php_codesniffer": "3.6.0",
    43         "wp-coding-standards/wpcs": "~2.3.0"
     41        "wp-coding-standards/wpcs": "^3.0.0"
    4442    },
    4543    "config": {
  • local-development/tags/2.8.4/local-development.php

    r2941394 r3116688  
    1515 * Author URI:        http://thefragens.com/
    1616 * Description:       Places development notice for plugins or themes that are in local development. Prevents updating of selected plugins and themes. Automatically adds plugins and themes under version control. Allows for using a local file server and bypassing the WordPress 5.2 WSOD Shutdown Handler.
    17  * Version:           2.8.3
     17 * Version:           2.8.
    1818 * Domain Path:       /languages
    1919 * Text Domain:       local-development
  • local-development/tags/2.8.4/readme.txt

    r2941394 r3116688  
    44Requires at least: 4.6
    55Requires PHP: 5.6
    6 Tested up to: 6.3
    7 Stable tag: 2.8.3
     6Tested up to: 6.
     7Stable tag: 2.8.
    88License: GPLv2
    99
     
    3131
    3232## Changelog
     33
     34
     35
     36
     37
     38
    3339
    3440#### 2.8.3
  • local-development/tags/2.8.4/src/Local_Development/Base.php

    r2488154 r3116688  
    8484        add_action(
    8585            'admin_init',
    86             function() {
     86            function() {
    8787                $this->disable_autoupdate_link();
    8888            }
     
    250250                add_filter(
    251251                    "auto_update_{$type}",
    252                     function( $update, $slug ) use ( $repo, $type ) {
     252                    function( $update, $slug ) use ( $repo, $type ) {
    253253                        if ( $repo === $slug->{$type} ) {
    254254                            return false;
  • local-development/tags/2.8.4/src/Local_Development/Extras.php

    r2721520 r3116688  
    188188        add_filter(
    189189            'http_request_args',
    190             function ( $r, $url ) {
     190            function ( $r ) {
    191191                if ( ! $r['reject_unsafe_urls'] ) {
    192192                    return $r;
     
    197197            },
    198198            10,
    199             2
     199           
    200200        );
    201201    }
  • local-development/tags/2.8.4/src/Local_Development/Init.php

    r2721520 r3116688  
    159159
    160160                foreach ( $vcs_dirs as $vcs_dir ) {
     161
    161162                    $is_vcs = @is_dir( "{$filepath}/{$vcs_dir}" );
    162163                    if ( $is_vcs ) {
     
    202203
    203204        if ( ! file_exists( $config_path ) ) {
     205
    204206            if ( @file_exists( dirname( ABSPATH ) . '/wp-config.php' ) && ! @file_exists( dirname( ABSPATH ) . '/wp-settings.php' ) ) {
    205207                $config_path = dirname( ABSPATH ) . '/wp-config.php';
  • local-development/tags/2.8.4/vendor/composer/autoload_classmap.php

    r2883673 r3116688  
    99    'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
    1010    'Fragen\\Singleton' => $vendorDir . '/afragen/singleton/Singleton.php',
     11
     12
     13
     14
     15
     16
     17
     18
     19
     20
     21
     22
     23
     24
     25
     26
     27
     28
     29
     30
     31
     32
     33
     34
     35
     36
     37
     38
     39
     40
     41
     42
     43
     44
     45
     46
     47
    1148);
  • local-development/tags/2.8.4/vendor/composer/autoload_psr4.php

    r2941394 r3116688  
    77
    88return array(
     9
    910    'Fragen\\Local_Development\\' => array($baseDir . '/src/Local_Development'),
    10     'Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\' => array($vendorDir . '/dealerdirect/phpcodesniffer-composer-installer/src'),
    1111);
  • local-development/tags/2.8.4/vendor/composer/autoload_static.php

    r2941394 r3116688  
    1212
    1313    public static $prefixLengthsPsr4 = array (
     14
     15
     16
     17
    1418        'F' =>
    1519        array (
    1620            'Fragen\\Local_Development\\' => 25,
    1721        ),
    18         'D' =>
    19         array (
    20             'Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\' => 55,
    21         ),
    2222    );
    2323
    2424    public static $prefixDirsPsr4 = array (
     25
     26
     27
     28
    2529        'Fragen\\Local_Development\\' =>
    2630        array (
    2731            0 => __DIR__ . '/../..' . '/src/Local_Development',
    28         ),
    29         'Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\' =>
    30         array (
    31             0 => __DIR__ . '/..' . '/dealerdirect/phpcodesniffer-composer-installer/src',
    3232        ),
    3333    );
     
    3636        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
    3737        'Fragen\\Singleton' => __DIR__ . '/..' . '/afragen/singleton/Singleton.php',
     38
     39
     40
     41
     42
     43
     44
     45
     46
     47
     48
     49
     50
     51
     52
     53
     54
     55
     56
     57
     58
     59
     60
     61
     62
     63
     64
     65
     66
     67
     68
     69
     70
     71
     72
     73
     74
    3875    );
    3976
  • local-development/tags/2.8.4/vendor/composer/installed.json

    r2941394 r3116688  
    5353        {
    5454            "name": "dealerdirect/phpcodesniffer-composer-installer",
    55             "version": "v0.7.2",
    56             "version_normalized": "0.7.2.0",
    57             "source": {
    58                 "type": "git",
    59                 "url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git",
    60                 "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db"
    61             },
    62             "dist": {
    63                 "type": "zip",
    64                 "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db",
    65                 "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db",
     55            "version": "v",
     56            "version_normalized": ".0",
     57            "source": {
     58                "type": "git",
     59                "url": "https://github.com/composer-installer.git",
     60                "reference": ""
     61            },
     62            "dist": {
     63                "type": "zip",
     64                "url": "https://api.github.com/repos/",
     65                "reference": "",
    6666                "shasum": ""
    6767            },
    6868            "require": {
    6969                "composer-plugin-api": "^1.0 || ^2.0",
    70                 "php": ">=5.3",
     70                "php": ">=5.",
    7171                "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0"
    7272            },
    7373            "require-dev": {
    7474                "composer/composer": "*",
     75
     76
    7577                "php-parallel-lint/php-parallel-lint": "^1.3.1",
    76                 "phpcompatibility/php-compatibility": "^9.0"
    77             },
    78             "time": "2022-02-04T12:51:07+00:00",
     78                "phpcompatibility/php-compatibility": "^9.0",
     79                "yoast/phpunit-polyfills": "^1.0"
     80            },
     81            "time": "2023-01-05T11:28:13+00:00",
    7982            "type": "composer-plugin",
    8083            "extra": {
    81                 "class": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin"
     84                "class": "\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin"
    8285            },
    8386            "installation-source": "dist",
    8487            "autoload": {
    8588                "psr-4": {
    86                     "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/"
     89                    "\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/"
    8790                }
    8891            },
     
    100103                {
    101104                    "name": "Contributors",
    102                     "homepage": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer/graphs/contributors"
     105                    "homepage": "https://github.com/composer-installer/graphs/contributors"
    103106                }
    104107            ],
     
    124127            ],
    125128            "support": {
    126                 "issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues",
    127                 "source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer"
     129                "issues": "https://github.com/composer-installer/issues",
     130                "source": "https://github.com/composer-installer"
    128131            },
    129132            "install-path": "../dealerdirect/phpcodesniffer-composer-installer"
    130133        },
    131134        {
     135
     136
     137
     138
     139
     140
     141
     142
     143
     144
     145
     146
     147
     148
     149
     150
     151
     152
     153
     154
     155
     156
     157
     158
     159
     160
     161
     162
     163
     164
     165
     166
     167
     168
     169
     170
     171
     172
     173
     174
     175
     176
     177
     178
     179
     180
     181
     182
     183
     184
     185
     186
     187
     188
     189
     190
     191
     192
     193
     194
     195
     196
     197
     198
     199
     200
     201
     202
     203
     204
     205
     206
     207
     208
     209
     210
     211
     212
     213
     214
     215
     216
     217
     218
     219
     220
     221
     222
     223
     224
     225
     226
     227
     228
     229
     230
     231
     232
     233
     234
     235
     236
     237
     238
     239
     240
     241
     242
     243
     244
     245
     246
     247
     248
     249
     250
     251
     252
     253
     254
     255
     256
     257
     258
     259
     260
     261
     262
     263
     264
     265
     266
     267
     268
     269
     270
     271
     272
     273
     274
     275
     276
     277
     278
     279
     280
     281
     282
     283
     284
     285
     286
     287
     288
     289
     290
     291
     292
     293
     294
     295
     296
     297
     298
     299
     300
     301
     302
     303
     304
     305
     306
    132307            "name": "squizlabs/php_codesniffer",
    133             "version": "3.6.0",
    134             "version_normalized": "3.6.0.0",
    135             "source": {
    136                 "type": "git",
    137                 "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
    138                 "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625"
    139             },
    140             "dist": {
    141                 "type": "zip",
    142                 "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ffced0d2c8fa8e6cdc4d695a743271fab6c38625",
    143                 "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625",
     308            "version": "3.",
     309            "version_normalized": "3..0",
     310            "source": {
     311                "type": "git",
     312                "url": "https://github.com/s/PHP_CodeSniffer.git",
     313                "reference": ""
     314            },
     315            "dist": {
     316                "type": "zip",
     317                "url": "https://api.github.com/repos/",
     318                "reference": "",
    144319                "shasum": ""
    145320            },
     
    151326            },
    152327            "require-dev": {
    153                 "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
    154             },
    155             "time": "2021-04-09T00:54:41+00:00",
     328                "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
     329            },
     330            "time": "2024:41+00:00",
    156331            "bin": [
    157                 "bin/phpcs",
    158                 "bin/phpcbf"
     332                "bin/phpc",
     333                "bin/phpc"
    159334            ],
    160335            "type": "library",
     
    172347                {
    173348                    "name": "Greg Sherwood",
    174                     "role": "lead"
     349                    "role": "Former lead"
     350                },
     351                {
     352                    "name": "Juliette Reinders Folmer",
     353                    "role": "Current lead"
     354                },
     355                {
     356                    "name": "Contributors",
     357                    "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors"
    175358                }
    176359            ],
    177360            "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
    178             "homepage": "https://github.com/squizlabs/PHP_CodeSniffer",
     361            "homepage": "https://github.com/s/PHP_CodeSniffer",
    179362            "keywords": [
    180363                "phpcs",
    181                 "standards"
    182             ],
    183             "support": {
    184                 "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
    185                 "source": "https://github.com/squizlabs/PHP_CodeSniffer",
    186                 "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
    187             },
     364                "standards",
     365                "static analysis"
     366            ],
     367            "support": {
     368                "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues",
     369                "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy",
     370                "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
     371                "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki"
     372            },
     373            "funding": [
     374                {
     375                    "url": "https://github.com/PHPCSStandards",
     376                    "type": "github"
     377                },
     378                {
     379                    "url": "https://github.com/jrfnl",
     380                    "type": "github"
     381                },
     382                {
     383                    "url": "https://opencollective.com/php_codesniffer",
     384                    "type": "open_collective"
     385                }
     386            ],
    188387            "install-path": "../squizlabs/php_codesniffer"
    189388        },
    190389        {
    191390            "name": "wp-cli/wp-config-transformer",
    192             "version": "v1.3.3",
    193             "version_normalized": "1.3.3.0",
     391            "version": "v1.3.",
     392            "version_normalized": "1.3..0",
    194393            "source": {
    195394                "type": "git",
    196395                "url": "https://github.com/wp-cli/wp-config-transformer.git",
    197                 "reference": "b1a6a013e4a8c74b29ba185368b78a140b3268da"
    198             },
    199             "dist": {
    200                 "type": "zip",
    201                 "url": "https://api.github.com/repos/wp-cli/wp-config-transformer/zipball/b1a6a013e4a8c74b29ba185368b78a140b3268da",
    202                 "reference": "b1a6a013e4a8c74b29ba185368b78a140b3268da",
     396                "reference": ""
     397            },
     398            "dist": {
     399                "type": "zip",
     400                "url": "https://api.github.com/repos/wp-cli/wp-config-transformer/zipball/",
     401                "reference": "",
    203402                "shasum": ""
    204403            },
     
    207406            },
    208407            "require-dev": {
    209                 "wp-cli/wp-cli-tests": "^3.1"
    210             },
    211             "time": "2023-04-26T19:51:31+00:00",
     408                "wp-cli/wp-cli-tests": "^"
     409            },
     410            "time": "202+00:00",
    212411            "type": "library",
    213412            "installation-source": "dist",
     
    231430            "support": {
    232431                "issues": "https://github.com/wp-cli/wp-config-transformer/issues",
    233                 "source": "https://github.com/wp-cli/wp-config-transformer/tree/v1.3.3"
     432                "source": "https://github.com/wp-cli/wp-config-transformer/tree/v1.3."
    234433            },
    235434            "install-path": "../wp-cli/wp-config-transformer"
     
    237436        {
    238437            "name": "wp-coding-standards/wpcs",
    239             "version": "2.3.0",
    240             "version_normalized": "2.3.0.0",
     438            "version": ".0",
     439            "version_normalized": ".0.0",
    241440            "source": {
    242441                "type": "git",
    243442                "url": "https://github.com/WordPress/WordPress-Coding-Standards.git",
    244                 "reference": "7da1894633f168fe244afc6de00d141f27517b62"
    245             },
    246             "dist": {
    247                 "type": "zip",
    248                 "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/7da1894633f168fe244afc6de00d141f27517b62",
    249                 "reference": "7da1894633f168fe244afc6de00d141f27517b62",
    250                 "shasum": ""
    251             },
    252             "require": {
     443                "reference": "9333efcbff231f10dfd9c56bb7b65818b4733ca7"
     444            },
     445            "dist": {
     446                "type": "zip",
     447                "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/9333efcbff231f10dfd9c56bb7b65818b4733ca7",
     448                "reference": "9333efcbff231f10dfd9c56bb7b65818b4733ca7",
     449                "shasum": ""
     450            },
     451            "require": {
     452                "ext-filter": "*",
     453                "ext-libxml": "*",
     454                "ext-tokenizer": "*",
     455                "ext-xmlreader": "*",
    253456                "php": ">=5.4",
    254                 "squizlabs/php_codesniffer": "^3.3.1"
     457                "phpcsstandards/phpcsextra": "^1.2.1",
     458                "phpcsstandards/phpcsutils": "^1.0.10",
     459                "squizlabs/php_codesniffer": "^3.9.0"
    255460            },
    256461            "require-dev": {
    257                 "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || ^0.6",
     462                "php-parallel-lint/php-console-highlighter": "^1.0.0",
     463                "php-parallel-lint/php-parallel-lint": "^1.3.2",
    258464                "phpcompatibility/php-compatibility": "^9.0",
    259                 "phpcsstandards/phpcsdevtools": "^1.0",
    260                 "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
     465                "phpcsstandards/phpcsdevtools": "^1.0",
     466                "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
    261467            },
    262468            "suggest": {
    263                 "dealerdirect/phpcodesniffer-composer-installer": "^0.6 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically."
    264             },
    265             "time": "2020-05-13T23:57:56+00:00",
     469                "ext-iconv": "For improved results",
     470                "ext-mbstring": "For improved results"
     471            },
     472            "time": "2024-03-25T16:39:00+00:00",
    266473            "type": "phpcodesniffer-standard",
    267474            "installation-source": "dist",
     
    280487                "phpcs",
    281488                "standards",
     489
    282490                "wordpress"
    283491            ],
     
    287495                "wiki": "https://github.com/WordPress/WordPress-Coding-Standards/wiki"
    288496            },
     497
     498
     499
     500
     501
     502
    289503            "install-path": "../wp-coding-standards/wpcs"
    290504        }
     
    293507    "dev-package-names": [
    294508        "dealerdirect/phpcodesniffer-composer-installer",
     509
     510
    295511        "squizlabs/php_codesniffer",
    296512        "wp-coding-standards/wpcs"
  • local-development/tags/2.8.4/vendor/composer/installed.php

    r2941394 r3116688  
    3232        ),
    3333        'dealerdirect/phpcodesniffer-composer-installer' => array(
    34             'pretty_version' => 'v0.7.2',
    35             'version' => '0.7.2.0',
    36             'reference' => '1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db',
     34            'pretty_version' => 'v',
     35            'version' => '.0',
     36            'reference' => '',
    3737            'type' => 'composer-plugin',
    3838            'install_path' => __DIR__ . '/../dealerdirect/phpcodesniffer-composer-installer',
     
    4040            'dev_requirement' => true,
    4141        ),
     42
     43
     44
     45
     46
     47
     48
     49
     50
     51
     52
     53
     54
     55
     56
     57
     58
     59
    4260        'squizlabs/php_codesniffer' => array(
    43             'pretty_version' => '3.6.0',
    44             'version' => '3.6.0.0',
    45             'reference' => 'ffced0d2c8fa8e6cdc4d695a743271fab6c38625',
     61            'pretty_version' => '3.',
     62            'version' => '3..0',
     63            'reference' => '',
    4664            'type' => 'library',
    4765            'install_path' => __DIR__ . '/../squizlabs/php_codesniffer',
     
    5068        ),
    5169        'wp-cli/wp-config-transformer' => array(
    52             'pretty_version' => 'v1.3.3',
    53             'version' => '1.3.3.0',
    54             'reference' => 'b1a6a013e4a8c74b29ba185368b78a140b3268da',
     70            'pretty_version' => 'v1.3.',
     71            'version' => '1.3..0',
     72            'reference' => '',
    5573            'type' => 'library',
    5674            'install_path' => __DIR__ . '/../wp-cli/wp-config-transformer',
     
    5977        ),
    6078        'wp-coding-standards/wpcs' => array(
    61             'pretty_version' => '2.3.0',
    62             'version' => '2.3.0.0',
    63             'reference' => '7da1894633f168fe244afc6de00d141f27517b62',
     79            'pretty_version' => '.0',
     80            'version' => '.0.0',
     81            'reference' => '',
    6482            'type' => 'phpcodesniffer-standard',
    6583            'install_path' => __DIR__ . '/../wp-coding-standards/wpcs',
  • local-development/tags/2.8.4/vendor/wp-cli/wp-config-transformer/composer.json

    r2941394 r3116688  
    2323    },
    2424    "require-dev": {
    25         "wp-cli/wp-cli-tests": "^3.1"
     25        "wp-cli/wp-cli-tests": "^"
    2626    },
    2727    "autoload": {
     
    3535        "lint": "run-linter-tests",
    3636        "phpcs": "run-phpcs-tests",
     37
    3738        "phpunit": "run-php-unit-tests",
    3839        "prepare-tests": "install-package-tests",
  • local-development/tags/2.8.4/vendor/wp-cli/wp-config-transformer/src/WPConfigTransformer.php

    r2941394 r3116688  
    7171        }
    7272        // Normalize the newline to prevent an issue coming from OSX.
    73         $this->wp_config_src = str_replace( array( "\n\r", "\r" ), "\n", $wp_config_src );
     73        $this->wp_config_src = str_replace( array( "\n\r", "\r" ), "\n", $wp_config_src );
    7474        $this->wp_configs    = $this->parse_wp_config( $this->wp_config_src );
    7575
     
    289289        foreach ( token_get_all( $src ) as $token ) {
    290290            if ( in_array( $token[0], array( T_COMMENT, T_DOC_COMMENT ), true ) ) {
    291                 $src = str_replace( $token[1], '', $src );
     291                if ( '//' === $token[1] ) {
     292                    // For empty line comments, actually remove empty line comments instead of all double-slashes.
     293                    // See: https://github.com/wp-cli/wp-config-transformer/issues/47
     294                    $src = preg_replace( '/' . preg_quote( '//', '/' ) . '$/m', '', $src );
     295                } else {
     296                    $src = str_replace( $token[1], '', $src );
     297                }
    292298            }
    293299        }
  • local-development/trunk/CHANGES.md

    r2941394 r3116688  
    11#### [unreleased]
     2
     3
     4
     5
     6
     7
    28
    39#### 2.8.3
  • local-development/trunk/composer.json

    r2941394 r3116688  
    3939    },
    4040    "require-dev": {
    41         "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
    42         "squizlabs/php_codesniffer": "3.6.0",
    43         "wp-coding-standards/wpcs": "~2.3.0"
     41        "wp-coding-standards/wpcs": "^3.0.0"
    4442    },
    4543    "config": {
  • local-development/trunk/local-development.php

    r2941394 r3116688  
    1515 * Author URI:        http://thefragens.com/
    1616 * Description:       Places development notice for plugins or themes that are in local development. Prevents updating of selected plugins and themes. Automatically adds plugins and themes under version control. Allows for using a local file server and bypassing the WordPress 5.2 WSOD Shutdown Handler.
    17  * Version:           2.8.3
     17 * Version:           2.8.
    1818 * Domain Path:       /languages
    1919 * Text Domain:       local-development
  • local-development/trunk/readme.txt

    r2941394 r3116688  
    44Requires at least: 4.6
    55Requires PHP: 5.6
    6 Tested up to: 6.3
    7 Stable tag: 2.8.3
     6Tested up to: 6.
     7Stable tag: 2.8.
    88License: GPLv2
    99
     
    3131
    3232## Changelog
     33
     34
     35
     36
     37
     38
    3339
    3440#### 2.8.3
  • local-development/trunk/src/Local_Development/Base.php

    r2488154 r3116688  
    8484        add_action(
    8585            'admin_init',
    86             function() {
     86            function() {
    8787                $this->disable_autoupdate_link();
    8888            }
     
    250250                add_filter(
    251251                    "auto_update_{$type}",
    252                     function( $update, $slug ) use ( $repo, $type ) {
     252                    function( $update, $slug ) use ( $repo, $type ) {
    253253                        if ( $repo === $slug->{$type} ) {
    254254                            return false;
  • local-development/trunk/src/Local_Development/Extras.php

    r2721520 r3116688  
    188188        add_filter(
    189189            'http_request_args',
    190             function ( $r, $url ) {
     190            function ( $r ) {
    191191                if ( ! $r['reject_unsafe_urls'] ) {
    192192                    return $r;
     
    197197            },
    198198            10,
    199             2
     199           
    200200        );
    201201    }
  • local-development/trunk/src/Local_Development/Init.php

    r2721520 r3116688  
    159159
    160160                foreach ( $vcs_dirs as $vcs_dir ) {
     161
    161162                    $is_vcs = @is_dir( "{$filepath}/{$vcs_dir}" );
    162163                    if ( $is_vcs ) {
     
    202203
    203204        if ( ! file_exists( $config_path ) ) {
     205
    204206            if ( @file_exists( dirname( ABSPATH ) . '/wp-config.php' ) && ! @file_exists( dirname( ABSPATH ) . '/wp-settings.php' ) ) {
    205207                $config_path = dirname( ABSPATH ) . '/wp-config.php';
  • local-development/trunk/vendor/composer/autoload_classmap.php

    r2883673 r3116688  
    99    'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
    1010    'Fragen\\Singleton' => $vendorDir . '/afragen/singleton/Singleton.php',
     11
     12
     13
     14
     15
     16
     17
     18
     19
     20
     21
     22
     23
     24
     25
     26
     27
     28
     29
     30
     31
     32
     33
     34
     35
     36
     37
     38
     39
     40
     41
     42
     43
     44
     45
     46
     47
    1148);
  • local-development/trunk/vendor/composer/autoload_psr4.php

    r2941394 r3116688  
    77
    88return array(
     9
    910    'Fragen\\Local_Development\\' => array($baseDir . '/src/Local_Development'),
    10     'Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\' => array($vendorDir . '/dealerdirect/phpcodesniffer-composer-installer/src'),
    1111);
  • local-development/trunk/vendor/composer/autoload_static.php

    r2941394 r3116688  
    1212
    1313    public static $prefixLengthsPsr4 = array (
     14
     15
     16
     17
    1418        'F' =>
    1519        array (
    1620            'Fragen\\Local_Development\\' => 25,
    1721        ),
    18         'D' =>
    19         array (
    20             'Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\' => 55,
    21         ),
    2222    );
    2323
    2424    public static $prefixDirsPsr4 = array (
     25
     26
     27
     28
    2529        'Fragen\\Local_Development\\' =>
    2630        array (
    2731            0 => __DIR__ . '/../..' . '/src/Local_Development',
    28         ),
    29         'Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\' =>
    30         array (
    31             0 => __DIR__ . '/..' . '/dealerdirect/phpcodesniffer-composer-installer/src',
    3232        ),
    3333    );
     
    3636        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
    3737        'Fragen\\Singleton' => __DIR__ . '/..' . '/afragen/singleton/Singleton.php',
     38
     39
     40
     41
     42
     43
     44
     45
     46
     47
     48
     49
     50
     51
     52
     53
     54
     55
     56
     57
     58
     59
     60
     61
     62
     63
     64
     65
     66
     67
     68
     69
     70
     71
     72
     73
     74
    3875    );
    3976
  • local-development/trunk/vendor/composer/installed.json

    r2941394 r3116688  
    5353        {
    5454            "name": "dealerdirect/phpcodesniffer-composer-installer",
    55             "version": "v0.7.2",
    56             "version_normalized": "0.7.2.0",
    57             "source": {
    58                 "type": "git",
    59                 "url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git",
    60                 "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db"
    61             },
    62             "dist": {
    63                 "type": "zip",
    64                 "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db",
    65                 "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db",
     55            "version": "v",
     56            "version_normalized": ".0",
     57            "source": {
     58                "type": "git",
     59                "url": "https://github.com/composer-installer.git",
     60                "reference": ""
     61            },
     62            "dist": {
     63                "type": "zip",
     64                "url": "https://api.github.com/repos/",
     65                "reference": "",
    6666                "shasum": ""
    6767            },
    6868            "require": {
    6969                "composer-plugin-api": "^1.0 || ^2.0",
    70                 "php": ">=5.3",
     70                "php": ">=5.",
    7171                "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0"
    7272            },
    7373            "require-dev": {
    7474                "composer/composer": "*",
     75
     76
    7577                "php-parallel-lint/php-parallel-lint": "^1.3.1",
    76                 "phpcompatibility/php-compatibility": "^9.0"
    77             },
    78             "time": "2022-02-04T12:51:07+00:00",
     78                "phpcompatibility/php-compatibility": "^9.0",
     79                "yoast/phpunit-polyfills": "^1.0"
     80            },
     81            "time": "2023-01-05T11:28:13+00:00",
    7982            "type": "composer-plugin",
    8083            "extra": {
    81                 "class": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin"
     84                "class": "\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin"
    8285            },
    8386            "installation-source": "dist",
    8487            "autoload": {
    8588                "psr-4": {
    86                     "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/"
     89                    "\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/"
    8790                }
    8891            },
     
    100103                {
    101104                    "name": "Contributors",
    102                     "homepage": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer/graphs/contributors"
     105                    "homepage": "https://github.com/composer-installer/graphs/contributors"
    103106                }
    104107            ],
     
    124127            ],
    125128            "support": {
    126                 "issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues",
    127                 "source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer"
     129                "issues": "https://github.com/composer-installer/issues",
     130                "source": "https://github.com/composer-installer"
    128131            },
    129132            "install-path": "../dealerdirect/phpcodesniffer-composer-installer"
    130133        },
    131134        {
     135
     136
     137
     138
     139
     140
     141
     142
     143
     144
     145
     146
     147
     148
     149
     150
     151
     152
     153
     154
     155
     156
     157
     158
     159
     160
     161
     162
     163
     164
     165
     166
     167
     168
     169
     170
     171
     172
     173
     174
     175
     176
     177
     178
     179
     180
     181
     182
     183
     184
     185
     186
     187
     188
     189
     190
     191
     192
     193
     194
     195
     196
     197
     198
     199
     200
     201
     202
     203
     204
     205
     206
     207
     208
     209
     210
     211
     212
     213
     214
     215
     216
     217
     218
     219
     220
     221
     222
     223
     224
     225
     226
     227
     228
     229
     230
     231
     232
     233
     234
     235
     236
     237
     238
     239
     240
     241
     242
     243
     244
     245
     246
     247
     248
     249
     250
     251
     252
     253
     254
     255
     256
     257
     258
     259
     260
     261
     262
     263
     264
     265
     266
     267
     268
     269
     270
     271
     272
     273
     274
     275
     276
     277
     278
     279
     280
     281
     282
     283
     284
     285
     286
     287
     288
     289
     290
     291
     292
     293
     294
     295
     296
     297
     298
     299
     300
     301
     302
     303
     304
     305
     306
    132307            "name": "squizlabs/php_codesniffer",
    133             "version": "3.6.0",
    134             "version_normalized": "3.6.0.0",
    135             "source": {
    136                 "type": "git",
    137                 "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
    138                 "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625"
    139             },
    140             "dist": {
    141                 "type": "zip",
    142                 "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ffced0d2c8fa8e6cdc4d695a743271fab6c38625",
    143                 "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625",
     308            "version": "3.",
     309            "version_normalized": "3..0",
     310            "source": {
     311                "type": "git",
     312                "url": "https://github.com/s/PHP_CodeSniffer.git",
     313                "reference": ""
     314            },
     315            "dist": {
     316                "type": "zip",
     317                "url": "https://api.github.com/repos/",
     318                "reference": "",
    144319                "shasum": ""
    145320            },
     
    151326            },
    152327            "require-dev": {
    153                 "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
    154             },
    155             "time": "2021-04-09T00:54:41+00:00",
     328                "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
     329            },
     330            "time": "2024:41+00:00",
    156331            "bin": [
    157                 "bin/phpcs",
    158                 "bin/phpcbf"
     332                "bin/phpc",
     333                "bin/phpc"
    159334            ],
    160335            "type": "library",
     
    172347                {
    173348                    "name": "Greg Sherwood",
    174                     "role": "lead"
     349                    "role": "Former lead"
     350                },
     351                {
     352                    "name": "Juliette Reinders Folmer",
     353                    "role": "Current lead"
     354                },
     355                {
     356                    "name": "Contributors",
     357                    "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors"
    175358                }
    176359            ],
    177360            "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
    178             "homepage": "https://github.com/squizlabs/PHP_CodeSniffer",
     361            "homepage": "https://github.com/s/PHP_CodeSniffer",
    179362            "keywords": [
    180363                "phpcs",
    181                 "standards"
    182             ],
    183             "support": {
    184                 "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
    185                 "source": "https://github.com/squizlabs/PHP_CodeSniffer",
    186                 "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
    187             },
     364                "standards",
     365                "static analysis"
     366            ],
     367            "support": {
     368                "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues",
     369                "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy",
     370                "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
     371                "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki"
     372            },
     373            "funding": [
     374                {
     375                    "url": "https://github.com/PHPCSStandards",
     376                    "type": "github"
     377                },
     378                {
     379                    "url": "https://github.com/jrfnl",
     380                    "type": "github"
     381                },
     382                {
     383                    "url": "https://opencollective.com/php_codesniffer",
     384                    "type": "open_collective"
     385                }
     386            ],
    188387            "install-path": "../squizlabs/php_codesniffer"
    189388        },
    190389        {
    191390            "name": "wp-cli/wp-config-transformer",
    192             "version": "v1.3.3",
    193             "version_normalized": "1.3.3.0",
     391            "version": "v1.3.",
     392            "version_normalized": "1.3..0",
    194393            "source": {
    195394                "type": "git",
    196395                "url": "https://github.com/wp-cli/wp-config-transformer.git",
    197                 "reference": "b1a6a013e4a8c74b29ba185368b78a140b3268da"
    198             },
    199             "dist": {
    200                 "type": "zip",
    201                 "url": "https://api.github.com/repos/wp-cli/wp-config-transformer/zipball/b1a6a013e4a8c74b29ba185368b78a140b3268da",
    202                 "reference": "b1a6a013e4a8c74b29ba185368b78a140b3268da",
     396                "reference": ""
     397            },
     398            "dist": {
     399                "type": "zip",
     400                "url": "https://api.github.com/repos/wp-cli/wp-config-transformer/zipball/",
     401                "reference": "",
    203402                "shasum": ""
    204403            },
     
    207406            },
    208407            "require-dev": {
    209                 "wp-cli/wp-cli-tests": "^3.1"
    210             },
    211             "time": "2023-04-26T19:51:31+00:00",
     408                "wp-cli/wp-cli-tests": "^"
     409            },
     410            "time": "202+00:00",
    212411            "type": "library",
    213412            "installation-source": "dist",
     
    231430            "support": {
    232431                "issues": "https://github.com/wp-cli/wp-config-transformer/issues",
    233                 "source": "https://github.com/wp-cli/wp-config-transformer/tree/v1.3.3"
     432                "source": "https://github.com/wp-cli/wp-config-transformer/tree/v1.3."
    234433            },
    235434            "install-path": "../wp-cli/wp-config-transformer"
     
    237436        {
    238437            "name": "wp-coding-standards/wpcs",
    239             "version": "2.3.0",
    240             "version_normalized": "2.3.0.0",
     438            "version": ".0",
     439            "version_normalized": ".0.0",
    241440            "source": {
    242441                "type": "git",
    243442                "url": "https://github.com/WordPress/WordPress-Coding-Standards.git",
    244                 "reference": "7da1894633f168fe244afc6de00d141f27517b62"
    245             },
    246             "dist": {
    247                 "type": "zip",
    248                 "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/7da1894633f168fe244afc6de00d141f27517b62",
    249                 "reference": "7da1894633f168fe244afc6de00d141f27517b62",
    250                 "shasum": ""
    251             },
    252             "require": {
     443                "reference": "9333efcbff231f10dfd9c56bb7b65818b4733ca7"
     444            },
     445            "dist": {
     446                "type": "zip",
     447                "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/9333efcbff231f10dfd9c56bb7b65818b4733ca7",
     448                "reference": "9333efcbff231f10dfd9c56bb7b65818b4733ca7",
     449                "shasum": ""
     450            },
     451            "require": {
     452                "ext-filter": "*",
     453                "ext-libxml": "*",
     454                "ext-tokenizer": "*",
     455                "ext-xmlreader": "*",
    253456                "php": ">=5.4",
    254                 "squizlabs/php_codesniffer": "^3.3.1"
     457                "phpcsstandards/phpcsextra": "^1.2.1",
     458                "phpcsstandards/phpcsutils": "^1.0.10",
     459                "squizlabs/php_codesniffer": "^3.9.0"
    255460            },
    256461            "require-dev": {
    257                 "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || ^0.6",
     462                "php-parallel-lint/php-console-highlighter": "^1.0.0",
     463                "php-parallel-lint/php-parallel-lint": "^1.3.2",
    258464                "phpcompatibility/php-compatibility": "^9.0",
    259                 "phpcsstandards/phpcsdevtools": "^1.0",
    260                 "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
     465                "phpcsstandards/phpcsdevtools": "^1.0",
     466                "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
    261467            },
    262468            "suggest": {
    263                 "dealerdirect/phpcodesniffer-composer-installer": "^0.6 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically."
    264             },
    265             "time": "2020-05-13T23:57:56+00:00",
     469                "ext-iconv": "For improved results",
     470                "ext-mbstring": "For improved results"
     471            },
     472            "time": "2024-03-25T16:39:00+00:00",
    266473            "type": "phpcodesniffer-standard",
    267474            "installation-source": "dist",
     
    280487                "phpcs",
    281488                "standards",
     489
    282490                "wordpress"
    283491            ],
     
    287495                "wiki": "https://github.com/WordPress/WordPress-Coding-Standards/wiki"
    288496            },
     497
     498
     499
     500
     501
     502
    289503            "install-path": "../wp-coding-standards/wpcs"
    290504        }
     
    293507    "dev-package-names": [
    294508        "dealerdirect/phpcodesniffer-composer-installer",
     509
     510
    295511        "squizlabs/php_codesniffer",
    296512        "wp-coding-standards/wpcs"
  • local-development/trunk/vendor/composer/installed.php

    r2941394 r3116688  
    3232        ),
    3333        'dealerdirect/phpcodesniffer-composer-installer' => array(
    34             'pretty_version' => 'v0.7.2',
    35             'version' => '0.7.2.0',
    36             'reference' => '1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db',
     34            'pretty_version' => 'v',
     35            'version' => '.0',
     36            'reference' => '',
    3737            'type' => 'composer-plugin',
    3838            'install_path' => __DIR__ . '/../dealerdirect/phpcodesniffer-composer-installer',
     
    4040            'dev_requirement' => true,
    4141        ),
     42
     43
     44
     45
     46
     47
     48
     49
     50
     51
     52
     53
     54
     55
     56
     57
     58
     59
    4260        'squizlabs/php_codesniffer' => array(
    43             'pretty_version' => '3.6.0',
    44             'version' => '3.6.0.0',
    45             'reference' => 'ffced0d2c8fa8e6cdc4d695a743271fab6c38625',
     61            'pretty_version' => '3.',
     62            'version' => '3..0',
     63            'reference' => '',
    4664            'type' => 'library',
    4765            'install_path' => __DIR__ . '/../squizlabs/php_codesniffer',
     
    5068        ),
    5169        'wp-cli/wp-config-transformer' => array(
    52             'pretty_version' => 'v1.3.3',
    53             'version' => '1.3.3.0',
    54             'reference' => 'b1a6a013e4a8c74b29ba185368b78a140b3268da',
     70            'pretty_version' => 'v1.3.',
     71            'version' => '1.3..0',
     72            'reference' => '',
    5573            'type' => 'library',
    5674            'install_path' => __DIR__ . '/../wp-cli/wp-config-transformer',
     
    5977        ),
    6078        'wp-coding-standards/wpcs' => array(
    61             'pretty_version' => '2.3.0',
    62             'version' => '2.3.0.0',
    63             'reference' => '7da1894633f168fe244afc6de00d141f27517b62',
     79            'pretty_version' => '.0',
     80            'version' => '.0.0',
     81            'reference' => '',
    6482            'type' => 'phpcodesniffer-standard',
    6583            'install_path' => __DIR__ . '/../wp-coding-standards/wpcs',
  • local-development/trunk/vendor/wp-cli/wp-config-transformer/composer.json

    r2941394 r3116688  
    2323    },
    2424    "require-dev": {
    25         "wp-cli/wp-cli-tests": "^3.1"
     25        "wp-cli/wp-cli-tests": "^"
    2626    },
    2727    "autoload": {
     
    3535        "lint": "run-linter-tests",
    3636        "phpcs": "run-phpcs-tests",
     37
    3738        "phpunit": "run-php-unit-tests",
    3839        "prepare-tests": "install-package-tests",
  • local-development/trunk/vendor/wp-cli/wp-config-transformer/src/WPConfigTransformer.php

    r2941394 r3116688  
    7171        }
    7272        // Normalize the newline to prevent an issue coming from OSX.
    73         $this->wp_config_src = str_replace( array( "\n\r", "\r" ), "\n", $wp_config_src );
     73        $this->wp_config_src = str_replace( array( "\n\r", "\r" ), "\n", $wp_config_src );
    7474        $this->wp_configs    = $this->parse_wp_config( $this->wp_config_src );
    7575
     
    289289        foreach ( token_get_all( $src ) as $token ) {
    290290            if ( in_array( $token[0], array( T_COMMENT, T_DOC_COMMENT ), true ) ) {
    291                 $src = str_replace( $token[1], '', $src );
     291                if ( '//' === $token[1] ) {
     292                    // For empty line comments, actually remove empty line comments instead of all double-slashes.
     293                    // See: https://github.com/wp-cli/wp-config-transformer/issues/47
     294                    $src = preg_replace( '/' . preg_quote( '//', '/' ) . '$/m', '', $src );
     295                } else {
     296                    $src = str_replace( $token[1], '', $src );
     297                }
    292298            }
    293299        }
Note: See TracChangeset for help on using the changeset viewer.