Make WordPress Core

Changeset 43948


Ignore:
Timestamp:
11/29/2018 09:20:40 PM (6 years ago)
Author:
peterwilsoncc
Message:

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.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

    • Property svn:mergeinfo changed
      /trunkreverse-merged: 43601
  • branches/4.9/src/wp-includes/media-template.php

    r43602 r43948  
    429429                <a class="view-attachment" href="{{ data.link }}"><?php _e( 'View attachment page' ); ?></a>
    430430                <# if ( data.can.save ) { #> |
    431                     <a href="{{ data.editLink }}"><?php _e( 'Edit more details' ); ?></a>
     431                    <a href="post.php?post={{ data.id }}&action=edit"><?php _e( 'Edit more details' ); ?></a>
    432432                <# } #>
    433433                <# if ( ! data.uploading && data.can.remove ) { #> |
Note: See TracChangeset for help on using the changeset viewer.