Changeset 2994225
- Timestamp:
- 11/10/2023 11:54:43 PM (2 years ago)
- Location:
- petmatchpro/trunk
- Files:
-
- 9 edited
-
CHANGE-LOG.docx (modified) (previous)
-
CHANGE-LOG.pdf (modified) (previous)
-
CHANGE-LOG.txt (modified) (1 diff)
-
README.txt (modified) (1 diff)
-
admin/class-pet-match-pro-admin-settings.php (modified) (5 diffs)
-
admin/css/pet-match-pro-admin.css (modified) (1 diff)
-
admin/partials/activate_license_form.php (modified) (1 diff)
-
includes/pp/class-pet-match-pro-pp-option.php (modified) (1 diff)
-
pet-match-pro.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
petmatchpro/trunk/CHANGE-LOG.txt
r2989480 r2994225 1 Version 3.3.1 - November 8, 2023 2 + /pet-match-pro.php 3 * Assign a default PMP license key to WP Repository users. 4 + /admin/class-pet-match-pro-admin-settings.php 5 * Use default PMP license to enable free features. 6 + /includes/pp/class-pet-match-pro-pp-option.php 7 * Use default PMP license to enable free features. 8 + /admin/partials/activate_license_form.php 9 * Revise form copy for default PMP license key. 10 + /admin/css/pet-match-pro-admin.css 11 * Add CSS to style license activation form. 12 1 13 Version 3.2.1 - October 28, 2023 2 14 + Additional changes to support distribution via the WordPress repository. -
petmatchpro/trunk/README.txt
r2989480 r2994225 5 5 Tags: petmatchpro, pet match pro, animal, rescue, adoption, shelter, dog, cat, rehome, adopt 6 6 Requires at least: 5.0 7 Tested up to: 6. 38 Stable tag: 3. 2.17 Tested up to: 6.4 8 Stable tag: 3.3.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
petmatchpro/trunk/admin/class-pet-match-pro-admin-settings.php
r2989480 r2994225 90 90 update_option('PMP_License_Type', ""); 91 91 update_option('PMP_License_Type_ID', ""); 92 $this->PMPLicenseTypeID = (int) get_option('PMP_License_Type_ID'); 92 $this->PMPLicenseTypeID = (int) get_option('PMP_License_Type_ID'); 93 /* Set License Key to Default Value */ 94 $licenseKey = constant('LICENSE_KEY'); 93 95 } 94 96 //$this->api_activated = $api_activated; … … 100 102 } 101 103 //echo 'License Type: ' . $this->PMPLicenseType . '(' . $this->PMPLicenseTypeID . ')<br>'; 104 //echo 'License Key: ' . $licenseKey . '<br>'; 102 105 } 103 106 /** … … 356 359 357 360 $licenseKey = get_option('PMP_lic_Key'); 361 /* Set License Key to Default Value as Appropriate */ 362 if ( (strlen($licenseKey)==0) ) { 363 $licenseKey = constant('LICENSE_KEY'); 364 } 358 365 //echo 'License Key = ' . $licenseKey . '<br>'; 359 366 … … 906 913 907 914 $licenseKey = get_option('PMP_lic_Key'); 915 /* Set License Key to Default Value as Appropriate */ 916 if ( (strlen($licenseKey)==0) ) { 917 $licenseKey = constant('LICENSE_KEY'); 918 } 908 919 //echo 'License Key = ' . $licenseKey . '<br>'; 909 920 … … 1307 1318 1308 1319 $licenseKey = get_option('PMP_lic_Key'); 1320 /* Set License Key to Default Value as Appropriate */ 1321 if ( (strlen($licenseKey)==0) ) { 1322 $licenseKey = constant('LICENSE_KEY'); 1323 } 1309 1324 //echo 'License Key = ' . $licenseKey . '<br>'; 1310 1325 -
petmatchpro/trunk/admin/css/pet-match-pro-admin.css
r2989480 r2994225 123 123 } 124 124 125 .pmp-margin-left-1-rem { 126 margin-left: 1rem !important; 127 } 128 125 129 .pmp-blue { 126 130 color: #2BACE2 !important; -
petmatchpro/trunk/admin/partials/activate_license_form.php
r2989480 r2994225 13 13 } 14 14 ?> 15 <p><?php _e("Enter your license code and the email address used when registering PetMatchPro to enable the plugin, get feature updates and support.",$this->plugin_slug);?></p>16 <ol>17 <li><?php _e('If you do not have a license code, visit <a href="https://petmatchpro.com/" target="_blank" title="Register Now">PetMatchPro.com</a> to register for your free license.',$this->plugin_slug);?></li>18 <li><?php _e('If you have registered, check your email for a message from [email protected] with your license code.',$this->plugin_slug);?></li>19 <li><?php _e('If you would like to use our premium features, <a href="https://petmatchpro.com/my-account/" target="_blank" title="Upgrade Now">login to your account</a> to upgrade your free license.',$this->plugin_slug);?></li>20 <li><?php _e('If you need help installing, configuring or customizing PetMatchPro, get help by logging into your <a href="https://petmatchpro.com/my-account/" target="_blank" title="Upgrade Now">PetMatchPro account</a> and selecting the Support tab.',$this->plugin_slug);?></li>21 </ol>22 15 <div> 23 16 <span class="pmp-license-info-title"><?php _e("Version: ",$this->plugin_slug);?></span> 24 17 <?php echo constant('PET_MATCH_PRO_VERSION'); ?> 25 </div> 26 <div class="el-license-field"> 27 <label for="el_license_key"><?php _e("License Code: ",$this->plugin_slug);?></label> 28 <input type="text" class="regular-text code" name="el_license_key" size="50" placeholder="xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx" required="required"> 29 </div> <!-- .el-license-field --> 30 <div class="el-license-field"> 31 <label for="el_license_key"><?php _e("Email Address: ",$this->plugin_slug);?></label> 18 </div> 19 <div> 20 <p><?php _e("If you'd like to <span class='pmp-bold'>enable premium PetMatchPro features</span> or gain access to our support community/experts:",$this->plugin_slug);?></p> 21 <ul class="pmp-margin-bottom-1-rem"> 22 <li style="margin-left: 1rem"><?php _e('Visit <a href="https://petmatchpro.com/plans/" target="_blank" title="Select Your Plan">PetMatchPro.com</a> to select a plan.',$this->plugin_slug);?></li> 23 </ul> 24 <p><?php _e("If you've <span class='pmp-bold'>already registered</span> at <a href='https://petmatchpro.com/my-account/' target='_blank' title='Login to your Account'>PetMatchPro.com</a>:",$this->plugin_slug);?></p> 25 <ol> 26 <li><?php _e('Check your email for a message from [email protected] with your license code.',$this->plugin_slug);?></li> 27 <li><?php _e('Enter your license code and the email address used when registering PetMatchPro in the fields below to enable additional features and support.',$this->plugin_slug);?></li> 28 <p><label for="el_license_key"><?php _e("License Code: ",$this->plugin_slug);?></label> 29 <input type="text" class="regular-text code" name="el_license_key" size="50" placeholder="xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx" required="required"> 30 </p> 31 <p><label for="el_license_key"><?php _e("Email Address: ",$this->plugin_slug);?></label> 32 32 <?php 33 33 $purchaseEmail = get_option( "PMP_lic_email", get_bloginfo( 'admin_email' )); 34 34 ?> 35 35 <input type="text" class="regular-text code" name="el_license_email" size="50" value="<?php echo $purchaseEmail; ?>" placeholder="" required="required"> 36 </p> 36 37 <div><small><?php _e("We will send PetMatchPro related news to this email address, don't worry, we hate SPAM.",$this->plugin_slug);?></small></div> 37 </div> <!-- .el-license-field --> 38 38 39 <div class="el-license-active-btn"> 39 40 <?php wp_nonce_field( 'el-license' ); ?> 40 41 <?php submit_button('Activate'); ?> 41 42 </div> <!-- .el-license-active-btn --> 43 44 <li><?php _e('Looking for additional premium features? <a href="https://petmatchpro.com/my-account/" target="_blank" title="Upgrade Now">Login to your account</a> to upgrade.',$this->plugin_slug);?></li> 45 </ol> 46 </div> 47 <div> 48 <p class="pmp-margin-top-1-rem"><?php _e('If you <span class="pmp-bold">need help</span> installing, configuring or customizing PetMatchPro, login to your <a href="https://petmatchpro.com/my-account/" target="_blank" title="Upgrade Now">PetMatchPro account</a> and select the Support tab.',$this->plugin_slug);?></p> 49 </div> 42 50 </div> 43 51 </form> -
petmatchpro/trunk/includes/pp/class-pet-match-pro-pp-option.php
r2989480 r2994225 53 53 54 54 $licenseKey = get_option('PMP_lic_Key'); 55 /* Set License Key to Default Value as Appropriate */ 56 if ( (strlen($licenseKey)==0) ) { 57 $licenseKey = constant('LICENSE_KEY'); 58 } 55 59 //echo 'License Key = ' . $licenseKey . '<br>'; 56 60 -
petmatchpro/trunk/pet-match-pro.php
r2989480 r2994225 13 13 * Plugin Name: PetMatchPro 14 14 * Description: Integrates animal search and details from your PetPoint/Petango account into your website with simple shortcodes. 15 * Version: 3. 2.115 * Version: 3.3.1 16 16 * Author: PetMatchPro 17 17 * Author URI: https://PetMatchPro.com … … 28 28 * Current plugin version. 29 29 */ 30 define('PET_MATCH_PRO_VERSION', '3. 2.1');30 define('PET_MATCH_PRO_VERSION', '3.3.1'); 31 31 32 32 /* Define Global Variables */ … … 34 34 define('PET_MATCH_PRO_PATH_FILE', __FILE__ ); 35 35 define('ERROR', 'ERROR'); 36 define('LICENSE_KEY', '73BBF3F8-8CDC88C2-B66B16B7-1D1B6EED'); 36 37 37 38 /* Variables to Manage Premium Content */
Note: See TracChangeset
for help on using the changeset viewer.