adarter
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] Error LogDeactivating and reactivating I get this message:
The plugin generated 468 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.1st instance (users.php)
https://i.snipboard.io/UO1lzB.jpgSolution:
Add the following filters to hide Wordfence 2FA from the users table. It would be wise to check if the plugin is active using ‘is_plugin_active’ before running these filters.<?php add_filter( 'views_users', function ( $views ) { unset( $views['wfls-active'] ); unset( $views['wfls-inactive'] ); return $views; }, 999 ); add_filter( 'manage_users_columns', function( $columns = array() ){ unset( $columns['wfls_2fa_status'] ); return $columns; }, 999 ); add_filter( 'user_row_actions', function ( $actions ) { unset( $actions['wf2fa'] ); return $actions; }, 999 );
2nd instance (user-new.php)
https://i.snipboard.io/1LfnlT.jpgSolution:
use admin_enqueue_scripts hook to register a script filejQuery('#createuser #role').off('change');
3rd instance (profile.php and user-edit.php)
https://i.snipboard.io/o5u0z1.jpgSolution:
use admin_enqueue_scripts hook to register a script filejQuery("#your-profile table:contains('Wordfence')").remove();
I currently have to do something like this
// stop wordfence onChange event. // removes "Application passwords have been disabled by Wordfence" when the user changes the role select. jQuery('#createuser #role').off('change');
// removes the table if it contins the string 'Wordfence' // removes 2FA Grace Period checkbox table row jQuery("#your-profile table:contains('Wordfence')").remove();
and it seems unreliable.
Forum: Plugins
In reply to: [Crowdsignal Forms] Shortcodes?Is there any way to embed the latest poll? I do not want to have to copy and paste the code onto a page every time we create a new poll.
Forum: Plugins
In reply to: [Crowdsignal Forms] Shortcodes?Found this link but cannot get the shortcode to work with DIVI.
Found this to be very helpful:
Verify a new domain for your apphttps://docs.microsoft.com/en-us/azure/active-directory/develop/howto-configure-publisher-domain
Forum: Plugins
In reply to: [RestroPress - Online Food Ordering System] Duplicate Food ItemsAdmin settings are default
Forum: Plugins
In reply to: [RestroPress - Online Food Ordering System] Duplicate Food Items