Changes between Initial Version and Version 1 of Ticket #46866, comment 22
- Timestamp:
- 10/09/2020 02:17:03 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #46866, comment 22
initial v1 11 11 `get_edit_post_link( $attachment->post_parent, 'raw' );` is actually doing capability check, returns an empty string if the user does not have the cap. Then in the template, we have the `<# if ( data.uploadedToLink ) { #>`. 12 12 13 So I think it was extra capabilit ies that are not useful anymore, we can clean the code, what do you think?13 So I think it was extra capability checks that are not useful anymore, we can clean the code, what do you think?