Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter nobleclem

    (@nobleclem)

    found a quick fix that seems to do the job. The problem seems to do with when the widget is loaded. It should be loaded at the widgets_init hook not the init hook.

    edit bu-navigation.php
    change function register_hooks()
    from:

    /**
         * Attach WordPress hook callbacks
         */
        public function register_hooks() {
    
            add_action( 'plugins_loaded', array( $this, 'add_cache_groups' ) );
            add_action( 'init', array( $this, 'init' ), 1 );
    
        }

    to:

    /**
         * Attach WordPress hook callbacks
         */
        public function register_hooks() {
    
            add_action( 'plugins_loaded', array( $this, 'add_cache_groups' ) );
            add_action( 'init', array( $this, 'init' ), 1 );
            add_action( 'widgets_init', array( $this, 'load_widget' ) );
    
        }

    Plugin Author BU Web Team

    (@bostonu)

    Fixed in 1.2.7. Thank you for the report & patch.

    https://github.com/bu-ist/bu-navigation/issues/13

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Broken in 4.3’ is closed to new replies.