Vladimir Garagulya
Forum Replies Created
-
Forum: Plugins
In reply to: [User Role Editor] No longer able to see author roleHi,
This is expected behavior starting from WordPress version 5.9.
Earlier versions extracted users who can be author via ‘get_users()’ function using ‘who=>authors’ argument. Finally user level not equal 0 was checked (more details).WordPress 5.9 declared ‘who’ argument as deprecated
if ( isset( $qv['who'] ) && 'authors' === $qv['who'] && $blog_id ) { _deprecated_argument( 'WP_User_Query', '5.9.0', sprintf( /* translators: 1: who, 2: capability */ __( '%1$s is deprecated. Use %2$s instead.' ), '<code>who</code>', '<code>capability</code>' ) );and proposed to use ‘capability’ argument, like it does itself building authors dropdown list:
function post_author_meta_box( $post ) { global $user_ID; $post_type_object = get_post_type_object( $post->post_type ); ?> <label class="screen-reader-text" for="post_author_override"><?php _e( 'Author' ); ?></label> <?php wp_dropdown_users( array( 'capability' => array( $post_type_object->cap->edit_posts ), 'name' => 'post_author_override', 'selected' => empty( $post->ID ) ? $user_ID : $post->post_author, 'include_selected' => true, 'show' => 'display_name_with_login', ) ); }- This reply was modified 4 years, 3 months ago by Vladimir Garagulya.
Forum: Plugins
In reply to: [User Role Editor] User Role EditorHi,
Grant to ‘editor’ role the ‘edit_theme_options’ capability. It opens access to the admin menu items under the ‘Appearance’ menu, including the ‘Widgets’ one.
Forum: Plugins
In reply to: [User Role Editor] Woocommerce conflictHi,
If under ‘can do nothing’ you mean ‘can not access wp-admin’, then add manually ‘view_admin_dashboard’ capability and grant it to user’s role.
Forum: Plugins
In reply to: [User Role Editor] Compatibility with Woodmart ThemeClarify:
1) What version of URE do you use (point free or pro also);
2) How do you disable all Woodmart menu items access.- This reply was modified 4 years, 4 months ago by Vladimir Garagulya.
Forum: Plugins
In reply to: [User Role Editor] User Role Editor and WP StatisticsRead the answer at this article
Forum: Plugins
In reply to: [User Role Editor] Update failedI suppose something special with your setup, as tens of thousands of other updates have been installed quietly.
Can you provide any details from the server system logs, what was really happened? May be you can repeat the issue with backup copy restored at the development server? I would investigate it.
Forum: Plugins
In reply to: [User Role Editor] Core post privileges also enable custom post typesThis article contains the answer.
Forum: Plugins
In reply to: [User Role Editor] PHP Fatal errorMentioned file
/wp-content/plugins/user-role-editor/includes/classes/base-lib.phpis apparently included into the installation package. It seems that plugin copy at your site was broken somehow. Try to rewrite the files at
/wp-content/plugins/user-role-editor/folder with the copy from the fresh extracted user-role-editor-4.61.zip file downloaded from here.- This reply was modified 4 years, 4 months ago by Vladimir Garagulya.
- This reply was modified 4 years, 4 months ago by Vladimir Garagulya.
Forum: Plugins
In reply to: [User Role Editor] Changelog mentions “[4.61] 28.01.2022” on 28 Dec 2021Hi @adnan770),
Previous versions are available for download at the bottom from this page.
Download selected .zip file and install it via “Plugins->Add New->Upload plugin” button. Version 4.60.2 allows PHP 5.6+.Forcing PHP 7.4 I followed official supported versions map. PHP 7.4 is left the only older version of PHP which continue receive the security updates.
Forum: Plugins
In reply to: [User Role Editor] New update forces php 7.4Previous versions are available for download at the bottom from this page.
Download selected .zip file and install it via “Plugins->Add New->Upload plugin” button. Version 4.60.2 allows PHP 5.6+.Forcing PHP 7.4 I followed official supported versions map. PHP 7.4 is left the only older version of PHP which continue receive the security updates.
- This reply was modified 4 years, 4 months ago by Vladimir Garagulya.
Forum: Plugins
In reply to: [User Role Editor] Changelog mentions “[4.61] 28.01.2022” on 28 Dec 2021Yes, that was a typo. Fixed.
Thank you.Forum: Plugins
In reply to: [User Role Editor] Gutenberg Block Access ManagementHi Sam,
Thanks a lot for the good feedback and a valuable suggestions. I will definitely use them and make available in one of the future versions at the begin of the next 2022.
Forum: Plugins
In reply to: [User Role Editor] Never use, my site is brokenYou write: “Do not use it”, but:
1) Did you test plugin at the development/stage copy just to understand if it’s compatible with your setup?
2) Did you read carefully 2 warnings about danger of usage the “Reset” function, before click it and confirm the critical action?
a) just above ‘Reset’ button:WARNING! Resetting will setup default user roles and capabilities from WordPress core.
If any plugins (such as WooCommerce, S2Member and many others) have changed user roles and capabilities during installation, those changes will be LOST!b) at the confirmation dialog window:
DANGER! Resetting will restore default user roles and capabilities from WordPress core.
If any plugins (such as WooCommerce, S2Member and many others) have changed user roles and capabilities during installation, all those changes will be LOST!Why did you wait that permissions will be come back, when it was written then you will LOST any custom changes made in user roles by plugins?
Forum: Plugins
In reply to: [User Role Editor] User Role Editor compatible with PHP 8?Hi,
I confirm, that URE is compatible with PHP 8.
It this case, why are you sure that URE erases user roles data, if you even did not make any changes using it recently?
I recommend to check the WordPress core, plugins, themes files for versions installed/modified without your permission. Sometime site may be hacked by intruder. It would be good to have the older backup for which you are sure that files are clear – to make the automatic files comparison.