WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#3235 closed defect (bug) (invalid)

New post marked as private gets published as public on submission — at Version 1

Reported by: erictrudeau Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.0.4
Component: Administration Keywords:
Focuses: Cc:

Description (last modified by markjaquith)

Name: Eric Trudeau
Username: erictrudeau
Email: frosted dark [a.t] g mail dot com
Website: http://www.erictrudeau.com

Wordpress Version: 2.0.4
Server: Owned and administered by me, Win 2003 Svr Std, IIS 6, MySQL 4 (dedicated server), PHP 5.1.6

I have verified this on my server and over at OpenSourceCMS.

Description: When creating a new post, marked as private, the post ends up being published as public. I can however go in and edit the post, mark it as private and then the setting holds.

Steps to produce:

  1. Create a new post
  2. Enter the title 'test'
  3. Enter in the body 'test'
  4. Mark the post as 'private'
  5. Publish the post
  6. Edit the post just created and note the selection of the Post Status section

This could be a severe problem depending on who you are talking to... if they are posting things that they didn't want people to read it could be a bit embarrassing.

Thanks!
Eric

Change History (1)

comment:1 markjaquith8 years ago

  • Description modified (diff)
  • Resolution set to invalid
  • Status changed from new to closed

I'm pretty sure this is intentional. The action of "Publish" is in opposition to a "Private" status. If you want to publish it, you must no longer want it to remain Private.

That'd be like me setting my personal status to "clothed" and then pressing a "strip" button. :-)

Someone reopen if this isn't correct, but I'm pretty sure.

(And thanks for including PHP and server information! Few people do that, and it's a good example to set)

Note: See TracTickets for help on using tickets.