Changeset 2923431
- Timestamp:
- 06/08/2023 01:29:50 PM (3 years ago)
- Location:
- staff-list-vcard/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
staff-list-vcard.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
staff-list-vcard/trunk/readme.txt
r2893881 r2923431 6 6 Tags: qr code, qrcode, vcard, vcf, staff, abcfolio 7 7 Requires at least: 4.9 8 Tested up to: 6. 28 Tested up to: 6.3 9 9 Requires PHP: 7.0 10 Stable tag: 0.3. 010 Stable tag: 0.3.1 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 20230608= 81 * Update: Removed outated code comments. 79 82 80 83 = 0.3.0 20230404 = -
staff-list-vcard/trunk/staff-list-vcard.php
r2893881 r2923431 8 8 Text Domain: staff-list 9 9 Domain Path: /languages 10 Version: 0.3. 010 Version: 0.3.1 11 11 ------------------------------------------------------------------------ 12 12 Copyright 2009-2015 abcFolio. … … 53 53 private function __construct (){} 54 54 55 //Throw error on object clone. We don't want the object to be cloned.56 55 public function __clone() { 57 56 _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'sl-vcard' ), '1.5' ); 58 57 } 59 58 60 //Disable unserializing of the class61 59 public function __wakeup() { 62 60 _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'sl-vcard' ), '1.5' ); … … 70 68 // Plugin Folder URL 71 69 if ( ! defined( 'ABCFVC_PLUGIN_URL' ) ) { define( 'ABCFVC_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); } 72 // Plugin folder name abcfolio-staff-list73 //if( ! defined( 'ABCFVC_PLUGIN_FOLDER' ) ){ define('ABCFVC_PLUGIN_FOLDER', basename( dirname(__FILE__) ) ); }74 70 // Plugin Root File QPath staff-list-vcard.php 75 71 if ( ! defined( 'ABCFVC_PLUGIN_FILE' ) ){ define( 'ABCFVC_PLUGIN_FILE', __FILE__ ); } … … 77 73 } 78 74 79 //Include required files80 75 private function includes() { 81 76 … … 159 154 160 155 } 161 } // End class_exists check156 } 162 157 163 /**164 * The main function responsible for returning the one true ABCFVC_Main instance to functions everywhere.165 * Use this function like you would a global variable, except without needing to declare the global.166 * * Example: $object = ABCFVC_Main();167 */168 158 function ABCFVC_Main() { 169 159 return ABCF_Staff_VCard::instance(); 170 160 } 171 // Get plugin Running 161 172 162 ABCFVC_Main(); 173 163
Note: See TracChangeset
for help on using the changeset viewer.