- settings optimization;

This commit is contained in:
nikitozzzzzzz
2017-12-11 09:53:38 +02:00
parent 9e4a0b5309
commit e36c3ca841
51 changed files with 540 additions and 631 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ if ( ! class_exists( 'Plugin_Updater' ) ) {
foreach ( $the_plugs as $key => $value ) {
if ( in_array( $value, array_keys( $paid_extensions ) ) ) {
$license = um_get_option( "um_{$paid_extensions[ $value ]['key']}_license_key" );
$license = UM()->options()->get( "um_{$paid_extensions[ $value ]['key']}_license_key" );
if ( empty( $license ) )
continue;