- Timestamp:
- 01/16/2015 10:50:20 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r31181 r31220 316 316 } else { 317 317 ?> 318 <a href="<?php echo get_edit_post_link( $post->ID , true); ?>" title="<?php echo esc_attr( sprintf( __( 'Edit “%s”' ), $att_title ) ); ?>">318 <a href="<?php echo get_edit_post_link( $post->ID ); ?>" title="<?php echo esc_attr( sprintf( __( 'Edit “%s”' ), $att_title ) ); ?>"> 319 319 <?php echo $thumb; ?> 320 320 </a> … … 333 333 echo $att_title; 334 334 } else { ?> 335 <a href="<?php echo get_edit_post_link( $post->ID , true); ?>"335 <a href="<?php echo get_edit_post_link( $post->ID ); ?>" 336 336 title="<?php echo esc_attr( sprintf( __( 'Edit “%s”' ), $att_title ) ); ?>"> 337 337 <?php echo $att_title; ?></a> … … 502 502 if ( $this->detached ) { 503 503 if ( current_user_can( 'edit_post', $post->ID ) ) 504 $actions['edit'] = '<a href="' . get_edit_post_link( $post->ID , true) . '">' . __( 'Edit' ) . '</a>';504 $actions['edit'] = '<a href="' . get_edit_post_link( $post->ID ) . '">' . __( 'Edit' ) . '</a>'; 505 505 if ( current_user_can( 'delete_post', $post->ID ) ) 506 506 if ( EMPTY_TRASH_DAYS && MEDIA_TRASH ) { … … 516 516 else { 517 517 if ( current_user_can( 'edit_post', $post->ID ) && !$this->is_trash ) 518 $actions['edit'] = '<a href="' . get_edit_post_link( $post->ID , true) . '">' . __( 'Edit' ) . '</a>';518 $actions['edit'] = '<a href="' . get_edit_post_link( $post->ID ) . '">' . __( 'Edit' ) . '</a>'; 519 519 if ( current_user_can( 'delete_post', $post->ID ) ) { 520 520 if ( $this->is_trash )
Note: See TracChangeset
for help on using the changeset viewer.