File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ function redirect_page($page_ID) {
160160 if ( strpos ($ sendback , 'page.php ' ) !== false || strpos ($ sendback , 'page-new.php ' ) !== false )
161161 $ sendback = admin_url ('edit-pages.php?trashed=1&ids= ' .$ post_id );
162162 else
163- $ sendback = add_query_arg ( array ('trashed ' => 1 , ids => $ post_id ), $ sendback );
163+ $ sendback = add_query_arg ( array ('trashed ' => 1 , ' ids ' => $ post_id ), $ sendback );
164164
165165 wp_redirect ($ sendback );
166166 exit ();
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ function redirect_post($post_ID = '') {
200200 if ( strpos ($ sendback , 'post.php ' ) !== false || strpos ($ sendback , 'post-new.php ' ) !== false )
201201 $ sendback = admin_url ('edit.php?trashed=1&ids= ' .$ post_id );
202202 else
203- $ sendback = add_query_arg ( array ('trashed ' => 1 , ids => $ post_id ), $ sendback );
203+ $ sendback = add_query_arg ( array ('trashed ' => 1 , ' ids ' => $ post_id ), $ sendback );
204204
205205 wp_redirect ($ sendback );
206206 exit ();
You can’t perform that action at this time.
0 commit comments