Making WordPress.org


Ignore:
Timestamp:
03/13/2018 03:40:28 AM (8 years ago)
Author:
dd32
Message:

Main: About: Remove page edit links from pages which have no content to be edited.

See #3046.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-about.php

    r6849 r6868  
    2929
    3030get_header();
    31 
    3231the_post();
    3332?>
     
    152151            </div><!-- .entry-content -->
    153152
    154             <?php
    155             edit_post_link(
    156                 sprintf(
    157                     /* translators: %s: Name of current post */
    158                     esc_html__( 'Edit %s', 'wporg' ),
    159                     the_title( '<span class="screen-reader-text">"', '"</span>', false )
    160                 ),
    161                 '<footer class="entry-footer"><span class="edit-link">',
    162                 '</span></footer><!-- .entry-footer -->'
    163             );
    164             ?>
    165153        </article><!-- #post-## -->
    166154
Note: See TracChangeset for help on using the changeset viewer.