Ticket #32529: 32529.diff
File 32529.diff, 766 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/class-wp-editor.php
207 207 if ( $set['media_buttons'] ) { 208 208 self::$has_medialib = true; 209 209 210 if ( ! function_exists( 'media_buttons' ) ) 210 if ( ! function_exists( 'media_buttons' ) ) { 211 require_once( ABSPATH . 'wp-admin/includes/admin-filters.php' ); 212 if ( is_multisite() ) { 213 require_once( ABSPATH . 'wp-admin/includes/ms-admin-filters.php' ); 214 } 211 215 include( ABSPATH . 'wp-admin/includes/media.php' ); 212 216 } 213 217 echo '<div id="wp-' . $editor_id_attr . '-media-buttons" class="wp-media-buttons">'; 214 218 215 219 /**