Sửa lỗi Polylang

20 Feb 2021
0 Comments

1. Sửa lỗi wp_localize_script

wp-content/plugins/polylang-pro/modules/metabox-button/metabox-button.php:147

                
                    
wp_localize_script(
   'pll_metabox_button',
   'confirm_text',
   array()
);
                
            
admin_enqueue_scripts
wp-content/plugins/polylang-pro/vendor/wpsyntex/polylang/settings/settings.php:321
                
                    
wp_localize_script( 'pll_admin', 'pll_flag_base_url', array(plugins_url( '/flags/', POLYLANG_FILE )) );
wp_localize_script( 'pll_admin', 'pll_dismiss_notice', array(esc_html__( 'Dismiss this notice.', 'polylang' )) );
                
            

Leave a Reply

This site uses cookies to offer you a better browsing experience. By browsing this website, you agree to our use of cookies.