WordPress.org

Make WordPress Core

Ticket #13198: twentyten-add-space-edit-link-attachment.php

File twentyten-add-space-edit-link-attachment.php, 733 bytes (added by zeo, 5 years ago)

Twenty Ten: Add space before edit-link span tag in attachment.php.

Line 
1Index: wp-content/themes/twentyten/attachment.php
2===================================================================
3--- wp-content/themes/twentyten/attachment.php  (revision 14406)
4+++ wp-content/themes/twentyten/attachment.php  (working copy)
5@@ -96,7 +96,7 @@
6 <?php elseif ( ! comments_open() && ! pings_open() ) : // Comments and trackbacks closed ?>
7                                                <?php _e( 'Both comments and trackbacks are currently closed.', 'twentyten' ); ?>
8 <?php endif; ?>
9-<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
10+<?php edit_post_link( __( 'Edit', 'twentyten' ), ' <span class="edit-link">', '</span>' ); ?>
11                                        </div><!-- .entry-utility -->
12                                </div><!-- #post-<?php the_ID(); ?> -->
13