Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#24018 closed enhancement (invalid)

Display the post format in the post editing H2 text

Reported by: markjaquith's profile markjaquith Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.6
Component: Post Formats Keywords: needs-patch
Focuses: Cc:

Description

Instead of "Edit Post", we should do "Edit {format} Post".

Attachments (1)

24018.patch (13.6 KB) - added by pankajxdx 11 years ago.
This patch implements that feature, I used #23503 , added a new field to the 'post' class which stores it's format and added it to the title in 'edit' page.

Download all attachments as: .zip

Change History (11)

#2 @SergeyBiryukov
11 years ago

#24151 was marked as a duplicate.

#3 @alexvorn2
11 years ago

  • Cc alexvornoffice@… added

#4 @alexvorn2
11 years ago

  • Keywords needs-patch added

#5 @SergeyBiryukov
11 years ago

  • Keywords needs-patch removed

The patch in #23503 handles this.

#6 @SergeyBiryukov
11 years ago

  • Keywords needs-patch added

Sorry, it just introduces the labels. They still have to be added to the screen header here.

@pankajxdx
11 years ago

This patch implements that feature, I used #23503 , added a new field to the 'post' class which stores it's format and added it to the title in 'edit' page.

#7 @freddyware
11 years ago

Regarding the patch: if it touches the WordPress database schema, it's a pretty serious change (are you certain it needs to?). Also, if it touches the database schema, it needs an upgrader function that handles existing databases.

#8 @pankajxdx
11 years ago

We need to know the 'format' information for every post for displaying it while editing, which wasn't available/needed till 3.5, so I guess we will have to store that information along with each post, thus changing the database schema. Is there any other way out?

I don't have lot of idea about upgrader functions in wordpress, can you give me some reference or link to previously implemented such function.

#9 @freddyware
11 years ago

Post formats were already implemented like a taxonomy. To query or store, see get_post_format().

#10 @ocean90
11 years ago

  • Milestone 3.6 deleted
  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.