mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Add missing doc blocks to wp-admin/includes/*.
Fix some egregious uses of tabbing. Some functions can simply return `apply_filters(...)` instead of setting a variable that is immediately returned. See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32654 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -59,7 +59,7 @@ function redirect_post($post_id = '') {
|
||||
$message = 6;
|
||||
}
|
||||
} else {
|
||||
$message = 'draft' == $status ? 10 : 1;
|
||||
$message = 'draft' == $status ? 10 : 1;
|
||||
}
|
||||
|
||||
$location = add_query_arg( 'message', $message, get_edit_post_link( $post_id, 'url' ) );
|
||||
|
||||
Reference in New Issue
Block a user