', checked( $wpua_tinymce, true, false ), __( 'Add avatar button to Visual Editor', 'one-user-avatar' ) ); $wpua_settings['upload'] = sprintf( '
', checked( $wpua_allow_upload, true, false ), __( 'Allow Contributors & Subscribers to upload avatars', 'one-user-avatar' ) ); $wpua_settings['gravatar'] = sprintf( '
', checked( $wpua_disable_gravatar, true, false ), __( 'Disable Gravatar and use only local avatars', 'one-user-avatar' ) ); if ( function_exists( 'um_get_avatar' ) ) { $wpua_settings['disable_um_avatars'] = sprintf( '
', checked( $wpua_disable_um_avatars, true, false ), __( 'Replace the custom avatars functionality in the Ultimate Member plugin', 'one-user-avatar' ) ); } $wpua_settings['force_file_uploader'] = sprintf( '

%s

', checked( $wpua_force_file_uploader, true, false ), __( 'Always use the browser file uploader to upload avatars', 'one-user-avatar' ), __( 'Check this if another plugin is conflicting with the WordPress Media Uploader.', 'one-user-avatar' ) ); /** * Filter main settings * @since 1.9 * @param array $wpua_settings */ $wpua_settings = apply_filters( 'wpua_settings', $wpua_settings ); echo implode( '', $wpua_settings ); ?>
style="display: none;">

style="display: none;">
/>
style="display: none;">
__( 'G — Suitable for all audiences', 'one-user-avatar' ), 'PG' => __( 'PG — Possibly offensive, usually for audiences 13 and above', 'one-user-avatar' ), 'R' => __( 'R — Intended for adult audiences above 17', 'one-user-avatar' ), 'X' => __( 'X — Even more mature than above', 'one-user-avatar' ), ); foreach ( $ratings as $key => $rating ) : ?>

wpua_add_default_avatar(), array_merge( wp_kses_allowed_html( 'post' ), array( 'input' => array( 'type' => true, 'name' => true, 'id' => true, 'class' => true, 'value' => true, ), ) ) ); ?>