[Plugin: SlideShare] Line 114 is unnecessary and causes errors
-
Line 114 of the
slideshare.php
file, which reads
add_action('admin_menu', array('SlideShare_Admin','add_config_page'));
causes an error readingFirst argument is expected to be a valid callback, ‘SlideShare_Admin::add_config_page’ was given
This error is logical, considering the
add_config_page()
method does not exist inSlideShare_Admin
nor inYoast_Plugin_Admin
.The
Yoast_Plugin_Admin
class, line 14 actually does what the above line was intended to do.
add_action( 'admin_menu', array(&$this, 'register_settings_page') );
So I commented out line 114 inslideshare.php
and it’s no longer broken.I hope this is resolved in the next maintenance version.
Regards,
Frederick
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘[Plugin: SlideShare] Line 114 is unnecessary and causes errors’ is closed to new replies.