Changes between Initial Version and Version 1 of Ticket #25236, comment 2
- Timestamp:
- 09/06/2013 01:01:34 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25236, comment 2
initial v1 5 5 Since 3.5, it's also called in `edit_post()` for an array that contains an `attachment_url` field instead: [source:tags/3.6/wp-admin/includes/post.php#L264]. 6 6 7 I'd suggest checking both fields, as long as we still have both scenarios in core. Although the former one is no longer used in the new media UI, there's a [https://gist.github.com/brasofilo/4570587 #file-old-upload-method-phpplugin] that re-enables the old UI.7 I'd suggest checking both fields, as long as we still have both scenarios in core. Although the former one is no longer used in the new media UI, there's a [https://gist.github.com/brasofilo/4570587 plugin] that re-enables the old UI. 8 8 9 9 We should also replace `basename()` with `wp_basename()`, as in [22367] and [24585]. See [attachment:25236.patch].