diff --git a/core/um-permalinks.php b/core/um-permalinks.php index 63000674..295a70d6 100644 --- a/core/um-permalinks.php +++ b/core/um-permalinks.php @@ -240,7 +240,7 @@ class UM_Permalinks { if( in_array( um_get_option( 'permalink_base'), $full_name_permalinks ) ) { $full_name = um_user( 'full_name' ); - $count = $wpdb->get_var( sprintf( + $count = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) as count FROM %s WHERE meta_key = 'full_name' && meta_value = '%s'", $wpdb->usermeta, um_user( 'full_name' )