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-swag.php

    r6867 r6868  
    7070            </div><!-- .entry-content -->
    7171
    72             <?php
    73             edit_post_link(
    74                 sprintf(
    75                     /* translators: %s: Name of current post */
    76                     esc_html__( 'Edit %s', 'wporg' ),
    77                     the_title( '<span class="screen-reader-text">"', '"</span>', false )
    78                 ),
    79                 '<footer class="entry-footer"><span class="edit-link">',
    80                 '</span></footer><!-- .entry-footer -->'
    81             );
    82             ?>
    8372        </article><!-- #post-## -->
    8473
Note: See TracChangeset for help on using the changeset viewer.