Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ajay

    (@ajay)

    What is this “maintenance” plugin?

    Thread Starter great2gether

    (@great2gether)

    Plugin Author Ajay

    (@ajay)

    That’s the same issue as the other thread.

    This is the usage of add_meta_boxes by WordPress

    /**
     * Fires after all built-in meta boxes have been added.
     *
     * @since 3.0.0
     *
     * @param string  $post_type Post type.
     * @param WP_Post $post      Post object.
     */
    do_action( 'add_meta_boxes', $post_type, $post );

    However, the plugin uses just the first parameter:

    do_action('add_meta_boxes', $maintenance_variable->options_page);

    They need to pass the second parameter as well to duplicate the functionality of WordPress

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problems on "Maintenance" plugin settings page’ is closed to new replies.