WordPress.org

Plugin Directory

Changeset 1707794


Ignore:
Timestamp:
08/03/17 12:56:19 (6 months ago)
Author:
applyke
Message:

Updated version number

Location:
woo-personal-discount/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • woo-personal-discount/trunk/readme.txt

    r1707767 r1707794  
    5858* Added icon and banner 
    5959 
     60= 1.1.1 = 
     61* Updated version number 
     62 
    6063== Upgrade Notice == 
    6164 
     
    6871= 1.1.0 = 
    6972* Added icon and banner 
     73 
     74= 1.1.1 = 
     75* Updated version number in woocommerce-personal-discount.php 
  • woo-personal-discount/trunk/woocommerce-personal-discount.php

    r1706166 r1707794  
    33Plugin Name: WooCommerce Personal Discount 
    44Description: Personal discount for customer in WooCommerce. 
    5 Version:   1.0.1 
     5Version:   1.1.1 
    66Author: Applyke 
    77Author URI: https://applyke.com 
     
    3838{ 
    3939    if (current_user_can('edit_user', $user->ID)) { ?> 
    40         <h3><?php _e('Additional Information', APLK_PD_LANGUAGE_DOMAIN) ?></h3> 
    41         <table class="form-table"> 
    42             <tr> 
    43                 <th> 
    44                     <label for="discount"><?php _e('Personal discount on goods', APLK_PD_LANGUAGE_DOMAIN) ?></label> 
    45                 </th> 
    46                 <td> 
    47                     <input type="text" name="personal_discount" id="personal_discount" 
    48                            value="<?php echo esc_attr(get_the_author_meta('discount', $user->ID)); ?>" 
    49                            class="regular-text"/><br/> 
    50                     <span 
    51                         class="description"><?php _e('Please enter a number between 0 and 100 (%). Discount applies to non-participating products', APLK_PD_LANGUAGE_DOMAIN) ?></span> 
    52                     <?php wp_nonce_field('woocommerce_personal_discount', APLK_PD_NONCE); ?> 
    53                 </td> 
    54             </tr> 
    55         </table> 
     40      <h3><?php _e('Additional Information', APLK_PD_LANGUAGE_DOMAIN) ?></h3> 
     41      <table class="form-table"> 
     42        <tr> 
     43          <th> 
     44            <label for="discount"><?php _e('Personal discount on goods', APLK_PD_LANGUAGE_DOMAIN) ?></label> 
     45          </th> 
     46          <td> 
     47            <input type="text" name="personal_discount" id="personal_discount" 
     48                   value="<?php echo esc_attr(get_the_author_meta('discount', $user->ID)); ?>" 
     49                   class="regular-text"/><br/> 
     50            <span 
     51              class="description"><?php _e('Please enter a number between 0 and 100 (%). Discount applies to non-participating products', APLK_PD_LANGUAGE_DOMAIN) ?></span> 
     52              <?php wp_nonce_field('woocommerce_personal_discount', APLK_PD_NONCE); ?> 
     53          </td> 
     54        </tr> 
     55      </table> 
    5656    <?php } ?> 
    5757<?php } 
Note: See TracChangeset for help on using the changeset viewer.