Changeset 33734 for trunk/src/wp-admin/includes/media.php
- Timestamp:
- 08/25/2015 08:27:56 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r33670 r33734 1240 1240 1241 1241 // Merge default fields with their errors, so any key passed with the error (e.g. 'error', 'helps', 'value') will replace the default 1242 // The recursive merge is easily traversed with array casting: foreach ( (array) $things as $thing )1242 // The recursive merge is easily traversed with array casting: foreach ( (array) $things as $thing ) 1243 1243 $form_fields = array_merge_recursive($form_fields, (array) $errors); 1244 1244 … … 1628 1628 1629 1629 // Merge default fields with their errors, so any key passed with the error (e.g. 'error', 'helps', 'value') will replace the default 1630 // The recursive merge is easily traversed with array casting: foreach ( (array) $things as $thing )1630 // The recursive merge is easily traversed with array casting: foreach ( (array) $things as $thing ) 1631 1631 $form_fields = array_merge_recursive($form_fields, (array) $args['errors'] ); 1632 1632
Note: See TracChangeset
for help on using the changeset viewer.