Changeset 3063206
- Timestamp:
- 04/03/2024 05:25:20 AM (4 months ago)
- Location:
- custom-order-statuses-woocommerce
- Files:
-
- 10 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
custom-order-statuses-woocommerce/tags/2.4.1/class-alg-wc-custom-order-statuses.php
r3028534 r3063206 48 48 * @since 1.0.0 49 49 */ 50 public $version = '2.4. 0';50 public $version = '2.4.'; 51 51 52 52 /** -
custom-order-statuses-woocommerce/tags/2.4.1/custom-order-statuses-for-woocommerce.php
r3028534 r3063206 4 4 * Plugin URI: https://www.tychesoftwares.com/store/premium-plugins/custom-order-status-woocommerce/ 5 5 * Description: Add custom order statuses to WooCommerce. 6 * Version: 2.4. 06 * Version: 2.4. 7 7 * Author: Tyche Softwares 8 8 * Author URI: https://www.tychesoftwares.com/ … … 10 10 * Domain Path: /langs 11 11 * Copyright: © 2021 Tyche Softwares 12 * WC tested up to: 8. 5.212 * WC tested up to: 8. 13 13 * License: GNU General Public License v3.0 14 14 * License URI: http://www.gnu.org/licenses/gpl-3.0.html -
custom-order-statuses-woocommerce/tags/2.4.1/includes/class-alg-wc-custom-order-statuses-core.php
r2933676 r3063206 535 535 public function register_custom_post_statuses() { 536 536 foreach ( $this->alg_orders_custom_statuses_array as $slug => $label ) { 537 538 537 539 register_post_status( 538 540 $slug, 539 541 array( 540 'label' => $ label,542 'label' => $label, 541 543 'public' => true, 542 544 'exclude_from_search' => false, … … 544 546 'show_in_admin_status_list' => true, 545 547 // translators: Count of orders with the custom status. 546 'label_count' => _n_noop( "$ label <span class='count'>(%s)</span>", "$label <span class='count'>(%s)</span>" ), // phpcs:ignore548 'label_count' => _n_noop( "$label <span class='count'>(%s)</span>" ), // phpcs:ignore 547 549 ) 548 550 ); -
custom-order-statuses-woocommerce/tags/2.4.1/includes/component/plugin-tracking/class-tyche-plugin-tracking.php
r3028534 r3063206 149 149 public function dismiss_notice() { 150 150 $nonce = $_POST['tracking_notice'];//phpcs:ignore 151 if ( ! wp_verify_nonce( $nonce, 'tracking_notice' ) ) { 152 return; 153 } 154 update_option( $this->plugin_short_name . '_allow_tracking', 'dismissed' ); 155 $this->send_tracking_data(); 151 if ( is_user_logged_in() && current_user_can( 'manage_options' ) && wp_verify_nonce( $nonce, 'tracking_notice' ) ) { 152 update_option( $this->plugin_short_name . '_allow_tracking', 'dismissed' ); 153 $this->send_tracking_data(); 154 } 156 155 } 157 156 -
custom-order-statuses-woocommerce/tags/2.4.1/readme.txt
r3028534 r3063206 3 3 Tags: woocommerce, order status, woo commerce, custom status 4 4 Requires at least: 4.4 5 Tested up to: 6. 4.25 Tested up to: 6. 6 6 Stable tag: trunk 7 7 Requires PHP: 7.3 … … 80 80 81 81 == Changelog == 82 83 84 85 86 87 82 88 83 89 = 2.4.0 - 30/01/2024 = -
custom-order-statuses-woocommerce/trunk/class-alg-wc-custom-order-statuses.php
r3028534 r3063206 48 48 * @since 1.0.0 49 49 */ 50 public $version = '2.4. 0';50 public $version = '2.4.'; 51 51 52 52 /** -
custom-order-statuses-woocommerce/trunk/custom-order-statuses-for-woocommerce.php
r3028534 r3063206 4 4 * Plugin URI: https://www.tychesoftwares.com/store/premium-plugins/custom-order-status-woocommerce/ 5 5 * Description: Add custom order statuses to WooCommerce. 6 * Version: 2.4. 06 * Version: 2.4. 7 7 * Author: Tyche Softwares 8 8 * Author URI: https://www.tychesoftwares.com/ … … 10 10 * Domain Path: /langs 11 11 * Copyright: © 2021 Tyche Softwares 12 * WC tested up to: 8. 5.212 * WC tested up to: 8. 13 13 * License: GNU General Public License v3.0 14 14 * License URI: http://www.gnu.org/licenses/gpl-3.0.html -
custom-order-statuses-woocommerce/trunk/includes/class-alg-wc-custom-order-statuses-core.php
r2933676 r3063206 535 535 public function register_custom_post_statuses() { 536 536 foreach ( $this->alg_orders_custom_statuses_array as $slug => $label ) { 537 538 537 539 register_post_status( 538 540 $slug, 539 541 array( 540 'label' => $ label,542 'label' => $label, 541 543 'public' => true, 542 544 'exclude_from_search' => false, … … 544 546 'show_in_admin_status_list' => true, 545 547 // translators: Count of orders with the custom status. 546 'label_count' => _n_noop( "$ label <span class='count'>(%s)</span>", "$label <span class='count'>(%s)</span>" ), // phpcs:ignore548 'label_count' => _n_noop( "$label <span class='count'>(%s)</span>" ), // phpcs:ignore 547 549 ) 548 550 ); -
custom-order-statuses-woocommerce/trunk/includes/component/plugin-tracking/class-tyche-plugin-tracking.php
r3028534 r3063206 149 149 public function dismiss_notice() { 150 150 $nonce = $_POST['tracking_notice'];//phpcs:ignore 151 if ( ! wp_verify_nonce( $nonce, 'tracking_notice' ) ) { 152 return; 153 } 154 update_option( $this->plugin_short_name . '_allow_tracking', 'dismissed' ); 155 $this->send_tracking_data(); 151 if ( is_user_logged_in() && current_user_can( 'manage_options' ) && wp_verify_nonce( $nonce, 'tracking_notice' ) ) { 152 update_option( $this->plugin_short_name . '_allow_tracking', 'dismissed' ); 153 $this->send_tracking_data(); 154 } 156 155 } 157 156 -
custom-order-statuses-woocommerce/trunk/readme.txt
r3028534 r3063206 3 3 Tags: woocommerce, order status, woo commerce, custom status 4 4 Requires at least: 4.4 5 Tested up to: 6. 4.25 Tested up to: 6. 6 6 Stable tag: trunk 7 7 Requires PHP: 7.3 … … 80 80 81 81 == Changelog == 82 83 84 85 86 87 82 88 83 89 = 2.4.0 - 30/01/2024 =
Note: See TracChangeset
for help on using the changeset viewer.