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

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