1.11.0 breaks media uploader (and other metaboxes) (has fix in question)
-
Hi there,
In src/Portfolio_Slideshow/Plugin.php you set up 2 filters to methods that don’t exist in the class.
add_filter( ‘attachment_fields_to_edit’, array( $this, ‘attachment_fields_to_edit’ ), 10, 2 );
add_filter( ‘attachment_fields_to_save’, array( $this, ‘attachment_fields_to_save’ ), 10, 2 );Neither of those methods exist in the class and thus cause a warning when you have WP_DEBUG turned on (which you probably should have when developing!).
If you comment out those 2 lines, the media library functionality works again, and other metaboxes too.
I’d make a pull request but I can’t see the plugin on github?
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘1.11.0 breaks media uploader (and other metaboxes) (has fix in question)’ is closed to new replies.