Opened 16 years ago
Closed 16 years ago
#5923 closed defect (bug) (worksforme)
save button does not make a draft of a new page
Reported by: | link2caro | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.5 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
The Save button should not appear in the New Post page, it leads to the Edit action
Change History (15)
#2
@
16 years ago
In fact, the page-new has some problems, I cannot make a new post, when I click Save, it leads to page.php?action=edit&post=0 and it says that "You attempted to edit a page that doesn't exist. Perhaps it was deleted?"
The Publish button does not publish anything.
The Save button should not appear in the New Post page, it leads to the Edit action It is just the Save button does not make a draft of a new page.
#3
@
16 years ago
- Summary changed from New Page Posting Problem to save button does not make a draft of a new post
ENV: WP trunk r6914 (6914)
I went to Write (Post) (wp-admin/post-new.php) and in the Visual Editor entered a title and some text. Clicking Save resulted in the post being saved (wp-admin/post.php?action=edit&post=[post #].
Works for me. Can you provide steps for me to see the problem?
#4
@
16 years ago
As I mentioned, it's rather page-new which this ticket is about.
Please check page-new.php out, thank you
#5
@
16 years ago
- Summary changed from save button does not make a draft of a new post to save button does not make a draft of a new page
link2caro, sorry, you wrote post a number of times.
page-new.php also works as expected for me.
#6
@
16 years ago
Sorry, I mistyped.
ENV: WP trunk r6922, Fresh Install
I've tried a fresh install and things do not seem to work rightly.
#7
@
16 years ago
When I SAVE a page, it returns page-new.php?posted=0
PUBLISH it, it returns page-new.php?posted=0
And SAVE and PUBLISH a post, seem to refresh the post-new.php, it returns post-new.php without any arguments
#8
@
16 years ago
ENV: WP trunk r6946
I created a new database.
It still works for me. Is the resulting URL after a first save http://localhost/wp/trunk2/wp-admin/page.php?action=edit&post=3
Publish takes me back to http://localhost/wp/trunk2/wp-admin/page-new.php
You have no plugins installed? What version of PHP on what web server?
#9
@
16 years ago
PHP 5.2.5
MySQL 5.0.45
Windows 2003 R2 Web Edition
No plugin
I am going to try with the new revision.
#10
@
16 years ago
I feel the v2.5 does not work well on my server, I am using 2.3.3 and everything is fine.
ENV: r6949 - no plugin, fresh install, default configuration
Still does not work well.
#11
@
16 years ago
in page-new.php
<input type="hidden" id="_wpnonce" name="_wpnonce" value="45a1f1bea0" /> <input type="hidden" name="_wp_http_referer" value="/wordpress/wp-admin/page-new.php" /> <input type="hidden" id="user-id" name="user_ID" value="1" /> <input type="hidden" id="hiddenaction" name="action" value='post' /> <input type="hidden" id="originalaction" name="originalaction" value="post" /> <input type='hidden' id='post_ID' name='temp_ID' value='-1203556676' /> <input type="hidden" id="post_type" name="post_type" value="page" />
in post-new.php
<input type="hidden" id="_wpnonce" name="_wpnonce" value="5bdbb0a3fe" />
<input type="hidden" name="_wp_http_referer" value="/wordpress/wp-admin/post-new.php" />
<input type="hidden" id="user-id" name="user_ID" value="1" />
<input type="hidden" id="hiddenaction" name="action" value="post" />
<input type="hidden" id="originalaction" name="originalaction" value="post" />
<input type="hidden" name="post_author" value="" />
<input type="hidden" id="post_type" name="post_type" value="post" />
<input type='hidden' id='post_ID' name='temp_ID' value='-1203556737' /><script type="text/javascript">
Are the post_ID temp normal?
#12
@
16 years ago
After comparing with the v2.3.3, above codes seem normal to me.
I will make further tests with v2.5 this weekend. I really do not know why v2.3.3 works well on my server but not v2.5
Sorry, I don't understand what you mean. Can you example the issue in more detail. Provide a screenshot?