Skip to content
Permalink
Browse files

Media: Revert [43602] from the 4.9 branch.

Reverts changes to the "Edit more details" link in the attachment details modal.

This is out of scope for 4.9.9 and will be re-introduced in 5.0.0.

Fixes #44620.


git-svn-id: https://develop.svn.wordpress.org/branches/4.9@43948 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
peterwilsoncc committed Nov 29, 2018
1 parent c0c6c7a commit 05d99073da32bf7e451b6fa093dc13565cb1a077
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/wp-includes/media-template.php
@@ -428,7 +428,7 @@ function wp_print_media_templates() {
<div class="actions">
<a class="view-attachment" href="{{ data.link }}"><?php _e( 'View attachment page' ); ?></a>
<# if ( data.can.save ) { #> |
<a href="{{ data.editLink }}"><?php _e( 'Edit more details' ); ?></a>
<a href="post.php?post={{ data.id }}&action=edit"><?php _e( 'Edit more details' ); ?></a>
<# } #>
<# if ( ! data.uploading && data.can.remove ) { #> |
<?php if ( MEDIA_TRASH ): ?>

0 comments on commit 05d9907

Please sign in to comment.
You can’t perform that action at this time.