[wp-trac] Re: [WordPress Trac] #4206: Publish button overrides Private post status

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 30 02:31:03 GMT 2007


#4206: Publish button overrides Private post status
----------------------------+-----------------------------------------------
 Reporter:  mattyrob        |        Owner:  rob1n
     Type:  defect          |       Status:  new  
 Priority:  normal          |    Milestone:  2.3  
Component:  Administration  |      Version:  2.1.3
 Severity:  normal          |   Resolution:       
 Keywords:                  |  
----------------------------+-----------------------------------------------
Comment (by andy):

 I thought implemented a nice feature to deal with this months ago but I
 guess I dreamed it.

 "Publish" means publish no matter what the status is. When editing a
 Private post, if you click Publish IT WILL BE PUBLISHED. That's certainly
 better than saying "Publish means one thing here and another thing here."

 The real problem is that people click "Publish" when they mean "Save" and
 they wish they hadn't. My solution is similar to what we do for the Delete
 button.

 {{{
 if (
     status == 'private' &&
     !confirm('This post is set to Private. Do you want to Publish this
 post for the world to see? (If not, try Save.)')
 ) return false;
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4206#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list