WordPress.org

Make WordPress Core

#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)

24018.patch (13.6 KB) - added by pankajxdx 14 months 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)

comment:2 SergeyBiryukov15 months ago

#24151 was marked as a duplicate.

comment:3 alexvorn215 months ago

  • Cc alexvornoffice@… added

comment:4 alexvorn215 months ago

  • Keywords needs-patch added

comment:5 SergeyBiryukov15 months ago

  • Keywords needs-patch removed

The patch in #23503 handles this.

comment:6 SergeyBiryukov15 months ago

  • Keywords needs-patch added

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

pankajxdx14 months 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.

comment:7 freddyware14 months 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.

comment:8 pankajxdx14 months 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.

comment:9 freddyware14 months ago

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

comment:10 ocean9013 months ago

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