Changeset 61470 for trunk/src/wp-admin/includes/file.php
- Timestamp:
- 01/11/2026 06:48:15 AM (7 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/file.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r61456 r61470 1098 1098 * or this: 1099 1099 */ 1100 $action = 'wp_handle_upload'; 1101 if ( isset( $overrides['action'] ) ) { 1102 $action = $overrides['action']; 1103 } 1104 1100 $action = $overrides['action'] ?? 'wp_handle_upload'; 1105 1101 return _wp_handle_upload( $file, $overrides, $time, $action ); 1106 1102 } … … 1129 1125 * or this: 1130 1126 */ 1131 $action = 'wp_handle_sideload'; 1132 if ( isset( $overrides['action'] ) ) { 1133 $action = $overrides['action']; 1134 } 1135 1127 $action = $overrides['action'] ?? 'wp_handle_sideload'; 1136 1128 return _wp_handle_upload( $file, $overrides, $time, $action ); 1137 1129 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)