diff --git a/admin/core/lib/ReduxFramework/ReduxCore/inc/tracking.php b/admin/core/lib/ReduxFramework/ReduxCore/inc/tracking.php index 53755d8d..65fdd514 100644 --- a/admin/core/lib/ReduxFramework/ReduxCore/inc/tracking.php +++ b/admin/core/lib/ReduxFramework/ReduxCore/inc/tracking.php @@ -76,14 +76,6 @@ update_option( 'redux-framework-tracking', $this->options ); } - if ( isset( $_GET['page'] ) && $_GET['page'] == $this->parent->args['page_slug'] ) { - if ( ! isset( $this->options['allow_tracking'] ) ) { - add_action( 'admin_enqueue_scripts', array( $this, '_enqueue_tracking' ) ); - } else if ( ! isset( $this->options['tour'] ) && ( $this->parent->args['dev_mode'] == "true" || $this->parent->args['page_slug'] == "redux_demo" ) ) { - add_action( 'admin_enqueue_scripts', array( $this, '_enqueue_newsletter' ) ); - } - } - $hash = md5( trailingslashit( network_site_url() ) . '-redux' ); add_action( 'wp_ajax_nopriv_' . $hash, array( $this, 'tracking_arg' ) ); add_action( 'wp_ajax_' . $hash, array( $this, 'tracking_arg' ) ); @@ -92,78 +84,6 @@ add_action( 'wp_ajax_nopriv_' . $hash, array( $this, 'support_args' ) ); add_action( 'wp_ajax_' . $hash, array( $this, 'support_args' ) ); - if ( isset( $this->options['allow_tracking'] ) && $this->options['allow_tracking'] == true ) { - // The tracking checks daily, but only sends new data every 7 days. - if ( ! wp_next_scheduled( 'redux_tracking' ) ) { - wp_schedule_event( time(), 'daily', 'redux_tracking' ); - } - add_action( 'redux_tracking', array( $this, 'tracking' ) ); - } - } - - function _enqueue_tracking() { - wp_enqueue_style( 'wp-pointer' ); - wp_enqueue_script( 'jquery' ); - wp_enqueue_script( 'jquery-ui' ); - wp_enqueue_script( 'wp-pointer' ); - wp_enqueue_script( 'utils' ); - add_action( 'admin_print_footer_scripts', array( $this, 'tracking_request' ) ); - } - - function _enqueue_newsletter() { - wp_enqueue_style( 'wp-pointer' ); - wp_enqueue_script( 'jquery' ); - wp_enqueue_script( 'jquery-ui' ); - wp_enqueue_script( 'wp-pointer' ); - wp_enqueue_script( 'utils' ); - add_action( 'admin_print_footer_scripts', array( $this, 'newsletter_request' ) ); - } - - /** - * Shows a popup that asks for permission to allow tracking. - */ - function tracking_request() { - $id = '#wpadminbar'; - $nonce = wp_create_nonce( 'redux_activate_tracking' ); - - $content = '

' . __( 'Help improve Our Panel', 'redux-framework' ) . '

'; - $content .= '

' . __( 'Please helps us improve our panel by allowing us to gather anonymous usage stats so we know which configurations, plugins and themes to test to ensure compatibility.', 'redux-framework' ) . '

'; - $opt_arr = array( - 'content' => $content, - 'position' => array( 'edge' => 'top', 'align' => 'center' ) - ); - $button2 = __( 'Allow tracking', 'redux-framework' ); - - $function2 = 'redux_store_answer("yes","' . $nonce . '")'; - $function1 = 'redux_store_answer("no","' . $nonce . '")'; - - $this->print_scripts( $id, $opt_arr, __( 'Do not allow tracking', 'redux-framework' ), $button2, $function2, $function1 ); - } - - /** - * Shows a popup that asks for permission to allow tracking. - */ - function newsletter_request() { - $id = '#wpadminbar'; - $nonce = wp_create_nonce( 'redux_activate_tracking' ); - - - $content = '

' . __( 'Welcome to the Redux Demo Panel', 'redux-framework' ) . '

'; - $content .= '

' . __( 'Getting Started', 'redux-framework' ) . '
' . sprintf( __( 'This panel demonstrates the many features of Redux. Before digging in, we suggest you get up to speed by reviewing %1$s.', 'redux-framework' ), '' . __( 'our documentation', 'redux-framework' ) . '' ); - $content .= '

' . __( 'Redux Generator', 'redux-framework' ) . '
' . sprintf( __( 'Want to get a head start? Use the %1$s. It will create a customized boilerplate theme or a standalone admin folder complete with all things Redux (with the help of Underscores and TGM). Save yourself a headache and try it today.', 'redux-framework' ), '' . __( 'Redux Generator', 'redux-framework' ) . '' ); - $content .= '

' . __( 'Redux Extensions', 'redux-framework' ) . '
' . sprintf( __( 'Did you know we have extensions, which greatly enhance the features of Redux? Visit our %1$s to learn more!', 'redux-framework' ), '' . __( 'extensions directory', 'redux-framework' ) . '' ); - $content .= '

' . __( 'Like Redux?', 'redux-framework' ) . '
' . sprintf( __( 'If so, please %1$s and consider making a %2$s to keep development of Redux moving forward.', 'redux-framework' ), '' . __( 'leave us a favorable review on WordPress.org', 'redux-framework' ) . '', '' . __( 'donation', 'redux-framework' ) . '' ); - $content .= '

' . __( 'Newsletter', 'redux-framework' ) . '
' . __( 'If you\'d like to keep up to with all things Redux, please subscribe to our newsletter', 'redux-framework' ) . ':

'; - $content .= '

    

'; - $opt_arr = array( - 'content' => $content, - 'position' => array( 'edge' => 'top', 'align' => 'center' ), - 'pointerWidth' => 450 - ); - - $function1 = 'redux_store_answer("tour","' . $nonce . '")'; - - $this->print_scripts( $id, $opt_arr, __( 'Close', 'redux-framework' ), false, '', $function1 ); } /** diff --git a/assets/css/um-members.css b/assets/css/um-members.css index bfdda8a8..33acacd3 100644 --- a/assets/css/um-members.css +++ b/assets/css/um-members.css @@ -269,7 +269,10 @@ top: 1px; } -.um-member-connect a:hover {opacity: 1} +.um-member-connect a:hover { + opacity: 1; + color: #fff; +} /* - Members pagination diff --git a/assets/css/um-modal.css b/assets/css/um-modal.css index 4e51dd62..c5628000 100644 --- a/assets/css/um-modal.css +++ b/assets/css/um-modal.css @@ -30,7 +30,7 @@ position: fixed; right: 0; top: 0; - font-size: 24px; + font-size: 22px; text-decoration: none !important; color: #fff !important; padding: 5px 10px;