- hotfix, removed PHP notices and warnings;

This commit is contained in:
nikitozzzzzzz
2017-10-31 15:49:48 +02:00
parent cb504d635e
commit b2a67974bd
4 changed files with 19 additions and 7 deletions
+2 -2
View File
@@ -3,9 +3,9 @@
$all_options = wp_load_alloptions();
$count = 0;
foreach( $all_options as $k => $v ) {
foreach ( $all_options as $k => $v ) {
if ( strstr( $k, 'um_cache_userdata_' ) ) {
if ( strstr( $k, 'um_cache_userdata_' ) !== false ) {
$count++;
}