No Subscribe2 notification override displayed in edit mode
-
So,
The “Subscribe2 notification override” block is empty with the latest wordpress + s2 plugin, also there is a corresponding error message in the logs:
PHP Warning: call_user_func() expects parameter 1 to be a valid callback, class ‘S2_Admin’ does not have a method ‘s2-meta-box’ in ../wp-admin/includes/template.php on line 1050,…
IT look like the function name setup in a callback is invalid, i searched and found s2-meta-box in class-s2-admin.php and made the following modification:
line 290 of classes/class-s2-admin.php:
add_meta_box( ‘subscribe2’, __( ‘Subscribe2 Notification Override’, ‘subscribe2’ ), array( &$this, ‘s2-meta-box’ ), $s2_post_type, ‘advanced’ );to
add_meta_box( ‘subscribe2’, __( ‘Subscribe2 Notification Override’, ‘subscribe2’ ), array( &$this, ‘s2_override_meta’ ), $s2_post_type, ‘advanced’ );Which is the name of the function just following, look like it’s working
- The topic ‘No Subscribe2 notification override displayed in edit mode’ is closed to new replies.