#22357 closed defect (bug) (fixed)
wp_editor calls non-existent filter callback on front end in multisite mode
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Multisite | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: |
Description
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
Attachments (1)
Change History (6)
wonderboymusic — 7 months ago
comment:1
wonderboymusic — 7 months ago
- Owner set to wonderboymusic
- Status changed from new to accepted
- Owner changed from wonderboymusic to westi
- Status changed from accepted to assigned
- Resolution set to fixed
- Status changed from assigned to closed
In 22497:
Note: See
TracTickets for help on using
tickets.

Okay.