#39545 closed enhancement (fixed)
add a filter to allow the date status to be modified in post columns
Reported by: | pbearne | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 4.8 | Priority: | normal |
Severity: | normal | Version: | 4.8 |
Component: | Posts, Post Types | Keywords: | has-patch commit |
Focuses: | Cc: |
Attachments (2)
Change History (6)
#2
@
8 years ago
- Keywords commit added; dev-feedback removed
- Milestone changed from Awaiting Review to 4.8
39545.patch makes the filter more consistent with post_date_column_time
.
A single post_date_column_status
filter seems more handy here, as it allows for removing "Published" status text for all post types in one function, and also allows for differentiating per post type by checking the $post
argument.
If we also want to add a dynamic $post->post_type
-based filter here, let's do the same for post_date_column_time
, but I don't see an immediate need in that.
(I also don't think there's a need for escaping here. Translations in core are inherently trusted, and the output of post_date_column_time
filter is not escaped either.)
#3
@
8 years ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
In 40361:
This ticket was mentioned in Slack in #core by pbiron. View the logs.
7 years ago
Note: See
TracTickets for help on using
tickets.
patch