Skip to content
Snippets Groups Projects
Commit 48082f52 authored by Prasath Nadarajah's avatar Prasath Nadarajah
Browse files

displaying lower case post statuses

parent e79df84a
Branches
No related tags found
No related merge requests found
......@@ -98,8 +98,8 @@ class WP_RSS_Client extends SimplePie implements WP_Client{
$post_statuses = get_post_statuses();
foreach( $post_statuses as $post_status ) {
echo '<option value="' . esc_attr( $post_status ) . '"' . selected( $post_status, $selected_post_status ) . '>' . esc_html( $post_status ) . '</option>';
foreach( $post_statuses as $key => $value ) {
echo '<option value="' . esc_attr( $key ) . '"' . selected( $key, $selected_post_status ) . '>' . esc_html( $key ) . '</option>';
}
?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment