Making WordPress.org


Ignore:
Timestamp:
03/13/2018 03:40:28 AM (6 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-stats.php

    r6867 r6868  
    5656            </div><!-- .entry-content -->
    5757
    58             <?php
    59             edit_post_link(
    60                 sprintf(
    61                     /* translators: %s: Name of current post */
    62                     esc_html__( 'Edit %s', 'wporg' ),
    63                     the_title( '<span class="screen-reader-text">"', '"</span>', false )
    64                 ),
    65                 '<footer class="entry-footer"><span class="edit-link">',
    66                 '</span></footer><!-- .entry-footer -->'
    67             );
    68             ?>
    6958        </article><!-- #post-## -->
    7059
Note: See TracChangeset for help on using the changeset viewer.