Changeset 3221376
- Timestamp:
- 01/13/2025 07:48:34 AM (14 months ago)
- Location:
- extra-product-data-for-woocommerce/trunk
- Files:
-
- 11 edited
-
CHANGELOG.md (modified) (1 diff)
-
extra-product-data-for-woocommerce.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
src/classes/class-autoloader.php (modified) (1 diff)
-
src/classes/class-exprdawc-admin-order.php (modified) (1 diff)
-
src/classes/class-exprdawc-helper.php (modified) (1 diff)
-
src/classes/class-exprdawc-main.php (modified) (1 diff)
-
src/classes/class-exprdawc-product-page-backend.php (modified) (3 diffs)
-
src/classes/class-exprdawc-user-order.php (modified) (1 diff)
-
src/constants.php (modified) (1 diff)
-
src/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
extra-product-data-for-woocommerce/trunk/CHANGELOG.md
r3220698 r3221376 1 ## [1.7.4](https://git.triopsi.dev/triopsi/extra-product-data-for-woocommerce/compare/v1.7.3...v1.7.4) (2025-01-13) 2 3 4 ### Bug Fixes 5 6 * version in files ([d1f75df](https://git.triopsi.dev/triopsi/extra-product-data-for-woocommerce/commit/d1f75dfdab1f16313fca6582244817ba4f0d402d)) 7 8 ## [1.7.3](https://git.triopsi.dev/triopsi/extra-product-data-for-woocommerce/compare/v1.7.2...v1.7.3) (2025-01-11) 9 10 11 ### Bug Fixes 12 13 * fix a little bugs ([f9ec111](https://git.triopsi.dev/triopsi/extra-product-data-for-woocommerce/commit/f9ec111f761082992c532874d959a40ba7307494)) 14 1 15 ## [1.7.2](https://git.triopsi.dev/triopsi/extra-product-data-for-woocommerce/compare/v1.7.1...v1.7.2) (2024-12-26) 2 16 -
extra-product-data-for-woocommerce/trunk/extra-product-data-for-woocommerce.php
r3220698 r3221376 3 3 Plugin Name: Extra Product Data for WooCommerce 4 4 Description: Adds customizable input fields per product in WooCommerce, allowing users to enter extra details on the frontend. 5 Version: 1.7. 35 Version: 1.7.5 6 6 Author: Triopsi 7 7 Author URI: https://triopsi.dev -
extra-product-data-for-woocommerce/trunk/readme.txt
r3220698 r3221376 5 5 Tested up to: 6.7 6 6 Requires PHP: 8.2 7 Stable tag: 1.7. 07 Stable tag: 1.7.5 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 129 129 = 1.7.3 (11.01.2025) = 130 130 * Bug fix: Admin and users who placed the order can manipulate the total price after editing the order. 131 132 = 1.7.4 (13.01.2025) = 133 * Bug fix: fix version in files 134 135 = 1.7.5 (13.01.2025) = 136 * Bug fix: fix with normally artefacts -
extra-product-data-for-woocommerce/trunk/src/classes/class-autoloader.php
r3220698 r3221376 27 27 namespace Triopsi\Exprdawc; 28 28 29 if ( ! defined( 'ABSPATH' ) ) { 30 exit; // Exit if accessed directly. 31 } 29 32 /** 30 33 * Class Autoloader -
extra-product-data-for-woocommerce/trunk/src/classes/class-exprdawc-admin-order.php
r3220698 r3221376 27 27 namespace Triopsi\Exprdawc; 28 28 29 if ( ! defined( 'ABSPATH' ) ) { 30 exit; // Exit if accessed directly. 31 } 29 32 use WC_Order; 30 33 use WC_Order_Item; -
extra-product-data-for-woocommerce/trunk/src/classes/class-exprdawc-helper.php
r3220698 r3221376 27 27 namespace Triopsi\Exprdawc; 28 28 29 if ( ! defined( 'ABSPATH' ) ) { 30 exit; // Exit if accessed directly. 31 } 29 32 /** 30 33 * Class Exprdawc_Helper -
extra-product-data-for-woocommerce/trunk/src/classes/class-exprdawc-main.php
r3220698 r3221376 27 27 namespace Triopsi\Exprdawc; 28 28 29 if ( ! defined( 'ABSPATH' ) ) { 30 exit; // Exit if accessed directly. 31 } 29 32 use function Triopsi\Exprdawc\tr_is_woocommerce_active; 30 33 -
extra-product-data-for-woocommerce/trunk/src/classes/class-exprdawc-product-page-backend.php
r3213497 r3221376 27 27 namespace Triopsi\Exprdawc; 28 28 29 if ( ! defined( 'ABSPATH' ) ) { 30 exit; // Exit if accessed directly. 31 } 29 32 /** 30 33 * Class Selection … … 64 67 */ 65 68 public function exprdawc_add_custom_product_tab( array $tabs ): array { 66 $class = apply_filters( 'exprdawc_custom_product_tab_class', 'show_if_simple show_if_variable' );69 $class = apply_filters( 'exprdawc_custom_product_tab_class', 'show_if_simple show_if_variable' ); 67 70 $tabs['custom_fields'] = array( 68 71 'label' => __( 'Extra Product Input', 'extra-product-data-for-woocommerce' ), … … 220 223 */ 221 224 public function exprdawc_save_extra_product_fields( $post_id ) { 222 225 223 226 // Check if extra product fields are set. 224 227 if ( isset( $_POST['extra_product_fields'] ) ) { -
extra-product-data-for-woocommerce/trunk/src/classes/class-exprdawc-user-order.php
r3220698 r3221376 27 27 namespace Triopsi\Exprdawc; 28 28 29 if ( ! defined( 'ABSPATH' ) ) { 30 exit; // Exit if accessed directly. 31 } 29 32 use Automattic\WooCommerce\Utilities\OrderUtil; 30 33 use WC_Order; -
extra-product-data-for-woocommerce/trunk/src/constants.php
r3220698 r3221376 25 25 */ 26 26 27 if ( ! defined( 'ABSPATH' ) ) { 28 exit; // Exit if accessed directly. 29 } 30 27 31 // Useful global constants. 28 define( 'EXPRDAWC_VERSION', '1.7.3' ); 32 $version = '1.7.5'; 33 define( 'EXPRDAWC_VERSION', $version ); 29 34 define( 'EXPRDAWC_PLUGIN_MAIN_FILE', 'extra-product-data-for-woocommerce.php' ); 30 35 31 36 // Paths. 32 37 define( 'EXPRDAWC_DS', DIRECTORY_SEPARATOR ); 33 define( 'EXPRDAWC_PATH', rtrim( realpath(__DIR__ . '/../'), EXPRDAWC_DS) . EXPRDAWC_DS );38 define( 'EXPRDAWC_PATH', rtrim( realpath( __DIR__ . '/../' ), EXPRDAWC_DS ) . EXPRDAWC_DS ); 34 39 define( 'EXPRDAWC_BASENAME', plugin_basename( EXPRDAWC_PATH . EXPRDAWC_PLUGIN_MAIN_FILE ) ); 35 40 define( 'EXPRDAWC_SRC', EXPRDAWC_PATH . 'src/' ); -
extra-product-data-for-woocommerce/trunk/src/functions.php
r3202511 r3221376 27 27 namespace Triopsi\Exprdawc; 28 28 29 if ( ! defined( 'ABSPATH' ) ) { 30 exit; // Exit if accessed directly. 31 } 32 29 33 if ( ! function_exists( 'tr_is_woocommerce_active' ) ) { 30 34 /**
Note: See TracChangeset
for help on using the changeset viewer.