Skip to content
Snippets Groups Projects
Commit e7b2d374 authored by Erick Hitter's avatar Erick Hitter
Browse files

Redundant

parent 9d32d271
Branches add/edit-support
No related tags found
No related merge requests found
...@@ -74,7 +74,6 @@ class Edit { ...@@ -74,7 +74,6 @@ class Edit {
} }
unset( $request_array['post_sticky'] ); unset( $request_array['post_sticky'] );
// Post status uses a special key.
if ( is_null( $request_array['post_status'] ) || 'all' === $request_array['post_status'] ) { if ( is_null( $request_array['post_status'] ) || 'all' === $request_array['post_status'] ) {
$request_array['_status'] = -1; $request_array['_status'] = -1;
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment