Plugin Directory

Changeset 2823118


Ignore:
Timestamp:
11/23/2022 07:02:10 PM (3 years ago)
Author:
stockpack
Message:

Hack composer settings library to fix issue with php 8.1 compatibility

Location:
stockpack/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stockpack/trunk/readme.txt

    r2816792 r2823118  
    33Tags: stock images, adobe stock, unsplash, getty, istock, pixabay, pexels
    44Requires at least: 4.6
    5 Tested up to: 6.1.0
    6 Stable tag: 3.3.5
     5Tested up to: 6.1.1
     6Stable tag: 3.3.6
    77License: GPL
    88License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
     
    134134== Changelog ==
    135135
    136 = 3.3.4 =
    137 Regenerated composer with -a flag
     136= 3.3.6 =
     137Hack to fix vendor package for php 8.1 compatibility
     138
     139= 3.3.5 =
     140Regenerated composer with -oa flag
    138141
    139142= 3.3.4 =
  • stockpack/trunk/stockpack.php

    r2816792 r2823118  
    66 * Author: Derikon Development
    77 * Author URI: https://derikon.com/
    8  * Version: 3.3.5
     8 * Version: 3.3.6
    99 * Text Domain: stockpack
    1010 * Domain Path: /languages
     
    2020 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2121 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    22  * GNU General Public License for more details.xdebu
     22 * GNU General Public License for more details
    2323 *
    2424 * You should have received a copy of the GNU General Public License
  • stockpack/trunk/vendor/tareq1988/wordpress-settings-api-class/src/class.settings-api.php

    r2295158 r2823118  
    106106            if ( isset($section['desc']) && !empty($section['desc']) ) {
    107107                $section['desc'] = '<div class="inside">'.$section['desc'].'</div>';
    108                 $callback = create_function('', 'echo "'.str_replace('"', '\"', $section['desc']).'";');
     108                $callback = function() use ($section) { echo str_replace('"', '\"', $section['desc']).'";'; };
    109109            } else if ( isset( $section['callback'] ) ) {
    110110                $callback = $section['callback'];
Note: See TracChangeset for help on using the changeset viewer.