File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ public function admin_notices()
211211 {
212212 if ( ! class_exists ('WPForms ' ) || ! defined ( 'WPFORMS_VERSION ' ) )
213213 {
214- if ( current_user_can ( 'install_plugins ' ) && current_user_can ( ' activate_plugins ' ) )
214+ if ( current_user_can ( 'activate_plugins ' ) )
215215 echo Pdf_Forms_For_WPForms::render_error_notice ( 'wpf-not-installed ' , array (
216216 'label ' => esc_html__ ( "PDF Forms Filler for WPForms Error " , 'pdf-forms-for-wpforms ' ),
217217 'message ' => esc_html__ ( "The required plugin 'WPForms' version is not installed! " , 'pdf-forms-for-wpforms ' ),
@@ -220,7 +220,7 @@ public function admin_notices()
220220 }
221221
222222 if ( ! $ this ->is_wpf_version_supported ( WPFORMS_VERSION ) )
223- if ( current_user_can ( 'update_plugins ' ) )
223+ if ( current_user_can ( 'activate_plugins ' ) )
224224 echo Pdf_Forms_For_WPForms::render_warning_notice ( 'unsupported-wpf-version- ' .WPFORMS_VERSION , array (
225225 'label ' => esc_html__ ( "PDF Forms Filler for WPForms Warning " , 'pdf-forms-for-wpforms ' ),
226226 'message ' =>
You can’t perform that action at this time.
0 commit comments