• Resolved ILLID

    (@mihail-barinov)


    Hi,

    So I found some big problems in performance for admin pages.
    The problem is in theplus_pro_api_connection_field function. It is called for options inside ThePlus ‘Extra options’ page but in fact it is called on every page of the admin dashboard. It has a very slow query that fetches all site pages for ‘Woocomerce Thank You Page’.
    Please fix this issue so that the query is called only inside ThePlus settings page. For now I am using current code snippet to fix it:

    add_filter( 'theplus_pro_api_con_field', 'apptio_disable_theplus_filter', 1 );
    function apptio_disable_theplus_filter( $args ) {
        if ( ! isset( $_GET['page'] ) || $_GET['page'] !== 'theplus_api_connection_data' ) {
            remove_all_filters( 'theplus_pro_api_con_field' , 11 );
        }
        return $args;
    }

    But it is better if you fix the problem on your side.

Viewing 1 replies (of 1 total)
  • Plugin Author POSIMYTH

    (@posimyththemes)

    Hello @mihail-barinov

    Thanks a lot for sharing in-depth, Such detailed explanation with solution made our work so easy. We have included in our release today https://roadmap.theplusaddons.com/updates

    Hope you love our new update with other improvements too. We always looking for feedback and take immediate actions on all possible things. So, Feel free to reach us anytime for anykind of help/feedback/suggestions.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.