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

    r6867 r6868  
    6565            </div><!-- .entry-content -->
    6666
    67             <?php
    68             edit_post_link(
    69                 sprintf(
    70                     /* translators: %s: Name of current post */
    71                     esc_html__( 'Edit %s', 'wporg' ),
    72                     the_title( '<span class="screen-reader-text">"', '"</span>', false )
    73                 ),
    74                 '<footer class="entry-footer"><span class="edit-link">',
    75                 '</span></footer><!-- .entry-footer -->'
    76             );
    77             ?>
    7867        </article><!-- #post-## -->
    7968
Note: See TracChangeset for help on using the changeset viewer.