Support » Plugin: Splitit Installment Payments Enabler » Admin notices breaking site layout

  • The SplitIt plugin is calling the function wc_print_notices() too early, inside the wp_head hook. This is done by the function splitit_add_notice_function() inside the file splitit.php.

    Besides the fact that function should not be called within that hook, which basically is executed while the HEAD tag is still open, we wonder why you need to print the WooCommerce notices while WC will take care of that by itself. That also breaks our site style. For now, we have removed that function from that code but we want to know what is the purpose of that function because maybe it is needed for something we cannot foresee and we are breaking that functionality.

    Thanks.

  • The topic ‘Admin notices breaking site layout’ is closed to new replies.