Support » Plugin: Perfect Brands for WooCommerce » quadlayers.com/news/feed/ returns 403

  • Resolved poletaew

    (@poletaew)


    It takes 951.2 ms and slows down loading pages. Why didn’t you disable that url if it doesn’t work?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have the same problem

    Thread Starter poletaew

    (@poletaew)

    If someone interested in, I’ve just disabled QuadLayers News widget at all.

    There are steps to do it:
    1. Open wp-content\plugins\perfect-woocommerce-brands\includes\quadlayers\widget.php
    2. Find following code:

    public function __construct() {
    			if ( is_admin() ) {
    				add_action( 'wp_network_dashboard_setup', array( $this, 'add_dashboard_widget' ), -10 );
    				add_action( 'wp_dashboard_setup', array( $this, 'add_dashboard_widget' ), -10 );
    			}
    		}
    

    3. Replace if ( is_admin() ) to if ( false && is_admin() )
    4. PROFIT!

    • This reply was modified 2 months, 3 weeks ago by poletaew.
    Plugin Author quadlayers

    (@quadlayers)

    hello @poletaew
    thanks for the shared code
    we will fix this issue on the next update
    best regards

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