Plugin Directory

Changeset 2082909


Ignore:
Timestamp:
05/07/2019 11:00:23 PM (7 years ago)
Author:
waughjai
Message:

Test for WordPress 5.2

Location:
waj-copyright-year
Files:
31 added
3 edited

Legend:

Unmodified
Added
Removed
  • waj-copyright-year/trunk/composer.json

    r1963099 r2082909  
    1616    },
    1717    "require-dev": {
    18         "phpunit/phpunit": "6.*"
     18        "phpunit/phpunit": "*"
    1919    },
    2020    "autoload": {
  • waj-copyright-year/trunk/readme.txt

    r2058433 r2082909  
    33Tags: copyright, year, footer, auto-update, new year
    44Requires at least: 4.9.8
    5 Tested up to: 5.1.1
    6 Stable tag: 1.0.3
     5Tested up to: 5.2
     6Stable tag: 1.0.4
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    5959== Changelog ==
    6060
     61= 1.0.4 =
     62* Test in WordPress version 5.2.
     63
    6164= 1.0.3 =
    6265* Update dependencies
  • waj-copyright-year/trunk/vendor/composer/ClassLoader.php

    r1963099 r2082909  
    280280    public function setApcuPrefix($apcuPrefix)
    281281    {
    282         $this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null;
     282        $this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null;
    283283    }
    284284
     
    378378            while (false !== $lastPos = strrpos($subPath, '\\')) {
    379379                $subPath = substr($subPath, 0, $lastPos);
    380                 $search = $subPath.'\\';
     380                $search = $subPath . '\\';
    381381                if (isset($this->prefixDirsPsr4[$search])) {
    382382                    $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
Note: See TracChangeset for help on using the changeset viewer.