Admin dashboard performance
-
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)
Viewing 1 replies (of 1 total)
- The topic ‘Admin dashboard performance’ is closed to new replies.