[wp-trac] [WordPress Trac] #11207: WordPress may display incorrect message when post is saved/published/etc

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 25 19:30:35 UTC 2010


#11207: WordPress may display incorrect message when post is saved/published/etc
----------------------------+-----------------------------------------------
 Reporter:  sirzooro        |       Owner:  bsamrajni        
     Type:  defect (bug)    |      Status:  accepted         
 Priority:  normal          |   Milestone:  3.0              
Component:  Administration  |     Version:  2.9              
 Severity:  normal          |    Keywords:  reporter-feedback
----------------------------+-----------------------------------------------
Changes (by blepoxp):

  * keywords:  needs-patch => reporter-feedback


Comment:

 The Short: I just tested this on r14235 and it seems to be working well.

 The long version (Steps I took to reproduce):

 1) Installed said theme
 2) Created rule for minimum 1000 words per post
 3) Unchecked box to let admin bypass rules
 4) Created new post with less than 1000 words
 5) Hit publish

 Results were that I got the following plugin messages:
 1) Post is too short (minimum is 1000 chars, your post has 416).
 2) Post Status has been changed to Draft.

 And the following WordPress generated message: "Post draft updated.
 Preview post"

 When including more than a 1000 words, I got the default "Publish Posted"
 message from WordPress. If I then take the number of words below 1000, we
 go back to the plugin and wordpress messages mentioned above. Everything
 seems to be working.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11207#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list