wp_editor calls non-existent filter callback on front end in multisite mode
|Reported by:||wonderboymusic||Owned by:||westi|
When you are using wp_editor() on the front-end in Multisite mode, the editor will run code that applies upload_size_limit filter.
The default ms callback for 'upload_size_limit' is only accessible from the admin.
add_filter( 'upload_size_limit', 'upload_size_limit_filter' );
wp-includes/ms-functions.php is always loaded in multisite, so I moved the 4 necessary functions there from wp-admin/includes/ms.php
Change History (6)
- Owner set to wonderboymusic
- Status changed from new to accepted
- Owner changed from wonderboymusic to westi
- Status changed from accepted to assigned