How to Fix the “Sorry, This File Type Is Not Permitted for Security Reasons” Error in WordPress
add this code in functions.php
Home » Wordpress
add this code in functions.php
If you have customized the theme folder and want to prevent WordPress from updating it then simply edit theme/style.css and update the version number to
To fix it I opened the file:wp-content/plugins/elementor/includes/widgets/button.php And changed: if ( $settings[‘link’][‘is_external’] ) { $this->add_render_attribute( ‘button’, ‘target’, ‘_blank’ ); } if ( $settings[‘link’][‘nofollow’] ) {
Open the file functions.php that is inside the theme folder that you use. Add: add_filter(‘xmlrpc_enabled’, ‘__return_false’);
I only needed this on the button element. To fix it I opened the file:wp-content/plugins/elementor/includes/widgets/button.php Change: ? 1 2 3 4 5 6 if (