diff --git a/wp-user-profiles/includes/capabilities.php b/wp-user-profiles/includes/capabilities.php index 80b3077..f84573d 100644 --- a/wp-user-profiles/includes/capabilities.php +++ b/wp-user-profiles/includes/capabilities.php @@ -182,7 +182,7 @@ function wp_user_profiles_user_supports( $thing = '', $user_id = 0 ) { } // Filter & return - return apply_filters( '', $retval, $thing, $user_id ); + return apply_filters( 'wp_user_profiles_user_supports', $retval, $thing, $user_id ); } /** diff --git a/wp-user-profiles/includes/metaboxes/options-contact.php b/wp-user-profiles/includes/metaboxes/options-contact.php index 50cdd95..94bfbc3 100644 --- a/wp-user-profiles/includes/metaboxes/options-contact.php +++ b/wp-user-profiles/includes/metaboxes/options-contact.php @@ -28,7 +28,9 @@ function wp_user_profiles_contact_metabox( $user = null ) { foreach ( $methods as $name => $desc ) : - ?> + $row_class = "user-{$name}-wrap"; + + ?> - + syntax_highlighting = isset( $_POST['syntax_highlighting'] ) + ? 'false' + : 'true'; + // Admin bar front $user->show_admin_bar_front = isset( $_POST['admin_bar_front'] ) ? 'true'