Changeset 2893881
- Timestamp:
- 04/04/2023 08:25:29 PM (3 years ago)
- Location:
- staff-list-vcard/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (2 diffs)
-
staff-list-vcard.php (modified) (6 diffs)
-
vendor/Autoloader.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
staff-list-vcard/trunk/readme.txt
r2869528 r2893881 6 6 Tags: qr code, qrcode, vcard, vcf, staff, abcfolio 7 7 Requires at least: 4.9 8 Tested up to: 6. 18 Tested up to: 6.2 9 9 Requires PHP: 7.0 10 Stable tag: 0. 2.910 Stable tag: 0.3.0 11 11 License: GPLv2 or later 12 12 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 77 77 78 78 == Changelog == 79 80 = 0.3.0 20230404 = 81 * Update: Minor modification of autoloader.php 82 * Tested with WP 6.2. 79 83 80 84 = 0.2.9 20230127 = -
staff-list-vcard/trunk/staff-list-vcard.php
r2856121 r2893881 8 8 Text Domain: staff-list 9 9 Domain Path: /languages 10 Version: 0. 2.910 Version: 0.3.0 11 11 ------------------------------------------------------------------------ 12 12 Copyright 2009-2015 abcFolio. … … 36 36 public $pluginSlug = 'abcfolio-staff-list-vcard'; 37 37 public $prefix = 'abcfvc'; 38 public $pluginVersion = '0. 2.9';38 public $pluginVersion = '0.3.0'; 39 39 40 40 public static function instance() { … … 85 85 require_once ABCFVC_PLUGIN_DIR . 'inc/class-vcard-data.php'; 86 86 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'; 89 88 require_once ABCFVC_PLUGIN_DIR . 'vendor/Autoloader.php'; 90 89 require_once ABCFVC_PLUGIN_DIR . 'inc/class-img-util.php'; … … 100 99 require_once ABCFVC_PLUGIN_DIR . 'admin/class-mbox-tplate.php'; 101 100 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'; 104 102 require_once ABCFVC_PLUGIN_DIR . 'admin/v-tabs.php'; 105 103 require_once ABCFVC_PLUGIN_DIR . 'admin/mbox-tplate-optns.php'; … … 118 116 require_once ABCFVC_PLUGIN_DIR . 'admin/dba.php'; 119 117 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'; 122 119 require_once ABCFVC_PLUGIN_DIR . 'admin/admin-help.php'; 123 120 … … 128 125 //=================================================================== 129 126 private function setup_actions() { 130 131 127 //add_action('admin_init', 'abcfvc_mbox_tplate_preview_vcard_action_download'); 132 128 add_action('admin_init', 'abcfvc_preview_vcard_action_download'); 133 134 129 // Register the callback to support downloading of vCards 135 130 add_action( 'template_redirect' , array( 'ABCFVC_vCard_Render', 'download_vCard' ) ); -
staff-list-vcard/trunk/vendor/Autoloader.php
r2710322 r2893881 46 46 public function vendorFolder( $className ) { 47 47 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; } 60 51 return $className; 61 52 } … … 63 54 public function isOurClass( $className ) { 64 55 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; } 77 59 return false; 78 60 }
Note: See TracChangeset
for help on using the changeset viewer.