Plugin Directory

Changeset 2870927

Timestamp:
02/25/2023 08:33:55 AM (17 months ago)
Author:
khorshidlab
Message:

Plugin Version 1.3.1

Location:
podro-wp
Files:
2 added
20 edited
1 copied

Legend:

Unmodified
Added
Removed
  • podro-wp/tags/1.3.1/README.txt

    r2866639 r2870927  
    55Tested up to: 6.1
    66Requires PHP: 7.2
    7 Stable tag: 1.3.0
     7Stable tag: 1.3.
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    5959== Changelog ==
    6060
     61
     62
     63
     64
    6165= 1.3.0 - 2013-02-16 =
    6266* Add the ability to place a Podro order in all WooCommerce orders
  • podro-wp/tags/1.3.1/admin/Enqueue.php

    r2860407 r2870927  
    3232
    3333        \add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_public_styles' ) );
    34 
     34        if('yes' == get_option('podro_province_position', 'no')) {
     35            \add_action('wp_enqueue_scripts', function () {
     36                \wp_enqueue_script(PODRO_SLUG . '-admin-scripts', \plugins_url('assets/js/province-first.js', PODRO_PLUGIN_ABSOLUTE), array('jquery'), PODRO_VERSION, true);
     37            });
     38        }
    3539        add_action('woocommerce_before_checkout_process', function(){
    3640
  • podro-wp/tags/1.3.1/admin/views/pages/api-key-settings.php

    r2866639 r2870927  
    145145                            </td>
    146146                        </tr>
     147
     148
     149
     150
     151
     152
     153
     154
     155
    147156                    </tbody>
    148157                </table>
  • podro-wp/tags/1.3.1/admin/views/pages/delivery.php

    r2835533 r2870927  
    2323    <?php find_posts_div(); ?>
    2424    </form>
     25
     26
     27
     28
     29
     30
     31
     32
     33
     34
     35
     36
    2537</div>
  • podro-wp/tags/1.3.1/inc/Api_Key.php

    r2852786 r2870927  
    128128            update_option('podro_store_address', sanitize_text_field($_POST['podro_store_address']??''));
    129129            update_option('podro_auto_update', sanitize_text_field($_POST['podro_auto_update']??''));
     130
    130131            if(isset($_POST['podro_only_functionality']) && $_POST['podro_only_functionality'] == 'yes')
    131132                update_option('podro_only_functionality', 'yes');
  • podro-wp/tags/1.3.1/vendor/autoload.php

    r2866639 r2870927  
    1010require_once __DIR__ . '/composer/autoload_real.php';
    1111
    12 return ComposerAutoloaderInit234018ef390423afbfcbbed7572ca277::getLoader();
     12return ComposerAutoloaderInit7::getLoader();
  • podro-wp/tags/1.3.1/vendor/composer/autoload_real.php

    r2866639 r2870927  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit234018ef390423afbfcbbed7572ca277
     5class ComposerAutoloaderInit7
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit234018ef390423afbfcbbed7572ca277', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInit7', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit234018ef390423afbfcbbed7572ca277', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit7', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInit234018ef390423afbfcbbed7572ca277::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInit7::getInitializer($loader));
    3333
    3434        $loader->register(true);
  • podro-wp/tags/1.3.1/vendor/composer/autoload_static.php

    r2866639 r2870927  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit234018ef390423afbfcbbed7572ca277
     7class ComposerStaticInit7
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    166166    {
    167167        return \Closure::bind(function () use ($loader) {
    168             $loader->prefixLengthsPsr4 = ComposerStaticInit234018ef390423afbfcbbed7572ca277::$prefixLengthsPsr4;
    169             $loader->prefixDirsPsr4 = ComposerStaticInit234018ef390423afbfcbbed7572ca277::$prefixDirsPsr4;
    170             $loader->classMap = ComposerStaticInit234018ef390423afbfcbbed7572ca277::$classMap;
     168            $loader->prefixLengthsPsr4 = ComposerStaticInit7::$prefixLengthsPsr4;
     169            $loader->prefixDirsPsr4 = ComposerStaticInit7::$prefixDirsPsr4;
     170            $loader->classMap = ComposerStaticInit7::$classMap;
    171171
    172172        }, null, ClassLoader::class);
  • podro-wp/tags/1.3.1/vendor/composer/installed.php

    r2866639 r2870927  
    66        'install_path' => __DIR__ . '/../../',
    77        'aliases' => array(),
    8         'reference' => 'de4e13be6b3278da9613639092484e21c44cf0f3',
     8        'reference' => '',
    99        'name' => 'khorshid/wp_podro',
    1010        'dev' => true,
     
    3535            'install_path' => __DIR__ . '/../../',
    3636            'aliases' => array(),
    37             'reference' => 'de4e13be6b3278da9613639092484e21c44cf0f3',
     37            'reference' => '',
    3838            'dev_requirement' => false,
    3939        ),
  • podro-wp/tags/1.3.1/wp-podro.php

    r2866639 r2870927  
    1010 * Plugin URI:      https://khorshidlab.com/
    1111 * Description:     پادروپین؛ ‌مارکت‌پلیس خدمات پستی است و به فروشگاه‌های آنلاین کمک می‌کند تا فرآیند ارسال سفارش‌های اینترنتی را مدیریت کنند. در پادروپین، بدون مراجعه و یا ثبت قرارداد با شرکت‌های پستی، می‌توان سفارش‌های اینترنتی را با هر یک از شرکت‌های پستی ارسال کرد
    12  * Version:         1.3.0
     12 * Version:         1.3.
    1313 * Author:          Khorshid, Podro
    1414 * Author URI:      https://podro.com/shipping-wordpress-plugin/
     
    3737 */
    3838
    39 define( 'PODRO_VERSION', '1.3.0' );
     39define( 'PODRO_VERSION', '1.3.' );
    4040define( 'PODRO_SLUG', 'podro-wp' );
    4141define( 'PODRO_SETTINGS_PAGE_SLUG', 'podro-wp-settings' );
  • podro-wp/trunk/README.txt

    r2866639 r2870927  
    55Tested up to: 6.1
    66Requires PHP: 7.2
    7 Stable tag: 1.3.0
     7Stable tag: 1.3.
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    5959== Changelog ==
    6060
     61
     62
     63
     64
    6165= 1.3.0 - 2013-02-16 =
    6266* Add the ability to place a Podro order in all WooCommerce orders
  • podro-wp/trunk/admin/Enqueue.php

    r2860407 r2870927  
    3232
    3333        \add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_public_styles' ) );
    34 
     34        if('yes' == get_option('podro_province_position', 'no')) {
     35            \add_action('wp_enqueue_scripts', function () {
     36                \wp_enqueue_script(PODRO_SLUG . '-admin-scripts', \plugins_url('assets/js/province-first.js', PODRO_PLUGIN_ABSOLUTE), array('jquery'), PODRO_VERSION, true);
     37            });
     38        }
    3539        add_action('woocommerce_before_checkout_process', function(){
    3640
  • podro-wp/trunk/admin/views/pages/api-key-settings.php

    r2866639 r2870927  
    145145                            </td>
    146146                        </tr>
     147
     148
     149
     150
     151
     152
     153
     154
     155
    147156                    </tbody>
    148157                </table>
  • podro-wp/trunk/admin/views/pages/delivery.php

    r2835533 r2870927  
    2323    <?php find_posts_div(); ?>
    2424    </form>
     25
     26
     27
     28
     29
     30
     31
     32
     33
     34
     35
     36
    2537</div>
  • podro-wp/trunk/inc/Api_Key.php

    r2852786 r2870927  
    128128            update_option('podro_store_address', sanitize_text_field($_POST['podro_store_address']??''));
    129129            update_option('podro_auto_update', sanitize_text_field($_POST['podro_auto_update']??''));
     130
    130131            if(isset($_POST['podro_only_functionality']) && $_POST['podro_only_functionality'] == 'yes')
    131132                update_option('podro_only_functionality', 'yes');
  • podro-wp/trunk/vendor/autoload.php

    r2866639 r2870927  
    1010require_once __DIR__ . '/composer/autoload_real.php';
    1111
    12 return ComposerAutoloaderInit234018ef390423afbfcbbed7572ca277::getLoader();
     12return ComposerAutoloaderInit7::getLoader();
  • podro-wp/trunk/vendor/composer/autoload_real.php

    r2866639 r2870927  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit234018ef390423afbfcbbed7572ca277
     5class ComposerAutoloaderInit7
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit234018ef390423afbfcbbed7572ca277', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInit7', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit234018ef390423afbfcbbed7572ca277', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit7', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInit234018ef390423afbfcbbed7572ca277::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInit7::getInitializer($loader));
    3333
    3434        $loader->register(true);
  • podro-wp/trunk/vendor/composer/autoload_static.php

    r2866639 r2870927  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit234018ef390423afbfcbbed7572ca277
     7class ComposerStaticInit7
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    166166    {
    167167        return \Closure::bind(function () use ($loader) {
    168             $loader->prefixLengthsPsr4 = ComposerStaticInit234018ef390423afbfcbbed7572ca277::$prefixLengthsPsr4;
    169             $loader->prefixDirsPsr4 = ComposerStaticInit234018ef390423afbfcbbed7572ca277::$prefixDirsPsr4;
    170             $loader->classMap = ComposerStaticInit234018ef390423afbfcbbed7572ca277::$classMap;
     168            $loader->prefixLengthsPsr4 = ComposerStaticInit7::$prefixLengthsPsr4;
     169            $loader->prefixDirsPsr4 = ComposerStaticInit7::$prefixDirsPsr4;
     170            $loader->classMap = ComposerStaticInit7::$classMap;
    171171
    172172        }, null, ClassLoader::class);
  • podro-wp/trunk/vendor/composer/installed.php

    r2866639 r2870927  
    66        'install_path' => __DIR__ . '/../../',
    77        'aliases' => array(),
    8         'reference' => 'de4e13be6b3278da9613639092484e21c44cf0f3',
     8        'reference' => '',
    99        'name' => 'khorshid/wp_podro',
    1010        'dev' => true,
     
    3535            'install_path' => __DIR__ . '/../../',
    3636            'aliases' => array(),
    37             'reference' => 'de4e13be6b3278da9613639092484e21c44cf0f3',
     37            'reference' => '',
    3838            'dev_requirement' => false,
    3939        ),
  • podro-wp/trunk/wp-podro.php

    r2866639 r2870927  
    1010 * Plugin URI:      https://khorshidlab.com/
    1111 * Description:     پادروپین؛ ‌مارکت‌پلیس خدمات پستی است و به فروشگاه‌های آنلاین کمک می‌کند تا فرآیند ارسال سفارش‌های اینترنتی را مدیریت کنند. در پادروپین، بدون مراجعه و یا ثبت قرارداد با شرکت‌های پستی، می‌توان سفارش‌های اینترنتی را با هر یک از شرکت‌های پستی ارسال کرد
    12  * Version:         1.3.0
     12 * Version:         1.3.
    1313 * Author:          Khorshid, Podro
    1414 * Author URI:      https://podro.com/shipping-wordpress-plugin/
     
    3737 */
    3838
    39 define( 'PODRO_VERSION', '1.3.0' );
     39define( 'PODRO_VERSION', '1.3.' );
    4040define( 'PODRO_SLUG', 'podro-wp' );
    4141define( 'PODRO_SETTINGS_PAGE_SLUG', 'podro-wp-settings' );
Note: See TracChangeset for help on using the changeset viewer.