Plugin Directory

Changeset 3122014


Ignore:
Timestamp:
07/19/2024 11:49:14 AM (18 months ago)
Author:
nappssolutions
Message:

Release 1.0.8

Location:
discount-rules-by-napps
Files:
61 added
10 edited

Legend:

Unmodified
Added
Removed
  • discount-rules-by-napps/trunk/app/Loader.php

    r2995059 r3122014  
    2121     * @var string
    2222     */
    23     public $version = '1.0.7';
     23    public $version = '1.0.8';
    2424
    2525    /**
  • discount-rules-by-napps/trunk/app/Repository/WoocommerceRepository.php

    r2995059 r3122014  
    22
    33namespace App\Repository;
     4use Automattic\WooCommerce\Utilities\RestApiUtil;
    45
    56abstract class WoocommerceRepository
     
    3031     */
    3132    protected function getApi() {
    32         return wc()->api;
     33        return wc_get_container()->get( RestApiUtil::class );
    3334    }
    3435
  • discount-rules-by-napps/trunk/plugin.php

    r2995059 r3122014  
    44 * Plugin URI: https://napps.io/
    55 * Description: Apply discounts to collections and products
    6  * Version:     1.0.7
    7  * Author:      NAPPS
     6 * Version:     1.0.8
     7 * Author:      nappssolutions
    88 * Author URI:  https://napps.io
    99 * Text Domain: discount-rules-by-napps
  • discount-rules-by-napps/trunk/readme.txt

    r2995059 r3122014  
    33Tags: discounts, discount, discount rules, woocommerce, change prices, collections, products, napps
    44Requires at least: 4.7
    5 Tested up to: 6.4
    6 Stable tag: 1.0.7
    7 Requires PHP: 5.6
     5Tested up to: 9.1
     6Stable tag: 1.0.8
     7Requires PHP: 7.4
    88License: GPLv2
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    4343== Changelog ==
    4444
     45= 1.0.8 =
     46
     47* Fix - Don't use deprecated wc api
     48
    4549= 1.0.7 =
    4650
  • discount-rules-by-napps/trunk/vendor/autoload.php

    r2972990 r3122014  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInit32ea05fd14e9fefc40b076a87d6b6cca::getLoader();
     25return ComposerAutoloaderInitcba9c3a9d1943626b1491b224783c846::getLoader();
  • discount-rules-by-napps/trunk/vendor/composer/InstalledVersions.php

    r2972990 r3122014  
    267267            // only require the installed.php file if this file is loaded from its dumped location,
    268268            // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
    269             if (substr(__DIR__, -8, 1) !== 'C' && is_file(__DIR__ . '/installed.php')) {
     269            if (substr(__DIR__, -8, 1) !== 'C') {
    270270                self::$installed = include __DIR__ . '/installed.php';
    271271            } else {
     
    342342            // only require the installed.php file if this file is loaded from its dumped location,
    343343            // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
    344             if (substr(__DIR__, -8, 1) !== 'C' && is_file(__DIR__ . '/installed.php')) {
     344            if (substr(__DIR__, -8, 1) !== 'C') {
    345345                /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
    346346                $required = require __DIR__ . '/installed.php';
  • discount-rules-by-napps/trunk/vendor/composer/LICENSE

    r2972990 r3122014  
     1
    12Copyright (c) Nils Adermann, Jordi Boggiano
    23
     
    1819OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    1920THE SOFTWARE.
     21
  • discount-rules-by-napps/trunk/vendor/composer/autoload_real.php

    r2972990 r3122014  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit32ea05fd14e9fefc40b076a87d6b6cca
     5class ComposerAutoloaderInitcba9c3a9d1943626b1491b224783c846
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit32ea05fd14e9fefc40b076a87d6b6cca', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInitcba9c3a9d1943626b1491b224783c846', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    27         spl_autoload_unregister(array('ComposerAutoloaderInit32ea05fd14e9fefc40b076a87d6b6cca', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInitcba9c3a9d1943626b1491b224783c846', 'loadClassLoader'));
    2828
    2929        require __DIR__ . '/autoload_static.php';
    30         call_user_func(\Composer\Autoload\ComposerStaticInit32ea05fd14e9fefc40b076a87d6b6cca::getInitializer($loader));
     30        call_user_func(\Composer\Autoload\ComposerStaticInitcba9c3a9d1943626b1491b224783c846::getInitializer($loader));
    3131
    3232        $loader->register(true);
  • discount-rules-by-napps/trunk/vendor/composer/autoload_static.php

    r2993033 r3122014  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit32ea05fd14e9fefc40b076a87d6b6cca
     7class ComposerStaticInitcba9c3a9d1943626b1491b224783c846
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    4848    {
    4949        return \Closure::bind(function () use ($loader) {
    50             $loader->prefixLengthsPsr4 = ComposerStaticInit32ea05fd14e9fefc40b076a87d6b6cca::$prefixLengthsPsr4;
    51             $loader->prefixDirsPsr4 = ComposerStaticInit32ea05fd14e9fefc40b076a87d6b6cca::$prefixDirsPsr4;
    52             $loader->classMap = ComposerStaticInit32ea05fd14e9fefc40b076a87d6b6cca::$classMap;
     50            $loader->prefixLengthsPsr4 = ComposerStaticInitcba9c3a9d1943626b1491b224783c846::$prefixLengthsPsr4;
     51            $loader->prefixDirsPsr4 = ComposerStaticInitcba9c3a9d1943626b1491b224783c846::$prefixDirsPsr4;
     52            $loader->classMap = ComposerStaticInitcba9c3a9d1943626b1491b224783c846::$classMap;
    5353
    5454        }, null, ClassLoader::class);
  • discount-rules-by-napps/trunk/vendor/composer/installed.php

    r2993033 r3122014  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => '6f1e27b047b416381cb45eec7a5669a16b12c21e',
     6        'reference' => 'bb278b49058437a09f79732e6e43466a19ff3cf3',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-main',
    1515            'version' => 'dev-main',
    16             'reference' => '6f1e27b047b416381cb45eec7a5669a16b12c21e',
     16            'reference' => 'bb278b49058437a09f79732e6e43466a19ff3cf3',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.