Plugin Directory

Changeset 2686884


Ignore:
Timestamp:
03/01/2022 07:39:34 PM (4 years ago)
Author:
akshitsethi
Message:

Update to version 1.2.2 from GitHub

Location:
customize-woo/trunk
Files:
19 added
8 deleted
12 edited

Legend:

Unmodified
Added
Removed
  • customize-woo/trunk/assets/admin/js/admin.js

    r2285855 r2686884  
    6262(function($) {
    6363  'use strict';
    64 
    65   // When switching between support and about
    66   function hacks($tab) {
    67     // Submit button
    68     var $as_button = $('#' + customizewoo_admin_l10n.prefix + 'submit');
    69 
    70     // About
    71     if ($tab == '#about') {
    72       $as_button.hide();
    73     } else {
    74       $as_button.show();
    75     }
    76 
    77     // Support
    78     if ($tab == '#support') {
    79       $as_button.val(customizewoo_admin_l10n.support_text);
    80     } else {
    81       $as_button.val(customizewoo_admin_l10n.save_text);
    82     }
    83   }
    8464
    8565  // On DOM ready
     
    149129
    150130    // On form change
    151     $('form').on('change keyup keydown', 'input, textarea, select', function (e) {
     131    $('form').on('change', 'input, textarea, select', function (e) {
    152132      // Get cookie state
    153133      var $state = Cookies.get(customizewoo_admin_l10n.prefix + 'menu');
    154134
    155       if ($state) {
    156         if ($state != '#support') {
    157           $(this).addClass('changed-input');
    158         }
    159       } else {
    160         $(this).addClass('changed-input');
    161       }
     135      $(this).addClass('changed-input');
    162136    });
    163137
     
    172146      $('#' + customizewoo_admin_l10n.prefix + 'submit' ).attr('data-tab', $state);
    173147
    174       // Hacks for support and about tabs
    175       hacks($state);
    176 
    177148      // Load
    178149      $($state).fadeIn();
     
    184155      $('#' + customizewoo_admin_l10n.prefix + 'submit').attr('data-tab', '#basic');
    185156    }
    186 
    187157
    188158    // Menu
     
    214184        // State button (add)
    215185        $('#' + customizewoo_admin_l10n.prefix + 'submit').attr('data-tab', $tab);
    216 
    217         // Hacks for support and about tabs
    218         hacks($tab)
    219186      }
    220187    });
    221 
    222188
    223189    // Mobile navigation
  • customize-woo/trunk/customize-woo.php

    r2285855 r2686884  
    33 * Plugin Name: Customize Woo
    44 * Description: Plugin to help customise WooCommerce with the help of actions and filters.
    5  * Version: 1.1.0
    6  * Runtime: 5.6+
     5 * Version: 1.2.2
     6 * Runtime: 7.3+
    77 * Author: akshitsethi
    88 * Text Domain: customize-woo
     
    1111 * License: GPLv3
    1212 * License URI: http://www.gnu.org/licenses/gpl-3.0.txt
     13 *
     14 * @package AkshitSethi\Plugins\CustomizeWoo
    1315 */
    1416
    1517namespace AkshitSethi\Plugins\CustomizeWoo;
    1618
    17 // Stop execution if the file is called directly
     19// Stop execution if the file is called directly.
    1820defined( 'ABSPATH' ) || exit;
    1921
    20 // Composer autoloder file.
     22// Composer autoloader.
    2123require_once __DIR__ . '/vendor/autoload.php';
    2224
     
    2628 * @category    Plugins
    2729 * @package     AkshitSethi\Plugins\CustomizeWoo
    28  * @since       1.0.0
    2930 */
    3031class CustomizeWoo {
     
    3435     */
    3536    public function __construct() {
    36         // WooCommerce version check
    37         if ( ! WooCheck::is_plugin_active( 'woocommerce.php' ) ) {
    38             add_action( 'admin_notices', array( 'AkshitSethi\Plugins\CustomizeWoo\WooCheck', 'inactive_notice' ) );
    39             return;
    40         }
     37        // Initialise the configuration class.
     38        new Config();
    4139
    4240        add_action( 'plugins_loaded', array( $this, 'init' ) );
    43         add_action( 'plugins_loaded', array( $this, 'load_textdomain' ) );
    4441    }
    45 
    4642
    4743    /**
    4844     * Initialize plugin when all the plugins have been loaded.
    4945     *
    50      * @since 1.0.0
     46     * @return void
    5147     */
    52     public function init() {
    53         // Initialize front and admin
     48    public function init() : void {
     49        if ( ! $this->check_woocommerce() ) {
     50            return;
     51        }
     52
    5453        new Admin();
    5554        new Front();
     55
     56        load_plugin_textdomain( Config::SLUG, false, Config::$plugin_path . 'i18n/' );
    5657    }
    5758
     59    /**
     60     * Checks whether WooCommerce plugin is active or not.
     61     *
     62     * @return bool
     63     */
     64    public function check_woocommerce() : bool {
     65        $woo_check = new WooCheck();
    5866
    59     /**
    60      * Loads textdomain for the plugin.
    61      *
    62      * @since 1.0.0
    63      */
    64     public function load_textdomain() {
    65         load_plugin_textdomain( Config::PLUGIN_SLUG, false, Config::$plugin_path . 'i18n/' );
     67        if ( false === $woo_check->is_plugin_active( 'woocommerce.php' ) ) {
     68            add_action( 'admin_notices', array( $woo_check, 'inactive_notice' ) );
     69
     70            return false;
     71        }
     72
     73        return true;
    6674    }
    67 
    6875
    6976    /**
    7077     * Attached to the activation hook.
     78     *
     79     * @return void
    7180     */
    72     public function activate() {
    73         // Check for existing options in the database
     81    public function activate() : void {
    7482        $options = get_option( Config::DB_OPTION );
    7583
    76         // Present? Overwrite the default options
    7784        if ( $options ) {
    78             $options = array_merge( Config::$default_options, $options );
    79         } else {
    80             $options = Config::$default_options;
     85            Config::$default_options = array_merge( Config::$default_options, $options );
    8186        }
    8287
    83         // Update `wp_options` table
    84         update_option( Config::DB_OPTION, $options );
    85     }
    86 
    87 
    88     /**
    89      * Attached to the de-activation hook.
    90      */
    91     public function deactivate() {
    92         /**
    93          * @todo Nothing to be done here for now.
    94          */
     88        update_option( Config::DB_OPTION, Config::$default_options );
    9589    }
    9690
    9791}
    9892
    99 // Initialize plugin
     93// Initialize plugin.
    10094$customize_woo = new CustomizeWoo();
    10195
    10296/**
    103  * Hooks for plugin activation & deactivation.
     97 * To be run on plugin activation.
    10498 */
    10599register_activation_hook( __FILE__, array( $customize_woo, 'activate' ) );
    106 register_deactivation_hook( __FILE__, array( $customize_woo, 'deactivate' ) );
  • customize-woo/trunk/i18n/customize-woo.pot

    r2285855 r2686884  
    1 # Copyright (C) 2020 akshitsethi
    2 # This file is distributed under the same license as the Customize Woo plugin.
     1# Copyright (C) 2022 akshitsethi
     2# This file is distributed under the GPLv3.
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Customize Woo 1.1.0\n"
    6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/src\n"
     5"Project-Id-Version: Customize Woo 1.2.2\n"
     6"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/customize-woo\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    88"Language-Team: LANGUAGE <[email protected]>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2020-04-16T20:55:14+05:30\n"
     12"POT-Creation-Date: 2022-03-02T00:55:53+05:30\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.4.0\n"
     14"X-Generator: WP-CLI 2.5.0\n"
    1515"X-Domain: customize-woo\n"
    1616
    1717#. Plugin Name of the plugin
    18 #: inc/class-config.php:45
     18#: php/Config.php:127
    1919msgid "Customize Woo"
    2020msgstr ""
     
    3232msgstr ""
    3333
    34 #: inc/admin/views/header.php:17
     34#: php/Admin.php:50
     35#: php/Admin.php:51
     36msgid "Customizer"
     37msgstr ""
     38
     39#: php/Admin.php:72
     40#: php/admin/views/header.php:21
     41msgid "Save Changes"
     42msgstr ""
     43
     44#: php/Admin.php:73
     45msgid "Ask for Support"
     46msgstr ""
     47
     48#: php/Admin.php:74
     49msgid "Please save your changes."
     50msgstr ""
     51
     52#: php/Admin.php:75
     53msgid "Processing.."
     54msgstr ""
     55
     56#: php/Admin.php:102
     57msgid "Facebook"
     58msgstr ""
     59
     60#: php/Admin.php:103
     61msgid "Twitter"
     62msgstr ""
     63
     64#: php/Admin.php:142
     65msgid "There was an error processing the request. Please try again later."
     66msgstr ""
     67
     68#: php/Admin.php:225
     69msgid "Options have been updated successfully."
     70msgstr ""
     71
     72#: php/admin/views/header.php:17
    3573msgid "by"
    3674msgstr ""
    3775
    38 #: inc/admin/views/header.php:17
     76#: php/admin/views/header.php:17
    3977msgid "Akshit Sethi"
    4078msgstr ""
    4179
    42 #: inc/admin/views/header.php:21
    43 #: inc/class-admin.php:68
    44 msgid "Save Changes"
    45 msgstr ""
    46 
    47 #: inc/admin/views/settings-about.php:14
    48 msgid "ABOUT"
    49 msgstr ""
    50 
    51 #: inc/admin/views/settings-about.php:15
    52 msgid "Hola! I'm Akshit Sethi, Designer + Developer by profession & Entrepreneur by passion. In love with WWW and Spanish. Travel is life. When I am not coding, I am reading anything worth reading. I create premium WordPress themes & plugins."
    53 msgstr ""
    54 
    55 #: inc/admin/views/settings-about.php:18
    56 msgid "Show me some love and connect with me via social channels."
    57 msgstr ""
    58 
    59 #: inc/admin/views/settings-about.php:20
    60 #: inc/class-admin.php:98
    61 msgid "Twitter"
    62 msgstr ""
    63 
    64 #: inc/admin/views/settings-about.php:24
    65 #: inc/class-admin.php:97
    66 msgid "Facebook"
    67 msgstr ""
    68 
    69 #: inc/admin/views/settings-authentication.php:15
     80#: php/admin/views/settings-authentication.php:13
    7081msgid "AUTHENTICATION"
    7182msgstr ""
    7283
    73 #: inc/admin/views/settings-authentication.php:16
     84#: php/admin/views/settings-authentication.php:14
    7485msgid "Configure options related to WooCommerce authentication."
    7586msgstr ""
    7687
    77 #: inc/admin/views/settings-authentication.php:21
     88#: php/admin/views/settings-authentication.php:19
    7889msgid "Lost Password Text"
    7990msgstr ""
    8091
    81 #: inc/admin/views/settings-authentication.php:22
     92#: php/admin/views/settings-authentication.php:20
    8293msgid "Lost password text"
    8394msgstr ""
    8495
    85 #: inc/admin/views/settings-authentication.php:24
     96#: php/admin/views/settings-authentication.php:22
    8697msgid "Changes text shown on the lost password screen."
    8798msgstr ""
    8899
    89 #: inc/admin/views/settings-authentication.php:28
     100#: php/admin/views/settings-authentication.php:26
    90101msgid "Lost Password Confirmation Message"
    91102msgstr ""
    92103
    93 #: inc/admin/views/settings-authentication.php:29
     104#: php/admin/views/settings-authentication.php:27
    94105msgid "Lost password confirmation message"
    95106msgstr ""
    96107
    97 #: inc/admin/views/settings-authentication.php:31
     108#: php/admin/views/settings-authentication.php:29
    98109msgid "Changes text for lost password confirmation message."
    99110msgstr ""
    100111
    101 #: inc/admin/views/settings-authentication.php:37
     112#: php/admin/views/settings-authentication.php:35
    102113msgid "Reset Password Text"
    103114msgstr ""
    104115
    105 #: inc/admin/views/settings-authentication.php:38
     116#: php/admin/views/settings-authentication.php:36
    106117msgid "Reset password text"
    107118msgstr ""
    108119
    109 #: inc/admin/views/settings-authentication.php:40
     120#: php/admin/views/settings-authentication.php:38
    110121msgid "Changes text shown on the reset password screen."
    111122msgstr ""
    112123
    113 #: inc/admin/views/settings-cart.php:15
     124#: php/admin/views/settings-cart.php:13
    114125msgid "CART"
    115126msgstr ""
    116127
    117 #: inc/admin/views/settings-cart.php:16
     128#: php/admin/views/settings-cart.php:14
    118129msgid "Configure options for the WooCommerce Cart page."
    119130msgstr ""
    120131
    121 #: inc/admin/views/settings-cart.php:21
     132#: php/admin/views/settings-cart.php:19
    122133msgid "No Shipping Available Text"
    123134msgstr ""
    124135
    125 #: inc/admin/views/settings-cart.php:22
     136#: php/admin/views/settings-cart.php:20
    126137msgid "No shipping available text on cart page"
    127138msgstr ""
    128139
    129 #: inc/admin/views/settings-cart.php:24
     140#: php/admin/views/settings-cart.php:22
    130141msgid "Changes the no shipping available text on cart."
    131142msgstr ""
    132143
    133 #: inc/admin/views/settings-cart.php:28
     144#: php/admin/views/settings-cart.php:26
    134145msgid "Shipping Estimate Text"
    135146msgstr ""
    136147
    137 #: inc/admin/views/settings-cart.php:29
     148#: php/admin/views/settings-cart.php:27
    138149msgid "Shipping estimate text on cart page"
    139150msgstr ""
    140151
    141 #: inc/admin/views/settings-cart.php:31
     152#: php/admin/views/settings-cart.php:29
    142153msgid "Changes the shipping estimate text on cart."
    143154msgstr ""
    144155
    145 #: inc/admin/views/settings-checkout.php:15
     156#: php/admin/views/settings-checkout.php:13
    146157msgid "CHECKOUT"
    147158msgstr ""
    148159
    149 #: inc/admin/views/settings-checkout.php:16
     160#: php/admin/views/settings-checkout.php:14
    150161msgid "Configure options for the WooCommerce Checkout page."
    151162msgstr ""
    152163
    153 #: inc/admin/views/settings-checkout.php:21
     164#: php/admin/views/settings-checkout.php:19
    154165msgid "Must be Logged-in Text"
    155166msgstr ""
    156167
    157 #: inc/admin/views/settings-checkout.php:22
     168#: php/admin/views/settings-checkout.php:20
    158169msgid "Must be logged-in message on checkout page"
    159170msgstr ""
    160171
    161 #: inc/admin/views/settings-checkout.php:24
     172#: php/admin/views/settings-checkout.php:22
    162173msgid "Changes the message displayed when a customer must be logged in to checkout."
    163174msgstr ""
    164175
    165 #: inc/admin/views/settings-checkout.php:28
     176#: php/admin/views/settings-checkout.php:26
    166177msgid "Login Text"
    167178msgstr ""
    168179
    169 #: inc/admin/views/settings-checkout.php:29
     180#: php/admin/views/settings-checkout.php:27
    170181msgid "Login message text on product page"
    171182msgstr ""
    172183
    173 #: inc/admin/views/settings-checkout.php:31
     184#: php/admin/views/settings-checkout.php:29
    174185msgid "Changes the message displayed if customers can login at checkout."
    175186msgstr ""
    176187
    177 #: inc/admin/views/settings-checkout.php:37
     188#: php/admin/views/settings-checkout.php:35
    178189msgid "Create Account Checkbox Default"
    179190msgstr ""
    180191
    181 #: inc/admin/views/settings-checkout.php:39
     192#: php/admin/views/settings-checkout.php:37
    182193msgid "Checked"
    183194msgstr ""
    184195
    185 #: inc/admin/views/settings-checkout.php:40
     196#: php/admin/views/settings-checkout.php:38
    186197msgid "Unchecked"
    187198msgstr ""
    188199
    189 #: inc/admin/views/settings-checkout.php:43
     200#: php/admin/views/settings-checkout.php:41
    190201msgid "Control the default state for the Create Account checkbox."
    191202msgstr ""
    192203
    193 #: inc/admin/views/settings-checkout.php:47
     204#: php/admin/views/settings-checkout.php:45
    194205msgid "Order Button Text"
    195206msgstr ""
    196207
    197 #: inc/admin/views/settings-checkout.php:48
     208#: php/admin/views/settings-checkout.php:46
    198209msgid "Place order button text on product page"
    199210msgstr ""
    200211
    201 #: inc/admin/views/settings-checkout.php:50
     212#: php/admin/views/settings-checkout.php:48
    202213msgid "Changes the \"Place Order\" button text on checkout."
    203214msgstr ""
    204215
    205 #: inc/admin/views/settings-checkout.php:56
     216#: php/admin/views/settings-checkout.php:54
    206217msgid "Show Checkout Terms"
    207218msgstr ""
    208219
    209 #: inc/admin/views/settings-checkout.php:59
     220#: php/admin/views/settings-checkout.php:57
    210221msgid "Show or hide Terms & Conditions checkbox on checkout page."
    211222msgstr ""
    212223
    213 #: inc/admin/views/settings-checkout.php:63
     224#: php/admin/views/settings-checkout.php:61
    214225msgid "Show Order Notes Field"
    215226msgstr ""
    216227
    217 #: inc/admin/views/settings-checkout.php:66
     228#: php/admin/views/settings-checkout.php:64
    218229msgid "Show or hide Order notes field on checkout page."
    219230msgstr ""
    220231
    221 #: inc/admin/views/settings-misc.php:15
     232#: php/admin/views/settings-misc.php:13
    222233msgid "MISC"
    223234msgstr ""
    224235
    225 #: inc/admin/views/settings-misc.php:16
     236#: php/admin/views/settings-misc.php:14
    226237msgid "Configure other options for the WooCommerce."
    227238msgstr ""
    228239
    229 #: inc/admin/views/settings-misc.php:21
     240#: php/admin/views/settings-misc.php:19
    230241msgid "Tax Label"
    231242msgstr ""
    232243
    233 #: inc/admin/views/settings-misc.php:22
     244#: php/admin/views/settings-misc.php:20
    234245msgid "Taxes label text"
    235246msgstr ""
    236247
    237 #: inc/admin/views/settings-misc.php:24
     248#: php/admin/views/settings-misc.php:22
    238249msgid "Changes the Taxes label."
    239250msgstr ""
    240251
    241 #: inc/admin/views/settings-misc.php:28
     252#: php/admin/views/settings-misc.php:26
    242253msgid "Including Tax Label"
    243254msgstr ""
    244255
    245 #: inc/admin/views/settings-misc.php:29
     256#: php/admin/views/settings-misc.php:27
    246257msgid "Including taxes label text"
    247258msgstr ""
    248259
    249 #: inc/admin/views/settings-misc.php:31
     260#: php/admin/views/settings-misc.php:29
    250261msgid "Changes the including Taxes label."
    251262msgstr ""
    252263
    253 #: inc/admin/views/settings-misc.php:37
     264#: php/admin/views/settings-misc.php:35
    254265msgid "Excluding Tax Label"
    255266msgstr ""
    256267
    257 #: inc/admin/views/settings-misc.php:38
     268#: php/admin/views/settings-misc.php:36
    258269msgid "Excluding taxes label text"
    259270msgstr ""
    260271
    261 #: inc/admin/views/settings-misc.php:40
     272#: php/admin/views/settings-misc.php:38
    262273msgid "Changes the excluding Taxes label."
    263274msgstr ""
    264275
    265 #: inc/admin/views/settings-misc.php:44
     276#: php/admin/views/settings-misc.php:42
    266277msgid "Order Received Text"
    267278msgstr ""
    268279
    269 #: inc/admin/views/settings-misc.php:45
     280#: php/admin/views/settings-misc.php:43
    270281msgid "Order received thank you text"
    271282msgstr ""
    272283
    273 #: inc/admin/views/settings-misc.php:47
     284#: php/admin/views/settings-misc.php:45
    274285msgid "Changes the Order received text on thank you page."
    275286msgstr ""
    276287
    277 #: inc/admin/views/settings-product.php:15
     288#: php/admin/views/settings-product.php:13
    278289msgid "PRODUCT"
    279290msgstr ""
    280291
    281 #: inc/admin/views/settings-product.php:16
     292#: php/admin/views/settings-product.php:14
    282293msgid "Configure options for the WooCommerce Product page."
    283294msgstr ""
    284295
    285 #: inc/admin/views/settings-product.php:21
     296#: php/admin/views/settings-product.php:19
    286297msgid "Product Description Tab Title"
    287298msgstr ""
    288299
    289 #: inc/admin/views/settings-product.php:22
     300#: php/admin/views/settings-product.php:20
    290301msgid "Product description tab title"
    291302msgstr ""
    292303
    293 #: inc/admin/views/settings-product.php:24
     304#: php/admin/views/settings-product.php:22
    294305msgid "Changes the product description tab title."
    295306msgstr ""
    296307
    297 #: inc/admin/views/settings-product.php:28
     308#: php/admin/views/settings-product.php:26
    298309msgid "Product Description Tab Heading"
    299310msgstr ""
    300311
    301 #: inc/admin/views/settings-product.php:29
     312#: php/admin/views/settings-product.php:27
    302313msgid "Product description tab heading"
    303314msgstr ""
    304315
    305 #: inc/admin/views/settings-product.php:31
     316#: php/admin/views/settings-product.php:29
    306317msgid "Changes the product description tab heading."
    307318msgstr ""
    308319
    309 #: inc/admin/views/settings-product.php:37
     320#: php/admin/views/settings-product.php:35
    310321msgid "Reviews Tab Title"
    311322msgstr ""
    312323
    313 #: inc/admin/views/settings-product.php:38
     324#: php/admin/views/settings-product.php:36
    314325msgid "Reviews tab title"
    315326msgstr ""
    316327
    317 #: inc/admin/views/settings-product.php:40
     328#: php/admin/views/settings-product.php:38
    318329msgid "Changes the reviews tab title."
    319330msgstr ""
    320331
    321 #: inc/admin/views/settings-product.php:44
     332#: php/admin/views/settings-product.php:42
    322333msgid "Reviews Tab Heading"
    323334msgstr ""
    324335
    325 #: inc/admin/views/settings-product.php:45
     336#: php/admin/views/settings-product.php:43
    326337msgid "Unfortunately, WooCommerce does not provide a method to modify this."
    327338msgstr ""
    328339
    329 #: inc/admin/views/settings-product.php:51
     340#: php/admin/views/settings-product.php:49
    330341msgid "Additional Information Tab Title"
    331342msgstr ""
    332343
    333 #: inc/admin/views/settings-product.php:52
     344#: php/admin/views/settings-product.php:50
    334345msgid "Additional information tab title"
    335346msgstr ""
    336347
    337 #: inc/admin/views/settings-product.php:54
     348#: php/admin/views/settings-product.php:52
    338349msgid "Changes the additional information tab title."
    339350msgstr ""
    340351
    341 #: inc/admin/views/settings-product.php:58
     352#: php/admin/views/settings-product.php:56
    342353msgid "Additional Information Tab Heading"
    343354msgstr ""
    344355
    345 #: inc/admin/views/settings-product.php:59
     356#: php/admin/views/settings-product.php:57
    346357msgid "Additional information tab heading"
    347358msgstr ""
    348359
    349 #: inc/admin/views/settings-product.php:61
     360#: php/admin/views/settings-product.php:59
    350361msgid "Changes the additional information tab heading."
    351362msgstr ""
    352363
    353 #: inc/admin/views/settings-product.php:67
     364#: php/admin/views/settings-product.php:65
    354365msgid "Add to Cart Text"
    355366msgstr ""
    356367
    357 #: inc/admin/views/settings-product.php:68
     368#: php/admin/views/settings-product.php:66
    358369msgid "Add to Cart text for all product types"
    359370msgstr ""
    360371
    361 #: inc/admin/views/settings-product.php:70
     372#: php/admin/views/settings-product.php:68
    362373msgid "Changes the Add to Cart button text on the single product page for all product types."
    363374msgstr ""
    364375
    365 #: inc/admin/views/settings-product.php:74
     376#: php/admin/views/settings-product.php:72
    366377msgid "Out of Stock Text"
    367378msgstr ""
    368379
    369 #: inc/admin/views/settings-product.php:75
     380#: php/admin/views/settings-product.php:73
    370381msgid "Out of Stock text on product page"
    371382msgstr ""
    372383
    373 #: inc/admin/views/settings-product.php:77
     384#: php/admin/views/settings-product.php:75
    374385msgid "Changes text for the out of stock on product pages."
    375386msgstr ""
    376387
    377 #: inc/admin/views/settings-product.php:83
     388#: php/admin/views/settings-product.php:81
    378389msgid "Backorder Text"
    379390msgstr ""
    380391
    381 #: inc/admin/views/settings-product.php:84
     392#: php/admin/views/settings-product.php:82
    382393msgid "Backorder text on product page"
    383394msgstr ""
    384395
    385 #: inc/admin/views/settings-product.php:86
     396#: php/admin/views/settings-product.php:84
    386397msgid "Changes text for the backorder on product pages."
    387398msgstr ""
    388399
    389 #: inc/admin/views/settings-product.php:90
    390 #: inc/admin/views/settings-shop.php:60
     400#: php/admin/views/settings-product.php:88
     401#: php/admin/views/settings-shop.php:58
    391402msgid "Sale Badge Text"
    392403msgstr ""
    393404
    394 #: inc/admin/views/settings-product.php:91
     405#: php/admin/views/settings-product.php:89
    395406msgid "Sale badge text on product page"
    396407msgstr ""
    397408
    398 #: inc/admin/views/settings-product.php:93
     409#: php/admin/views/settings-product.php:91
    399410msgid "Changes text for the sale flash on product pages."
    400411msgstr ""
    401412
    402 #: inc/admin/views/settings-shop.php:15
     413#: php/admin/views/settings-shop.php:13
    403414msgid "SHOP"
    404415msgstr ""
    405416
    406 #: inc/admin/views/settings-shop.php:16
     417#: php/admin/views/settings-shop.php:14
    407418msgid "Configure options for the WooCommerce Shop page."
    408419msgstr ""
    409420
    410 #: inc/admin/views/settings-shop.php:21
     421#: php/admin/views/settings-shop.php:19
    411422msgid "Simple Product"
    412423msgstr ""
    413424
    414 #: inc/admin/views/settings-shop.php:22
     425#: php/admin/views/settings-shop.php:20
    415426msgid "Add to Cart button text for simple products"
    416427msgstr ""
    417428
    418 #: inc/admin/views/settings-shop.php:24
     429#: php/admin/views/settings-shop.php:22
    419430msgid "Changes the add to cart button text for simple products on all loop pages."
    420431msgstr ""
    421432
    422 #: inc/admin/views/settings-shop.php:28
     433#: php/admin/views/settings-shop.php:26
    423434msgid "Variable Product"
    424435msgstr ""
    425436
    426 #: inc/admin/views/settings-shop.php:29
     437#: php/admin/views/settings-shop.php:27
    427438msgid "Add to Cart button text for variable products"
    428439msgstr ""
    429440
    430 #: inc/admin/views/settings-shop.php:31
     441#: php/admin/views/settings-shop.php:29
    431442msgid "Changes the add to cart button text for variable products on all loop pages."
    432443msgstr ""
    433444
    434 #: inc/admin/views/settings-shop.php:37
     445#: php/admin/views/settings-shop.php:35
    435446msgid "Grouped Product"
    436447msgstr ""
    437448
    438 #: inc/admin/views/settings-shop.php:38
     449#: php/admin/views/settings-shop.php:36
    439450msgid "Add to Cart button text for grouped products"
    440451msgstr ""
    441452
    442 #: inc/admin/views/settings-shop.php:40
     453#: php/admin/views/settings-shop.php:38
    443454msgid "Changes the add to cart button text for grouped products on all loop pages."
    444455msgstr ""
    445456
    446 #: inc/admin/views/settings-shop.php:44
     457#: php/admin/views/settings-shop.php:42
    447458msgid "Out of Stock Product"
    448459msgstr ""
    449460
    450 #: inc/admin/views/settings-shop.php:45
     461#: php/admin/views/settings-shop.php:43
    451462msgid "Add to Cart button text for out of stock products"
    452463msgstr ""
    453464
    454 #: inc/admin/views/settings-shop.php:47
     465#: php/admin/views/settings-shop.php:45
    455466msgid "Changes the add to cart button text for out of stock products on all loop pages."
    456467msgstr ""
    457468
    458 #: inc/admin/views/settings-shop.php:53
     469#: php/admin/views/settings-shop.php:51
    459470msgid "External Product"
    460471msgstr ""
    461472
    462 #: inc/admin/views/settings-shop.php:54
     473#: php/admin/views/settings-shop.php:52
    463474msgid "Add to Cart button text for external products"
    464475msgstr ""
    465476
    466 #: inc/admin/views/settings-shop.php:56
     477#: php/admin/views/settings-shop.php:54
    467478msgid "Changes the add to cart button text for external products."
    468479msgstr ""
    469480
    470 #: inc/admin/views/settings-shop.php:61
     481#: php/admin/views/settings-shop.php:59
    471482msgid "Add text for Sale badge"
    472483msgstr ""
    473484
    474 #: inc/admin/views/settings-shop.php:63
     485#: php/admin/views/settings-shop.php:61
    475486msgid "Changes text for the sale flash on all loop pages."
    476487msgstr ""
    477488
    478 #: inc/admin/views/settings-shop.php:69
     489#: php/admin/views/settings-shop.php:67
    479490msgid "Products Displayed Per Page"
    480491msgstr ""
    481492
    482 #: inc/admin/views/settings-shop.php:81
     493#: php/admin/views/settings-shop.php:79
    483494msgid "Changes the number of products displayed per page."
    484495msgstr ""
    485496
    486 #: inc/admin/views/settings-shop.php:85
     497#: php/admin/views/settings-shop.php:83
    487498msgid "Product Columns Displayed Per Page"
    488499msgstr ""
    489500
    490 #: inc/admin/views/settings-shop.php:97
     501#: php/admin/views/settings-shop.php:95
    491502msgid "Changes the number of product columns displayed per page."
    492503msgstr ""
    493504
    494 #: inc/admin/views/settings-shop.php:103
     505#: php/admin/views/settings-shop.php:101
    495506msgid "Product Thumbnail Columns Displayed"
    496507msgstr ""
    497508
    498 #: inc/admin/views/settings-shop.php:115
     509#: php/admin/views/settings-shop.php:113
    499510msgid "Changes the number of products thumbnail columns displayed."
    500511msgstr ""
    501512
    502 #: inc/admin/views/settings-support.php:15
    503 msgid "SUPPORT"
    504 msgstr ""
    505 
    506 #: inc/admin/views/settings-support.php:16
    507 msgid "Getting help is just a click away now. Report the issue you are facing with the plugin using the form below and we will get back to you at the email address provided."
    508 msgstr ""
    509 
    510 #: inc/admin/views/settings-support.php:20
    511 msgid "Email Address"
    512 msgstr ""
    513 
    514 #: inc/admin/views/settings-support.php:21
    515 msgid "Please provide your email address"
    516 msgstr ""
    517 
    518 #: inc/admin/views/settings-support.php:23
    519 msgid "You will receive support response at this email address."
    520 msgstr ""
    521 
    522 #: inc/admin/views/settings-support.php:27
    523 msgid "Issue / Feedback"
    524 msgstr ""
    525 
    526 #: inc/admin/views/settings-support.php:28
    527 #: inc/admin/views/settings-support.php:30
    528 msgid "Please explain the issue you are facing with the plugin. Provide as much detail as possible."
    529 msgstr ""
    530 
    531 #: inc/admin/views/settings.php:17
     513#: php/admin/views/settings.php:17
    532514msgid "Menu"
    533515msgstr ""
    534516
    535 #: inc/admin/views/settings.php:22
     517#: php/admin/views/settings.php:22
    536518msgid "Shop"
    537519msgstr ""
    538520
    539 #: inc/admin/views/settings.php:23
     521#: php/admin/views/settings.php:23
    540522msgid "Product"
    541523msgstr ""
    542524
    543 #: inc/admin/views/settings.php:24
     525#: php/admin/views/settings.php:24
    544526msgid "Cart"
    545527msgstr ""
    546528
    547 #: inc/admin/views/settings.php:25
     529#: php/admin/views/settings.php:25
    548530msgid "Checkout"
    549531msgstr ""
    550532
    551 #: inc/admin/views/settings.php:26
     533#: php/admin/views/settings.php:26
    552534msgid "Authentication"
    553535msgstr ""
    554536
    555 #: inc/admin/views/settings.php:27
     537#: php/admin/views/settings.php:27
    556538msgid "Misc"
    557539msgstr ""
    558540
    559 #: inc/admin/views/settings.php:28
    560 msgid "Support"
    561 msgstr ""
    562 
    563 #: inc/admin/views/settings.php:29
    564 msgid "About"
    565 msgstr ""
    566 
    567 #: inc/class-admin.php:44
    568 #: inc/class-admin.php:45
    569 msgid "Customizer"
    570 msgstr ""
    571 
    572 #: inc/class-admin.php:69
    573 msgid "Ask for Support"
    574 msgstr ""
    575 
    576 #: inc/class-admin.php:70
    577 msgid "Please save your changes first."
    578 msgstr ""
    579 
    580 #: inc/class-admin.php:71
    581 msgid "Processing.."
    582 msgstr ""
    583 
    584 #: inc/class-admin.php:123
    585 msgid "There was an error processing the request. Please try again later."
    586 msgstr ""
    587 
    588 #: inc/class-admin.php:128
    589 msgid "Request does not seem to be a valid one. Please try again by refreshing the page."
    590 msgstr ""
    591 
    592 #: inc/class-admin.php:198
    593 msgid "Options have been updated successfully."
    594 msgstr ""
    595 
    596 #: inc/class-admin.php:219
    597 msgid "Please fill in both the fields to create your support ticket."
    598 msgstr ""
    599 
    600 #: inc/class-admin.php:235
    601 msgid "I have received your support ticket and will get back to you shortly!"
    602 msgstr ""
    603 
    604 #: inc/class-admin.php:241
    605 msgid "There was an error creating the support ticket. You can try again later or send me an email directly at [email protected]"
    606 msgstr ""
    607 
    608 #: inc/class-config.php:57
    609 #: inc/class-config.php:73
     541#: php/Config.php:74
     542#: php/Config.php:90
    610543msgid "Add to Cart"
    611544msgstr ""
    612545
    613 #: inc/class-config.php:58
     546#: php/Config.php:75
    614547msgid "Select Options"
    615548msgstr ""
    616549
    617 #: inc/class-config.php:59
     550#: php/Config.php:76
    618551msgid "View Options"
    619552msgstr ""
    620553
    621 #: inc/class-config.php:60
     554#: php/Config.php:77
    622555msgid "Out of Stock"
    623556msgstr ""
    624557
    625 #: inc/class-config.php:61
     558#: php/Config.php:78
    626559msgid "Read More"
    627560msgstr ""
    628561
    629 #: inc/class-config.php:62
    630 #: inc/class-config.php:76
     562#: php/Config.php:79
     563#: php/Config.php:93
    631564msgid "Sale!"
    632565msgstr ""
    633566
    634 #: inc/class-config.php:68
    635 #: inc/class-config.php:69
     567#: php/Config.php:85
     568#: php/Config.php:86
    636569msgid "Description"
    637570msgstr ""
    638571
    639 #: inc/class-config.php:70
     572#: php/Config.php:87
    640573msgid "Reviews"
    641574msgstr ""
    642575
    643 #: inc/class-config.php:71
    644 #: inc/class-config.php:72
     576#: php/Config.php:88
     577#: php/Config.php:89
    645578msgid "Additional Information"
    646579msgstr ""
    647580
    648 #: inc/class-config.php:74
     581#: php/Config.php:91
    649582msgid "Out of stock"
    650583msgstr ""
    651584
    652 #: inc/class-config.php:75
     585#: php/Config.php:92
    653586msgid "Available on backorder"
    654587msgstr ""
    655588
    656 #: inc/class-config.php:79
     589#: php/Config.php:96
    657590msgid "There are no shipping options available. Please ensure that your address has been entered correctly, or contact us if you need any help."
    658591msgstr ""
    659592
    660 #: inc/class-config.php:80
     593#: php/Config.php:97
    661594msgid "Shipping options will be updated during checkout."
    662595msgstr ""
    663596
    664 #: inc/class-config.php:83
     597#: php/Config.php:100
    665598msgid "You must be logged in to checkout."
    666599msgstr ""
    667600
    668 #: inc/class-config.php:84
     601#: php/Config.php:101
    669602msgid "Returning customer?"
    670603msgstr ""
    671604
    672 #: inc/class-config.php:86
     605#: php/Config.php:103
    673606msgid "Place order"
    674607msgstr ""
    675608
    676 #: inc/class-config.php:96
     609#: php/Config.php:108
     610msgid "A password reset email has been sent to the email address on file for your account, but may take several minutes to show up in your inbox. Please wait at least 10 minutes before attempting another reset."
     611msgstr ""
     612
     613#: php/Config.php:109
     614msgid "Lost your password? Please enter your username or email address. You will receive a link to create a new password via email."
     615msgstr ""
     616
     617#: php/Config.php:110
     618msgid "Enter a new password below."
     619msgstr ""
     620
     621#: php/Config.php:113
    677622msgid "Tax for USA, VAT for European countries"
    678623msgstr ""
    679624
    680 #: inc/class-config.php:97
     625#: php/Config.php:114
    681626msgid "Inc. tax for USA, Inc. VAT for European countries"
    682627msgstr ""
    683628
    684 #: inc/class-config.php:98
     629#: php/Config.php:115
    685630msgid "Exc. tax for USA, Exc. VAT for European countries"
    686631msgstr ""
    687632
    688 #: inc/class-config.php:99
     633#: php/Config.php:116
    689634msgid "Thank you. Your order has been received."
    690635msgstr ""
    691636
    692637#. translators: Placeholder: %s - sale percentage
    693 #: inc/class-front.php:237
     638#: php/Front.php:228
    694639msgid "up to %s"
    695640msgstr ""
    696641
    697 #. translators: %1$s - <strong>, %2$s - </strong>, %3$s - <a>, %4$s - version number, %5$s - </a>
    698 #: inc/class-woocheck.php:61
    699 msgid "%1$sWooCommerce Customizer won't work properly%2$s as it requires WooCommerce. Please %3$sactivate%4$s WooCommerce version %5$s or newer."
    700 msgstr ""
     642#. translators: %1$s - plugin name, %2$s - link to plugins page, %3$s - closing anchor tag, %4$s - plugin version
     643#: php/WooCheck.php:55
     644msgid "%1$s won't work properly as it requires WooCommerce. Please %2$sactivate%3$s WooCommerce version %4$s or newer."
     645msgstr ""
  • customize-woo/trunk/readme.txt

    r2285855 r2686884  
    5050== Changelog ==
    5151
     52= 1.2.0 =
     53* Major code-refactoring
     54* Added 10+ customization options
     55
    5256= 1.1.0 =
    5357* More customization options added
     
    5963
    6064= 1.0 =
    61 First release of the plugin.
     65* Initial release
  • customize-woo/trunk/uninstall.php

    r2285246 r2686884  
    44 * sort of setup, nothing is done over here.
    55 *
    6  * @since   1.0.0
    76 * @package AkshitSethi\Plugins\CustomizeWoo
    87 */
     
    109namespace AkshitSethi\Plugins\CustomizeWoo;
    1110
    12 // Prevent unauthorized access
     11// Prevent unauthorized access.
    1312if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
    1413    exit;
    1514}
    1615
    17 // Composer autoloder file.
     16// Composer autoloader.
    1817require_once __DIR__ . '/vendor/autoload.php';
    1918
    20 // Remove options and transients
     19// Remove plugin settings.
    2120delete_option( Config::DB_OPTION );
  • customize-woo/trunk/vendor/autoload.php

    r2285855 r2686884  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit952f85897ba4193a96521defde147e3a::getLoader();
     7return ComposerAutoloaderInit64ba60fd55c6d376377177b3967be76b::getLoader();
  • customize-woo/trunk/vendor/composer/ClassLoader.php

    r2285246 r2686884  
    3838 * @author Fabien Potencier <[email protected]>
    3939 * @author Jordi Boggiano <[email protected]>
    40  * @see    http://www.php-fig.org/psr/psr-0/
    41  * @see    http://www.php-fig.org/psr/psr-4/
     40 * @see    https://www.php-fig.org/psr/psr-0/
     41 * @see    https://www.php-fig.org/psr/psr-4/
    4242 */
    4343class ClassLoader
    4444{
     45    /** @var ?string */
     46    private $vendorDir;
     47
    4548    // PSR-4
     49    /**
     50     * @var array[]
     51     * @psalm-var array<string, array<string, int>>
     52     */
    4653    private $prefixLengthsPsr4 = array();
     54    /**
     55     * @var array[]
     56     * @psalm-var array<string, array<int, string>>
     57     */
    4758    private $prefixDirsPsr4 = array();
     59    /**
     60     * @var array[]
     61     * @psalm-var array<string, string>
     62     */
    4863    private $fallbackDirsPsr4 = array();
    4964
    5065    // PSR-0
     66    /**
     67     * @var array[]
     68     * @psalm-var array<string, array<string, string[]>>
     69     */
    5170    private $prefixesPsr0 = array();
     71    /**
     72     * @var array[]
     73     * @psalm-var array<string, string>
     74     */
    5275    private $fallbackDirsPsr0 = array();
    5376
     77    /** @var bool */
    5478    private $useIncludePath = false;
     79
     80    /**
     81     * @var string[]
     82     * @psalm-var array<string, string>
     83     */
    5584    private $classMap = array();
     85
     86    /** @var bool */
    5687    private $classMapAuthoritative = false;
     88
     89    /**
     90     * @var bool[]
     91     * @psalm-var array<string, bool>
     92     */
    5793    private $missingClasses = array();
     94
     95    /** @var ?string */
    5896    private $apcuPrefix;
    5997
     98    /**
     99     * @var self[]
     100     */
     101    private static $registeredLoaders = array();
     102
     103    /**
     104     * @param ?string $vendorDir
     105     */
     106    public function __construct($vendorDir = null)
     107    {
     108        $this->vendorDir = $vendorDir;
     109    }
     110
     111    /**
     112     * @return string[]
     113     */
    60114    public function getPrefixes()
    61115    {
    62116        if (!empty($this->prefixesPsr0)) {
    63             return call_user_func_array('array_merge', $this->prefixesPsr0);
     117            return call_user_func_array('array_merge', array_values($this->prefixesPsr0));
    64118        }
    65119
     
    67121    }
    68122
     123    /**
     124     * @return array[]
     125     * @psalm-return array<string, array<int, string>>
     126     */
    69127    public function getPrefixesPsr4()
    70128    {
     
    72130    }
    73131
     132    /**
     133     * @return array[]
     134     * @psalm-return array<string, string>
     135     */
    74136    public function getFallbackDirs()
    75137    {
     
    77139    }
    78140
     141    /**
     142     * @return array[]
     143     * @psalm-return array<string, string>
     144     */
    79145    public function getFallbackDirsPsr4()
    80146    {
     
    82148    }
    83149
     150    /**
     151     * @return string[] Array of classname => path
     152     * @psalm-return array<string, string>
     153     */
    84154    public function getClassMap()
    85155    {
     
    88158
    89159    /**
    90      * @param array $classMap Class to filename map
     160     * @param string[] $classMap Class to filename map
     161     * @psalm-param array<string, string> $classMap
     162     *
     163     * @return void
    91164     */
    92165    public function addClassMap(array $classMap)
     
    103176     * appending or prepending to the ones previously set for this prefix.
    104177     *
    105      * @param string       $prefix  The prefix
    106      * @param array|string $paths   The PSR-0 root directories
    107      * @param bool         $prepend Whether to prepend the directories
     178     * @param string          $prefix  The prefix
     179     * @param string[]|string $paths   The PSR-0 root directories
     180     * @param bool            $prepend Whether to prepend the directories
     181     *
     182     * @return void
    108183     */
    109184    public function add($prefix, $paths, $prepend = false)
     
    148223     * appending or prepending to the ones previously set for this namespace.
    149224     *
    150      * @param string       $prefix  The prefix/namespace, with trailing '\\'
    151      * @param array|string $paths   The PSR-4 base directories
    152      * @param bool         $prepend Whether to prepend the directories
     225     * @param string          $prefix  The prefix/namespace, with trailing '\\'
     226     * @param string[]|string $paths   The PSR-4 base directories
     227     * @param bool            $prepend Whether to prepend the directories
    153228     *
    154229     * @throws \InvalidArgumentException
     230     *
     231     * @return void
    155232     */
    156233    public function addPsr4($prefix, $paths, $prepend = false)
     
    196273     * replacing any others previously set for this prefix.
    197274     *
    198      * @param string       $prefix The prefix
    199      * @param array|string $paths  The PSR-0 base directories
     275     * @param string          $prefix The prefix
     276     * @param string[]|string $paths  The PSR-0 base directories
     277     *
     278     * @return void
    200279     */
    201280    public function set($prefix, $paths)
     
    212291     * replacing any others previously set for this namespace.
    213292     *
    214      * @param string       $prefix The prefix/namespace, with trailing '\\'
    215      * @param array|string $paths  The PSR-4 base directories
     293     * @param string          $prefix The prefix/namespace, with trailing '\\'
     294     * @param string[]|string $paths  The PSR-4 base directories
    216295     *
    217296     * @throws \InvalidArgumentException
     297     *
     298     * @return void
    218299     */
    219300    public function setPsr4($prefix, $paths)
     
    235316     *
    236317     * @param bool $useIncludePath
     318     *
     319     * @return void
    237320     */
    238321    public function setUseIncludePath($useIncludePath)
     
    257340     *
    258341     * @param bool $classMapAuthoritative
     342     *
     343     * @return void
    259344     */
    260345    public function setClassMapAuthoritative($classMapAuthoritative)
     
    277362     *
    278363     * @param string|null $apcuPrefix
     364     *
     365     * @return void
    279366     */
    280367    public function setApcuPrefix($apcuPrefix)
     
    297384     *
    298385     * @param bool $prepend Whether to prepend the autoloader or not
     386     *
     387     * @return void
    299388     */
    300389    public function register($prepend = false)
    301390    {
    302391        spl_autoload_register(array($this, 'loadClass'), true, $prepend);
     392
     393        if (null === $this->vendorDir) {
     394            return;
     395        }
     396
     397        if ($prepend) {
     398            self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders;
     399        } else {
     400            unset(self::$registeredLoaders[$this->vendorDir]);
     401            self::$registeredLoaders[$this->vendorDir] = $this;
     402        }
    303403    }
    304404
    305405    /**
    306406     * Unregisters this instance as an autoloader.
     407     *
     408     * @return void
    307409     */
    308410    public function unregister()
    309411    {
    310412        spl_autoload_unregister(array($this, 'loadClass'));
     413
     414        if (null !== $this->vendorDir) {
     415            unset(self::$registeredLoaders[$this->vendorDir]);
     416        }
    311417    }
    312418
     
    315421     *
    316422     * @param  string    $class The name of the class
    317      * @return bool|null True if loaded, null otherwise
     423     * @return true|null True if loaded, null otherwise
    318424     */
    319425    public function loadClass($class)
     
    324430            return true;
    325431        }
     432
     433        return null;
    326434    }
    327435
     
    368476    }
    369477
     478    /**
     479     * Returns the currently registered loaders indexed by their corresponding vendor directories.
     480     *
     481     * @return self[]
     482     */
     483    public static function getRegisteredLoaders()
     484    {
     485        return self::$registeredLoaders;
     486    }
     487
     488    /**
     489     * @param  string       $class
     490     * @param  string       $ext
     491     * @return string|false
     492     */
    370493    private function findFileWithExtension($class, $ext)
    371494    {
     
    439562 *
    440563 * Prevents access to $this/self from included files.
     564 *
     565 * @param  string $file
     566 * @return void
     567 * @private
    441568 */
    442569function includeFile($file)
  • customize-woo/trunk/vendor/composer/autoload_classmap.php

    r2285246 r2686884  
    77
    88return array(
    9     'AkshitSethi\\Plugins\\CustomizeWoo\\Admin' => $baseDir . '/inc/class-admin.php',
    10     'AkshitSethi\\Plugins\\CustomizeWoo\\Config' => $baseDir . '/inc/class-config.php',
    11     'AkshitSethi\\Plugins\\CustomizeWoo\\Front' => $baseDir . '/inc/class-front.php',
    12     'AkshitSethi\\Plugins\\CustomizeWoo\\WooCheck' => $baseDir . '/inc/class-woocheck.php',
    13     'DrewM\\MailChimp\\Batch' => $vendorDir . '/drewm/mailchimp-api/src/Batch.php',
    14     'DrewM\\MailChimp\\MailChimp' => $vendorDir . '/drewm/mailchimp-api/src/MailChimp.php',
    15     'DrewM\\MailChimp\\Webhook' => $vendorDir . '/drewm/mailchimp-api/src/Webhook.php',
     9    'AkshitSethi\\Plugins\\CustomizeWoo\\Admin' => $baseDir . '/php/Admin.php',
     10    'AkshitSethi\\Plugins\\CustomizeWoo\\Config' => $baseDir . '/php/Config.php',
     11    'AkshitSethi\\Plugins\\CustomizeWoo\\Front' => $baseDir . '/php/Front.php',
     12    'AkshitSethi\\Plugins\\CustomizeWoo\\WooCheck' => $baseDir . '/php/WooCheck.php',
     13    'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
    1614);
  • customize-woo/trunk/vendor/composer/autoload_psr4.php

    r2285246 r2686884  
    77
    88return array(
    9     'DrewM\\MailChimp\\' => array($vendorDir . '/drewm/mailchimp-api/src'),
    10     'AkshitSethi\\Plugins\\CustomizeWoo\\' => array($baseDir . '/inc'),
     9    'AkshitSethi\\Plugins\\CustomizeWoo\\' => array($baseDir . '/php'),
    1110);
  • customize-woo/trunk/vendor/composer/autoload_real.php

    r2285855 r2686884  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit952f85897ba4193a96521defde147e3a
     5class ComposerAutoloaderInit64ba60fd55c6d376377177b3967be76b
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit952f85897ba4193a96521defde147e3a', 'loadClassLoader'), true, true);
    26         self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    27         spl_autoload_unregister(array('ComposerAutoloaderInit952f85897ba4193a96521defde147e3a', 'loadClassLoader'));
     25        require __DIR__ . '/platform_check.php';
     26
     27        spl_autoload_register(array('ComposerAutoloaderInit64ba60fd55c6d376377177b3967be76b', 'loadClassLoader'), true, true);
     28        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit64ba60fd55c6d376377177b3967be76b', 'loadClassLoader'));
    2830
    2931        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
    3032        if ($useStaticLoader) {
    31             require_once __DIR__ . '/autoload_static.php';
     33            require __DIR__ . '/autoload_static.php';
    3234
    33             call_user_func(\Composer\Autoload\ComposerStaticInit952f85897ba4193a96521defde147e3a::getInitializer($loader));
     35            call_user_func(\Composer\Autoload\ComposerStaticInit64ba60fd55c6d376377177b3967be76b::getInitializer($loader));
    3436        } else {
     37            $map = require __DIR__ . '/autoload_namespaces.php';
     38            foreach ($map as $namespace => $path) {
     39                $loader->set($namespace, $path);
     40            }
     41
     42            $map = require __DIR__ . '/autoload_psr4.php';
     43            foreach ($map as $namespace => $path) {
     44                $loader->setPsr4($namespace, $path);
     45            }
     46
    3547            $classMap = require __DIR__ . '/autoload_classmap.php';
    3648            if ($classMap) {
     
    3951        }
    4052
    41         $loader->setClassMapAuthoritative(true);
    4253        $loader->register(true);
    4354
  • customize-woo/trunk/vendor/composer/autoload_static.php

    r2285855 r2686884  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit952f85897ba4193a96521defde147e3a
     7class ComposerStaticInit64ba60fd55c6d376377177b3967be76b
    88{
    99    public static $prefixLengthsPsr4 = array (
    10         'D' =>
    11         array (
    12             'DrewM\\MailChimp\\' => 16,
    13         ),
    1410        'A' =>
    1511        array (
     
    1915
    2016    public static $prefixDirsPsr4 = array (
    21         'DrewM\\MailChimp\\' =>
    22         array (
    23             0 => __DIR__ . '/..' . '/drewm/mailchimp-api/src',
    24         ),
    2517        'AkshitSethi\\Plugins\\CustomizeWoo\\' =>
    2618        array (
    27             0 => __DIR__ . '/../..' . '/inc',
     19            0 => __DIR__ . '/../..' . '/php',
    2820        ),
    2921    );
    3022
    3123    public static $classMap = array (
    32         'AkshitSethi\\Plugins\\CustomizeWoo\\Admin' => __DIR__ . '/../..' . '/inc/class-admin.php',
    33         'AkshitSethi\\Plugins\\CustomizeWoo\\Config' => __DIR__ . '/../..' . '/inc/class-config.php',
    34         'AkshitSethi\\Plugins\\CustomizeWoo\\Front' => __DIR__ . '/../..' . '/inc/class-front.php',
    35         'AkshitSethi\\Plugins\\CustomizeWoo\\WooCheck' => __DIR__ . '/../..' . '/inc/class-woocheck.php',
    36         'DrewM\\MailChimp\\Batch' => __DIR__ . '/..' . '/drewm/mailchimp-api/src/Batch.php',
    37         'DrewM\\MailChimp\\MailChimp' => __DIR__ . '/..' . '/drewm/mailchimp-api/src/MailChimp.php',
    38         'DrewM\\MailChimp\\Webhook' => __DIR__ . '/..' . '/drewm/mailchimp-api/src/Webhook.php',
     24        'AkshitSethi\\Plugins\\CustomizeWoo\\Admin' => __DIR__ . '/../..' . '/php/Admin.php',
     25        'AkshitSethi\\Plugins\\CustomizeWoo\\Config' => __DIR__ . '/../..' . '/php/Config.php',
     26        'AkshitSethi\\Plugins\\CustomizeWoo\\Front' => __DIR__ . '/../..' . '/php/Front.php',
     27        'AkshitSethi\\Plugins\\CustomizeWoo\\WooCheck' => __DIR__ . '/../..' . '/php/WooCheck.php',
     28        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
    3929    );
    4030
     
    4232    {
    4333        return \Closure::bind(function () use ($loader) {
    44             $loader->prefixLengthsPsr4 = ComposerStaticInit952f85897ba4193a96521defde147e3a::$prefixLengthsPsr4;
    45             $loader->prefixDirsPsr4 = ComposerStaticInit952f85897ba4193a96521defde147e3a::$prefixDirsPsr4;
    46             $loader->classMap = ComposerStaticInit952f85897ba4193a96521defde147e3a::$classMap;
     34            $loader->prefixLengthsPsr4 = ComposerStaticInit64ba60fd55c6d376377177b3967be76b::$prefixLengthsPsr4;
     35            $loader->prefixDirsPsr4 = ComposerStaticInit64ba60fd55c6d376377177b3967be76b::$prefixDirsPsr4;
     36            $loader->classMap = ComposerStaticInit64ba60fd55c6d376377177b3967be76b::$classMap;
    4737
    4838        }, null, ClassLoader::class);
  • customize-woo/trunk/vendor/composer/installed.json

    r2285246 r2686884  
    1 [
    2     {
    3         "name": "drewm/mailchimp-api",
    4         "version": "v2.5.4",
    5         "version_normalized": "2.5.4.0",
    6         "source": {
    7             "type": "git",
    8             "url": "https://github.com/drewm/mailchimp-api.git",
    9             "reference": "c6cdfab4ca6ddbc3b260913470bd0a4a5cb84c7a"
    10         },
    11         "dist": {
    12             "type": "zip",
    13             "url": "https://api.github.com/repos/drewm/mailchimp-api/zipball/c6cdfab4ca6ddbc3b260913470bd0a4a5cb84c7a",
    14             "reference": "c6cdfab4ca6ddbc3b260913470bd0a4a5cb84c7a",
    15             "shasum": ""
    16         },
    17         "require": {
    18             "ext-curl": "*",
    19             "ext-json": "*",
    20             "php": ">=5.3"
    21         },
    22         "require-dev": {
    23             "phpunit/phpunit": "7.0.*",
    24             "vlucas/phpdotenv": "^2.0"
    25         },
    26         "time": "2019-08-06T09:24:58+00:00",
    27         "type": "library",
    28         "installation-source": "dist",
    29         "autoload": {
    30             "psr-4": {
    31                 "DrewM\\MailChimp\\": "src"
    32             }
    33         },
    34         "notification-url": "https://packagist.org/downloads/",
    35         "license": [
    36             "MIT"
    37         ],
    38         "authors": [
    39             {
    40                 "name": "Drew McLellan",
    41                 "email": "[email protected]",
    42                 "homepage": "http://allinthehead.com/"
    43             }
    44         ],
    45         "description": "Super-simple, minimum abstraction MailChimp API v3 wrapper",
    46         "homepage": "https://github.com/drewm/mailchimp-api"
    47     }
    48 ]
     1{
     2    "packages": [],
     3    "dev": false,
     4    "dev-package-names": []
     5}
Note: See TracChangeset for help on using the changeset viewer.