1103 | | $title = esc_html($page->post_title); |
1104 | | $title = apply_filters( 'list_pages', $page->post_title ); |
| 1103 | $title = $page->post_title; |
| 1104 | if (is_admin() && 'publish' != $page->post_status) { |
| 1105 | if ('private' == $page->post_status ) |
| 1106 | $title .= ' -- ' . __('Private'); |
| 1107 | if ('draft' == $page->post_status ) |
| 1108 | $title .= ' -- ' . __('Draft'); |
| 1109 | if ('pending' == $page->post_status ) |
| 1110 | $title .= ' -- ' . __('Pending'); |
| 1111 | } |
| 1112 | $title = apply_filters( 'list_pages', $title ); |
| 1113 | $title = esc_html($title); |