Changeset 2951415
- Timestamp:
- 08/10/2023 10:33:19 AM (3 years ago)
- Location:
- woo-alidropship/trunk
- Files:
-
- 6 edited
-
CHANGELOG.txt (modified) (1 diff)
-
admin/error_images.php (modified) (1 diff)
-
admin/import_list.php (modified) (1 diff)
-
admin/imported.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
woo-alidropship.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woo-alidropship/trunk/CHANGELOG.txt
r2951095 r2951415 1 /**1.1.1 – 2023.08.10*/ 2 – Fixed: Missing item count at admin menu 3 1 4 /**1.1.0 – 2023.08.10*/ 2 5 – Added: Find Ali product to import from Import list -
woo-alidropship/trunk/admin/error_images.php
r2951095 r2951415 59 59 public function menu_product_count() { 60 60 global $submenu; 61 if ( isset( $submenu['woo-alidropship '] ) ) {61 if ( isset( $submenu['woo-alidropship-import-list'] ) ) { 62 62 // Add count if user has access. 63 63 if ( apply_filters( 'woo_aliexpress_dropship_error_images_count_in_menu', true ) && current_user_can( 'manage_options' ) ) { 64 64 $product_count = VI_WOO_ALIDROPSHIP_Error_Images_Table::get_rows( 0, 0, true ); 65 foreach ( $submenu['woo-alidropship '] as $key => $menu_item ) {65 foreach ( $submenu['woo-alidropship-import-list'] as $key => $menu_item ) { 66 66 if ( 0 === strpos( $menu_item[0], _x( 'Failed Images', 'Admin menu name', 'woo-alidropship' ) ) ) { 67 $submenu['woo-alidropship '][ $key ][0] .= ' <span class="update-plugins count-' . esc_attr( $product_count ) . '"><span class="' . self::set( 'error-images-count' ) . '">' . number_format_i18n( $product_count ) . '</span></span>'; // WPCS: override ok.67 $submenu['woo-alidropship-import-list'][ $key ][0] .= ' <span class="update-plugins count-' . esc_attr( $product_count ) . '"><span class="' . self::set( 'error-images-count' ) . '">' . number_format_i18n( $product_count ) . '</span></span>'; // WPCS: override ok. 68 68 break; 69 69 } -
woo-alidropship/trunk/admin/import_list.php
r2951095 r2951415 637 637 public function menu_product_count() { 638 638 global $submenu; 639 if ( isset( $submenu['woo-alidropship '] ) ) {639 if ( isset( $submenu['woo-alidropship-import-list'] ) ) { 640 640 // Add count if user has access. 641 641 if ( apply_filters( 'woo_aliexpress_dropship_product_count_in_menu', true ) && current_user_can( 'manage_options' ) ) { 642 642 $count = wp_count_posts( 'vi_wad_draft_product' ); 643 643 $product_count = $count->draft + $count->override; 644 foreach ( $submenu['woo-alidropship '] as $key => $menu_item ) {644 foreach ( $submenu['woo-alidropship-import-list'] as $key => $menu_item ) { 645 645 if ( 0 === strpos( $menu_item[0], _x( 'Import List', 'Admin menu name', 'woo-alidropship' ) ) ) { 646 $submenu['woo-alidropship '][ $key ][0] .= ' <span class="update-plugins count-' . esc_attr( $product_count ) . '"><span class="' . self::set( 'import-list-count' ) . '">' . number_format_i18n( $product_count ) . '</span></span>'; // WPCS: override ok.646 $submenu['woo-alidropship-import-list'][ $key ][0] .= ' <span class="update-plugins count-' . esc_attr( $product_count ) . '"><span class="' . self::set( 'import-list-count' ) . '">' . number_format_i18n( $product_count ) . '</span></span>'; // WPCS: override ok. 647 647 break; 648 648 } -
woo-alidropship/trunk/admin/imported.php
r2951095 r2951415 197 197 public function menu_product_count() { 198 198 global $submenu; 199 if ( isset( $submenu['woo-alidropship '] ) ) {199 if ( isset( $submenu['woo-alidropship-import-list'] ) ) { 200 200 // Add count if user has access. 201 201 if ( apply_filters( 'woo_aliexpress_dropship_product_count_in_menu', true ) && current_user_can( 'manage_options' ) ) { 202 202 $product_count = $this->get_product_count(); 203 foreach ( $submenu['woo-alidropship '] as $key => $menu_item ) {203 foreach ( $submenu['woo-alidropship-import-list'] as $key => $menu_item ) { 204 204 if ( 0 === strpos( $menu_item[0], _x( 'Imported', 'Admin menu name', 'woo-alidropship' ) ) ) { 205 $submenu['woo-alidropship '][ $key ][0] .= ' <span class="update-plugins count-' . esc_attr( $product_count->publish ) . '"><span class="' . self::set( 'imported-list-count' ) . '">' . number_format_i18n( $product_count->publish ) . '</span></span>'; // WPCS: override ok.205 $submenu['woo-alidropship-import-list'][ $key ][0] .= ' <span class="update-plugins count-' . esc_attr( $product_count->publish ) . '"><span class="' . self::set( 'imported-list-count' ) . '">' . number_format_i18n( $product_count->publish ) . '</span></span>'; // WPCS: override ok. 206 206 break; 207 207 } -
woo-alidropship/trunk/readme.txt
r2951095 r2951415 316 316 317 317 == Changelog == 318 319 /**1.1.1 – 2023.08.10*/ 320 – Fixed: Missing item count at admin menu 321 – Added: Find Ali product to import from Import list 322 318 323 /**1.0.30 – 2023.08.01*/ 319 324 - Fixed: Parse data from Ali -
woo-alidropship/trunk/woo-alidropship.php
r2951095 r2951415 4 4 * Plugin URI: https://villatheme.com/extensions/aliexpress-dropshipping-and-fulfillment-for-woocommerce/ 5 5 * Description: Transfer data from AliExpress products to WooCommerce effortlessly and fulfill WooCommerce orders to AliExpress automatically. 6 * Version: 1.1. 06 * Version: 1.1.1 7 7 * Author: VillaTheme(villatheme.com) 8 8 * Author URI: http://villatheme.com … … 18 18 } 19 19 20 define( 'VI_WOO_ALIDROPSHIP_VERSION', '1.1. 0' );20 define( 'VI_WOO_ALIDROPSHIP_VERSION', '1.1.1' ); 21 21 define( 'VI_WOO_ALIDROPSHIP_DIR', plugin_dir_path( __FILE__ ) ); 22 22 define( 'VI_WOO_ALIDROPSHIP_INCLUDES', VI_WOO_ALIDROPSHIP_DIR . "includes" . DIRECTORY_SEPARATOR );
Note: See TracChangeset
for help on using the changeset viewer.