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 | 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)
Change History (11)
#6
@
11 years ago
- Keywords needs-patch added
Sorry, it just introduces the labels. They still have to be added to the screen header here.
@
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
@
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
@
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
@
11 years ago
Post formats were already implemented like a taxonomy. To query or store, see get_post_format().
Related: #23503