Chris
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Access not hiding woocommerce product
Started by: Chris in: Toolset Professional Support |
|
2 | 3 | 2 years, 9 months ago | |
Is there a limit to the number of instances of a field that can be added?
Started by: Chris in: Toolset Professional Support |
|
2 | 2 | 2 years, 10 months ago | |
Conditionally display form field group
Started by: Chris in: Toolset Professional Support |
|
2 | 2 | 4 years, 3 months ago | |
Custom role no longer able to perform same tasks
Started by: Chris
in: Toolset Professional Support
Problem: I have a custom role that should be able to submit a Form to add or edit a child post, but the parent post options are not shown in the select field in the Form. This was working before a recent update. Solution: Check your custom code to confirm that redirects set up to block access to the back-end of the site are not applied to admin-ajax.php requests. Add some conditional logic to prevent those redirects as needed, like in the following code example: /** * Block wp-admin access for non-admins (not while doing AJAX, see https://toolset.com/forums/topic/custom-role-no-longer-able-to-perform-same-tasks/) */ function ace_block_wp_admin() { if (!current_user_can('edit_users') && ( !defined('DOING_AJAX') || !DOING_AJAX ) ) { wp_safe_redirect( '/my-account'); exit; } } add_action( 'admin_init', 'ace_block_wp_admin' ); |
|
2 | 12 | 4 years, 10 months ago |