Fixed uploads_directory_is_public trigger

This commit is contained in:
Claudio Sanches 2020-04-17 18:39:15 -03:00
parent 0eae470c0f
commit 67a0a68689
1 changed files with 2 additions and 0 deletions

View File

@ -93,6 +93,8 @@ class WC_Admin_Notices {
public static function reset_admin_notices() {
if ( ! self::is_ssl() ) {
self::add_notice( 'no_secure_connection' );
}
if ( ! self::is_uploads_directory_is_public() ) {
self::add_notice( 'uploads_directory_is_public' );
}
self::add_notice( 'template_files' );