Support » Fixing WordPress » Remove ‘Keep this post private’

Viewing 5 replies - 1 through 5 (of 5 total)
  • no, doing that will not cause any problem. (except the fact that you will of course not be able to use it anymore.
    You will have to edit the file called edit-form-advanced.php in your wp-admin folder.

    and comment these lines :

    <?php if ( current_user_can( 'publish_posts' ) ) : ?>
    <p id="private-checkbox"><label for="post_status_private" class="selectit"><input id="post_status_private" name="post_status" type="checkbox" value="private" <?php checked($post->post_status, 'private'); ?> tabindex="4" /> <?php _e('Keep this post private') ?></label></p>
    <?php endif; ?>

    Thread Starter gulliver

    (@gulliver)

    Excellent. Thanks.

    Being stupid myself, I’m aiming for a very simple install with restricted features that’ll enable users to register and post without getting too confused. (Many won’t be familiar with WP, and so keep-it-simple is essential.)

    gulliver, if you can wait a couple of weeks, WordPress 2.7 has a “Show on screen” selection in admin pages. So, you will be able to remove Privacy Options from sight without touching any code (and without having to re-edit the PHP file in future upgrades).

    Finally …
    I always edited any new installation before using it, to restrict options from people..
    And note that I have about 15 websites with different needs !!
    I even wrote a plugin to myself for doing that , but never actually finished it 🙂
    Good to know it’s coming.

    Thread Starter gulliver

    (@gulliver)

    >if you can wait a couple of weeks, WordPress 2.7 has a “Show on screen”

    Again, ‘excellent, thanks’. I’ll wait.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove ‘Keep this post private’’ is closed to new replies.