Changeset 22488
- Timestamp:
- 11/09/2012 04:51:25 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/media.php
r22466 r22488 1177 1177 global $wp_scripts; 1178 1178 1179 $data = $wp_scripts->get_data( 'wp-plupload', 'data' ); 1180 if ( $data && false !== strpos( $data, '_wpPluploadSettings' ) ) 1181 return; 1182 1179 1183 $max_upload_size = wp_max_upload_size(); 1180 1184 … … 1212 1216 $script = 'var _wpPluploadSettings = ' . json_encode( $settings ) . ';'; 1213 1217 1214 $data = $wp_scripts->get_data( 'wp-plupload', 'data' );1215 1218 if ( $data ) 1216 1219 $script = "$data\n$script";
Note: See TracChangeset
for help on using the changeset viewer.