]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/upload.php
WordPress 4.7-scripts
[autoinstalls/wordpress.git] / wp-admin / upload.php
index b9495ac059a256da1017e7cbbc85cbb0eb891f85..80e73b4e7dbe441e0e797a39f51054a1d5cf9b68 100644 (file)
@@ -63,8 +63,8 @@ if ( 'grid' === $mode ) {
 
        get_current_screen()->set_help_sidebar(
                '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
-               '<p>' . __( '<a href="https://codex.wordpress.org/Media_Library_Screen" target="_blank">Documentation on Media Library</a>' ) . '</p>' .
-               '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>'
+               '<p>' . __( '<a href="https://codex.wordpress.org/Media_Library_Screen">Documentation on Media Library</a>' ) . '</p>' .
+               '<p>' . __( '<a href="https://wordpress.org/support/">Support Forums</a>' ) . '</p>'
        );
 
        $title = __('Media Library');
@@ -163,6 +163,9 @@ if ( $doaction ) {
                        }
                        $location = add_query_arg( 'deleted', count( $post_ids ), $location );
                        break;
+               default:
+                       /** This action is documented in wp-admin/edit-comments.php */
+                       $location = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $location, $doaction, $post_ids );
        }
 
        wp_redirect( $location );
@@ -204,8 +207,8 @@ get_current_screen()->add_help_tab( array(
 
 get_current_screen()->set_help_sidebar(
        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
-       '<p>' . __( '<a href="https://codex.wordpress.org/Media_Library_Screen" target="_blank">Documentation on Media Library</a>' ) . '</p>' .
-       '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>'
+       '<p>' . __( '<a href="https://codex.wordpress.org/Media_Library_Screen">Documentation on Media Library</a>' ) . '</p>' .
+       '<p>' . __( '<a href="https://wordpress.org/support/">Support Forums</a>' ) . '</p>'
 );
 
 get_current_screen()->set_screen_reader_content( array(