WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#19099 closed enhancement (invalid)

Update to post type messages in edit-form-advanced.php

Reported by: kevindees Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.3
Component: General Keywords:
Focuses: Cc:

Description

Now that WordPress has a number of custom post type functions it would be nice to have the custom messages formatted to the post type being used.

I have attached a quick filter to show how this can be done very simply.

I was working on this framework and realized it would be good to have it in the WordPress core.

Integration would be needed but it is simple.

https://github.com/kevindees/advanced_custom_post_types/blob/master/acpt.php

Attachments (1)

post-type-messages-en.php.zip (754 bytes) - added by kevindees 3 years ago.
Filter for messages

Download all attachments as: .zip

Change History (3)

@kevindees3 years ago

Filter for messages

comment:1 @nacin3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

#12968 and #13357. Unfortunately this is not translatable. Using placeholders ("%s published") doesn't work due to structural differences in languages. Using variables inside of __() simply doesn't work at all.

comment:2 @SergeyBiryukov3 years ago

  • Keywords has-patch removed
Note: See TracTickets for help on using tickets.