Changeset 31610
- Timestamp:
- 03/04/2015 07:44:22 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r31599 r31610 1678 1678 $post_states['sticky'] = __('Sticky'); 1679 1679 1680 if ( get_option( 'page_on_front' ) == $post->ID ) { 1681 $post_states['page_on_front'] = __( 'Front Page' ); 1682 } 1683 1684 if ( get_option( 'page_for_posts' ) == $post->ID ) { 1685 $post_states['page_for_posts'] = __( 'Posts Page' ); 1686 } 1687 1680 1688 /** 1681 * Filter the default post display states used in the Posts list table.1689 * Filter the default post display states used in the posts list table. 1682 1690 * 1683 1691 * @since 2.8.0 1684 1692 * 1685 * @param array $post_states An array of post display states. Values include 'Password protected', 1686 * 'Private', 'Draft', 'Pending', and 'Sticky'. 1693 * @param array $post_states An array of post display states. 1687 1694 * @param int $post The post ID. 1688 1695 */
Note: See TracChangeset
for help on using the changeset viewer.