Plugin Directory

Changeset 2893881


Ignore:
Timestamp:
04/04/2023 08:25:29 PM (3 years ago)
Author:
abcfolio
Message:

Version: 0.3.0

Location:
staff-list-vcard/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • staff-list-vcard/trunk/readme.txt

    r2869528 r2893881  
    66Tags:  qr code, qrcode, vcard, vcf, staff, abcfolio
    77Requires at least: 4.9
    8 Tested up to: 6.1
     8Tested up to: 6.2
    99Requires PHP: 7.0
    10 Stable tag: 0.2.9
     10Stable tag: 0.3.0
    1111License: GPLv2 or later
    1212License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    7777
    7878== Changelog ==
     79
     80= 0.3.0 20230404 =
     81* Update: Minor modification of autoloader.php
     82* Tested with WP 6.2.
    7983
    8084= 0.2.9 20230127 =
  • staff-list-vcard/trunk/staff-list-vcard.php

    r2856121 r2893881  
    88Text Domain: staff-list
    99Domain Path: /languages
    10 Version: 0.2.9
     10Version: 0.3.0
    1111------------------------------------------------------------------------
    1212Copyright 2009-2015 abcFolio.
     
    3636    public $pluginSlug = 'abcfolio-staff-list-vcard';
    3737    public $prefix = 'abcfvc';
    38     public $pluginVersion = '0.2.9';
     38    public $pluginVersion = '0.3.0';
    3939
    4040    public static function instance() {
     
    8585        require_once ABCFVC_PLUGIN_DIR . 'inc/class-vcard-data.php';
    8686        require_once ABCFVC_PLUGIN_DIR . 'inc/class-vcard-builder.php';       
    87         require_once ABCFVC_PLUGIN_DIR . 'inc/class-vcard-render.php';
    88        
     87        require_once ABCFVC_PLUGIN_DIR . 'inc/class-vcard-render.php';       
    8988        require_once ABCFVC_PLUGIN_DIR . 'vendor/Autoloader.php';
    9089        require_once ABCFVC_PLUGIN_DIR . 'inc/class-img-util.php';
     
    10099            require_once ABCFVC_PLUGIN_DIR . 'admin/class-mbox-tplate.php';
    101100            require_once ABCFVC_PLUGIN_DIR . 'admin/preview-vcard.php';
    102             require_once ABCFVC_PLUGIN_DIR . 'admin/preview-qr-code.php';
    103            
     101            require_once ABCFVC_PLUGIN_DIR . 'admin/preview-qr-code.php';           
    104102            require_once ABCFVC_PLUGIN_DIR . 'admin/v-tabs.php';
    105103            require_once ABCFVC_PLUGIN_DIR . 'admin/mbox-tplate-optns.php';
     
    118116            require_once ABCFVC_PLUGIN_DIR . 'admin/dba.php';
    119117            require_once ABCFVC_PLUGIN_DIR . 'admin/cbo-staff-fields.php';
    120             require_once ABCFVC_PLUGIN_DIR . 'admin/cbos.php';
    121            
     118            require_once ABCFVC_PLUGIN_DIR . 'admin/cbos.php';           
    122119            require_once ABCFVC_PLUGIN_DIR . 'admin/admin-help.php';
    123120
     
    128125    //===================================================================
    129126    private function setup_actions() {
    130 
    131127        //add_action('admin_init', 'abcfvc_mbox_tplate_preview_vcard_action_download');
    132128        add_action('admin_init', 'abcfvc_preview_vcard_action_download');
    133 
    134129        // Register the callback to support downloading of vCards
    135130        add_action( 'template_redirect' , array( 'ABCFVC_vCard_Render', 'download_vCard' ) );
  • staff-list-vcard/trunk/vendor/Autoloader.php

    r2710322 r2893881  
    4646    public function vendorFolder( $className ) {
    4747
    48         if ( strpos( $className, 'Endroid' ) === 0) {
    49             return 'vendor\\' .  $className;
    50         }
    51 
    52         if ( strpos( $className, 'BaconQrCode' ) === 0) {
    53             return 'vendor\\' .  $className;
    54         }
    55 
    56         if ( strpos( $className, 'DASPRiD' ) === 0) {
    57             return 'vendor\\' .  $className;
    58         }
    59 
     48        if ( strpos( $className, 'Endroid' ) === 0) { return 'vendor\\' .  $className; }
     49        if ( strpos( $className, 'BaconQrCode' ) === 0) { return 'vendor\\' .  $className; }
     50        if ( strpos( $className, 'DASPRiD' ) === 0) { return 'vendor\\' .  $className; }
    6051        return $className;   
    6152    }
     
    6354    public function isOurClass( $className ) {
    6455
    65         if ( strpos( $className, 'BaconQrCode' ) === 0) {
    66             return true;
    67         }
    68 
    69         if ( strpos( $className, 'Endroid' ) === 0) {
    70             return true;
    71         }
    72        
    73         if ( strpos( $className, 'DASPRiD' ) === 0) {
    74             return true;
    75         }
    76 
     56        if ( strpos( $className, 'BaconQrCode' ) === 0) { return true; }
     57        if ( strpos( $className, 'Endroid' ) === 0) { return true; }         
     58        if ( strpos( $className, 'DASPRiD' ) === 0) { return true; }
    7759        return false;   
    7860    }
Note: See TracChangeset for help on using the changeset viewer.