Changeset 3327958
- Timestamp:
- 07/15/2025 07:03:51 AM (8 months ago)
- Location:
- edd-sale-price
- Files:
-
- 3 edited
- 5 copied
-
tags/1.0.5.3 (copied) (copied from edd-sale-price/trunk)
-
tags/1.0.5.3/edd-sale-price.php (copied) (copied from edd-sale-price/trunk/edd-sale-price.php) (2 diffs)
-
tags/1.0.5.3/includes/admin/class-eddsp-admin-product.php (copied) (copied from edd-sale-price/trunk/includes/admin/class-eddsp-admin-product.php) (3 diffs)
-
tags/1.0.5.3/includes/class-eddsp-sale-price.php (copied) (copied from edd-sale-price/trunk/includes/class-eddsp-sale-price.php)
-
tags/1.0.5.3/readme.txt (copied) (copied from edd-sale-price/trunk/readme.txt) (2 diffs)
-
trunk/edd-sale-price.php (modified) (2 diffs)
-
trunk/includes/admin/class-eddsp-admin-product.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
edd-sale-price/tags/1.0.5.3/edd-sale-price.php
r3081933 r3327958 4 4 * Plugin URI: https://jeroensormani.com 5 5 * Description: Put your digital products on sale. 6 * Version: 1.0.5. 26 * Version: 1.0.5.3 7 7 * Author: Jeroen Sormani 8 8 * Author URI: https://jeroensormani.com/ … … 30 30 * @var string $version Plugin version number. 31 31 */ 32 public $version = '1.0.5. 2';32 public $version = '1.0.5.3'; 33 33 34 34 -
edd-sale-price/tags/1.0.5.3/includes/admin/class-eddsp-admin-product.php
r2583685 r3327958 21 21 public function __construct() { 22 22 23 // Register post (download type) meta 24 add_action( 'admin_init', array( $this, 'register_meta' ) ); 25 23 26 // Add simple sale price field 24 27 add_action( 'edd_after_price_field', array( $this, 'simple_sale_price_field' ) ); … … 38 41 add_action( 'edd_download_price_option_row', array( $this, 'variable_sale_price_field' ), 1, 3 ); 39 42 43 if ( ! has_filter( 'sanitize_post_meta_edd_sale_price' ) ) { 44 add_filter( 'sanitize_post_meta_edd_sale_price', array( $this, 'sanitize_price' ), 10, 4 ); 45 } 46 } 47 48 /** 49 * Register post (download type) meta 50 * 51 * @return void 52 */ 53 public function register_meta() { 40 54 41 55 register_meta( … … 46 60 'sanitize_callback' => array( $this, 'sanitize_price' ), 47 61 'type' => 'float', 48 'description' => __( 'The sale price of the product.', 'e asy-digital-downloads' ),62 'description' => __( 'The sale price of the product.', 'edd-sale-price' ), 49 63 'show_in_rest' => true, 50 64 ) 51 65 ); 52 66 53 if ( ! has_filter( 'sanitize_post_meta_edd_sale_price' ) ) {54 add_filter( 'sanitize_post_meta_edd_sale_price', array( $this, 'sanitize_price' ), 10, 4 );55 }56 67 } 57 68 -
edd-sale-price/tags/1.0.5.3/readme.txt
r3081933 r3327958 4 4 Requires at least: 5.0 5 5 Tested up to: 6.5 6 Stable tag: 1.0.5. 26 Stable tag: 1.0.5.3 7 7 Requires PHP: 7.0 8 8 License: GPLv3 or later … … 61 61 == Changelog == 62 62 63 = 1.0.5.3 - 07/06/2025 = 64 65 * [Fix] - Call __() after init 66 63 67 = 1.0.5.2 - 06/05/2024 = 64 68 -
edd-sale-price/trunk/edd-sale-price.php
r3081933 r3327958 4 4 * Plugin URI: https://jeroensormani.com 5 5 * Description: Put your digital products on sale. 6 * Version: 1.0.5. 26 * Version: 1.0.5.3 7 7 * Author: Jeroen Sormani 8 8 * Author URI: https://jeroensormani.com/ … … 30 30 * @var string $version Plugin version number. 31 31 */ 32 public $version = '1.0.5. 2';32 public $version = '1.0.5.3'; 33 33 34 34 -
edd-sale-price/trunk/includes/admin/class-eddsp-admin-product.php
r2583685 r3327958 21 21 public function __construct() { 22 22 23 // Register post (download type) meta 24 add_action( 'admin_init', array( $this, 'register_meta' ) ); 25 23 26 // Add simple sale price field 24 27 add_action( 'edd_after_price_field', array( $this, 'simple_sale_price_field' ) ); … … 38 41 add_action( 'edd_download_price_option_row', array( $this, 'variable_sale_price_field' ), 1, 3 ); 39 42 43 if ( ! has_filter( 'sanitize_post_meta_edd_sale_price' ) ) { 44 add_filter( 'sanitize_post_meta_edd_sale_price', array( $this, 'sanitize_price' ), 10, 4 ); 45 } 46 } 47 48 /** 49 * Register post (download type) meta 50 * 51 * @return void 52 */ 53 public function register_meta() { 40 54 41 55 register_meta( … … 46 60 'sanitize_callback' => array( $this, 'sanitize_price' ), 47 61 'type' => 'float', 48 'description' => __( 'The sale price of the product.', 'e asy-digital-downloads' ),62 'description' => __( 'The sale price of the product.', 'edd-sale-price' ), 49 63 'show_in_rest' => true, 50 64 ) 51 65 ); 52 66 53 if ( ! has_filter( 'sanitize_post_meta_edd_sale_price' ) ) {54 add_filter( 'sanitize_post_meta_edd_sale_price', array( $this, 'sanitize_price' ), 10, 4 );55 }56 67 } 57 68 -
edd-sale-price/trunk/readme.txt
r3081933 r3327958 4 4 Requires at least: 5.0 5 5 Tested up to: 6.5 6 Stable tag: 1.0.5. 26 Stable tag: 1.0.5.3 7 7 Requires PHP: 7.0 8 8 License: GPLv3 or later … … 61 61 == Changelog == 62 62 63 = 1.0.5.3 - 07/06/2025 = 64 65 * [Fix] - Call __() after init 66 63 67 = 1.0.5.2 - 06/05/2024 = 64 68
Note: See TracChangeset
for help on using the changeset viewer.