WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#46154 closed defect (bug) (invalid)

Woo Commerce Deposits 2.2.8 Plug In by Envato

Reported by: susanfla2 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Plugins Keywords:
Focuses: Cc:

Description (last modified by SergeyBiryukov)

I recently attempted upgrade from 2.2.6 to 2.2.8. The 2.2.8 plug-in I was sold is incomplete in code. The following are the only fixes found in the plug-in php file:

//button css fix for storefront theme

				$active_theme = wp_get_theme();
				if( $active_theme->parent() ){
					$theme_name = $active_theme->parent()->get( 'Name' );
					
				} else{
					$theme_name = $active_theme->get( 'Name' );
					
				}
				if( $theme_name === 'Storefront' ){
					
					ob_start();
					?>


                    #wc-deposits-options-form label {
                    margin-left: 0 !important;
                    }
					<?php
					$css = ob_get_clean();
					wp_add_inline_style( 'toggle-switch' , $css );

If you do not have a storefront child theme - the fix is useless

Other items you will notice between the 2.2.6 and the 2.2.8 features are some of the most relevant functions have been ripped out of the code. For example, the plug-in developer adds "public $admin_auto_updates" for site license verification and strips out the "public $checkout_mode;" functionality.

I recommend that the plug-in developers stop copying and pasting code from one theme to another and then selling the plug-in as a real product. Let's hope I get my money back on that General Public User License I bought....

Change History (3)

#1 @Ipstenu
3 years ago

  • Keywords dev-feedback reporter-feedback needs-design 2nd-opinion needs-patch removed
  • Resolution set to invalid
  • Severity changed from critical to normal
  • Status changed from new to closed

I'm really sorry but this is an issue with a plugin, not WordPress core. You'll need to contact whomever you purchased this from.

#2 @desrosj
3 years ago

  • Milestone Awaiting Review deleted

Removing Awaiting Review milestone from closed tickets.

#3 @SergeyBiryukov
3 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.