Incorrect use of add_meta_boxes action
-
Hi,
This plugin calls the
add_meta_boxes
action in various places inclass-ai1ec-settings-helper.php
:do_action( 'add_meta_boxes', $ai1ec_settings->settings_page );
However, in the WordPress core, the action is always passed two arguments –
$post
and$post_type
. This plugin only passes one argument. The result is that is causes errors with plugins that are expecting the second argument.Please change the calls to this action so that they are consistent with how it is used in the WordPress core.
- The topic ‘Incorrect use of add_meta_boxes action’ is closed to new replies.