Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#1813 closed defect (bug) (fixed)

"Publish" button shows up for posts that have already been published

Reported by: markjaquith's profile markjaquith Owned by: markjaquith's profile markjaquith
Milestone: Priority: high
Severity: normal Version: 1.6
Component: Administration Keywords: bg|has-patch bg|commit
Focuses: Cc:

Description

Looks like $post_status got discontinued along the way, so the "Publish" button is showing up all the time, which is annoying. Patch changes $post_status to $post->post_status.

Has been tested, and works as it should.

Attachments (1)

edit-form-advanced.php.diff (647 bytes) - added by markjaquith 19 years ago.
Patch for WP 1.6 SVN

Download all attachments as: .zip

Change History (5)

@markjaquith
19 years ago

Patch for WP 1.6 SVN

#1 @markjaquith
19 years ago

  • Owner changed from anonymous to markjaquith
  • Status changed from new to assigned

#2 @error
19 years ago

Looks good.

#3 @ryan
19 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [2981]) Don't show publish button when post is already published. Props: Mark Jaquith fixes #1813

#4 @(none)
18 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.