Making WordPress.org

Changeset 5614


Ignore:
Timestamp:
07/03/2017 01:30:18 PM (8 years ago)
Author:
danielbachhuber
Message:

make/cli: Drop "Leave a comment" in favor of the right direction

WP-CLI examples are inline command docs so they're accessible on the web and locally.

See https://github.com/wp-cli/wp-cli/issues/4128#issuecomment-306048113

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-command.php

    r5475 r5614  
    5252
    5353    <footer class="entry-meta">
    54         <?php if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>
    55         <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'wporg' ), __( '1 Comment', 'wporg' ), __( '% Comments', 'wporg' ) ); ?></span>
    56         <?php endif; ?>
     54        <p><em>Command documentation is regenerated at every release. To add or update an example, please submit a pull request against the corresponding part of the codebase.</em></p>
    5755
    5856        <?php edit_post_link( __( 'Edit', 'wporg' ), '<span class="edit-link">', '</span>' ); ?>
Note: See TracChangeset for help on using the changeset viewer.