Changeset 3221520
- Timestamp:
- 01/13/2025 11:01:53 AM (14 months ago)
- Location:
- extra-product-data-for-woocommerce/trunk
- Files:
-
- 5 edited
-
CHANGELOG.md (modified) (1 diff)
-
extra-product-data-for-woocommerce.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
src/classes/class-exprdawc-user-order.php (modified) (2 diffs)
-
src/constants.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
extra-product-data-for-woocommerce/trunk/CHANGELOG.md
r3221511 r3221520 1 ## [1.7.8](https://git.triopsi.dev/triopsi/extra-product-data-for-woocommerce/compare/v1.7.7...v1.7.8) (2025-01-13) 2 3 4 ### Bug Fixes 5 6 * admin can edit the custom fields and css buttons ([bc50286](https://git.triopsi.dev/triopsi/extra-product-data-for-woocommerce/commit/bc50286ad3e65c34b06322c23bb19cc9bb122d4f)) 7 1 8 ## [1.7.7](https://git.triopsi.dev/triopsi/extra-product-data-for-woocommerce/compare/v1.7.6...v1.7.7) (2025-01-13) 2 9 -
extra-product-data-for-woocommerce/trunk/extra-product-data-for-woocommerce.php
r3221511 r3221520 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. 85 Version: 1.7.9 6 6 Author: Triopsi 7 7 Author URI: https://triopsi.dev -
extra-product-data-for-woocommerce/trunk/readme.txt
r3221511 r3221520 5 5 Tested up to: 6.7 6 6 Requires PHP: 8.2 7 Stable tag: 1.7. 87 Stable tag: 1.7.9 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 145 145 * Bug fix: css fix on user edit page 146 146 * Bug fix: admin can edit the custom fields 147 148 = 1.7.9 (13.01.2025) = 149 * Bug fix: css fix on user edit page -
extra-product-data-for-woocommerce/trunk/src/classes/class-exprdawc-user-order.php
r3221511 r3221520 128 128 if ( is_wc_endpoint_url( 'view-order' ) ) { 129 129 if ( $has_user_inputs && $order->has_status( OrderUtil::remove_status_prefix( $max_order_status ) ) ) { 130 echo '<button type="button" class=" alt wp-element-button exprdawc-edit-user-order-button exprdawc-edit-order-item" data-item-id="' . esc_attr( $item_id ) . '"><span class="dashicons dashicons-edit"></span> ' . esc_html__( 'Edit', 'extra-product-data-for-woocommerce' ) . '</button>';130 echo '<button type="button" class="button alt wp-element-button exprdawc-edit-user-order-button exprdawc-edit-order-item" data-item-id="' . esc_attr( $item_id ) . '"><span class="dashicons dashicons-edit"></span> ' . esc_html__( 'Edit', 'extra-product-data-for-woocommerce' ) . '</button>'; 131 131 echo '<div class="exprdawc-order-item-fields" id="exprdawc-order-item-fields-' . esc_attr( $item_id ) . '" style="display:none;">'; 132 132 echo '<form action="" method="post" class="exprdawc-order-item-form">'; … … 137 137 } 138 138 echo '</form>'; 139 echo '<button type="button" class="alt wp-element-button exprdawc-save-order-item" data-item-id="' . esc_attr( $item_id ) . '"><span class="dashicons dashicons-yes"></span> ' . esc_html__( 'Save', 'extra-product-data-for-woocommerce' ) . '</button>';139 echo '<button style="margin-top: 1em;" type="button" class="button alt wp-element-button exprdawc-save-order-item" data-item-id="' . esc_attr( $item_id ) . '"><span class="dashicons dashicons-yes"></span> ' . esc_html__( 'Save', 'extra-product-data-for-woocommerce' ) . '</button>'; 140 140 echo '</div>'; 141 141 } -
extra-product-data-for-woocommerce/trunk/src/constants.php
r3221511 r3221520 30 30 31 31 // Useful global constants. 32 $version = '1.7. 8';32 $version = '1.7.9'; 33 33 define( 'EXPRDAWC_VERSION', $version ); 34 34 define( 'EXPRDAWC_PLUGIN_MAIN_FILE', 'extra-product-data-for-woocommerce.php' );
Note: See TracChangeset
for help on using the changeset viewer.