Edit File by line
/home/barbar84/www/wp-admin
File: upload.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Media Library administration panel.
[2] Fix | Delete
*
[3] Fix | Delete
* @package WordPress
[4] Fix | Delete
* @subpackage Administration
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
/** WordPress Administration Bootstrap */
[8] Fix | Delete
require_once __DIR__ . '/admin.php';
[9] Fix | Delete
[10] Fix | Delete
if ( ! current_user_can( 'upload_files' ) ) {
[11] Fix | Delete
wp_die( __( 'Sorry, you are not allowed to upload files.' ) );
[12] Fix | Delete
}
[13] Fix | Delete
[14] Fix | Delete
$mode = get_user_option( 'media_library_mode', get_current_user_id() ) ? get_user_option( 'media_library_mode', get_current_user_id() ) : 'grid';
[15] Fix | Delete
$modes = array( 'grid', 'list' );
[16] Fix | Delete
[17] Fix | Delete
if ( isset( $_GET['mode'] ) && in_array( $_GET['mode'], $modes, true ) ) {
[18] Fix | Delete
$mode = $_GET['mode'];
[19] Fix | Delete
update_user_option( get_current_user_id(), 'media_library_mode', $mode );
[20] Fix | Delete
}
[21] Fix | Delete
[22] Fix | Delete
if ( 'grid' === $mode ) {
[23] Fix | Delete
wp_enqueue_media();
[24] Fix | Delete
wp_enqueue_script( 'media-grid' );
[25] Fix | Delete
wp_enqueue_script( 'media' );
[26] Fix | Delete
[27] Fix | Delete
remove_action( 'admin_head', 'wp_admin_canonical_url' );
[28] Fix | Delete
[29] Fix | Delete
$q = $_GET;
[30] Fix | Delete
// Let JS handle this.
[31] Fix | Delete
unset( $q['s'] );
[32] Fix | Delete
$vars = wp_edit_attachments_query_vars( $q );
[33] Fix | Delete
$ignore = array( 'mode', 'post_type', 'post_status', 'posts_per_page' );
[34] Fix | Delete
foreach ( $vars as $key => $value ) {
[35] Fix | Delete
if ( ! $value || in_array( $key, $ignore, true ) ) {
[36] Fix | Delete
unset( $vars[ $key ] );
[37] Fix | Delete
}
[38] Fix | Delete
}
[39] Fix | Delete
[40] Fix | Delete
wp_localize_script(
[41] Fix | Delete
'media-grid',
[42] Fix | Delete
'_wpMediaGridSettings',
[43] Fix | Delete
array(
[44] Fix | Delete
'adminUrl' => parse_url( self_admin_url(), PHP_URL_PATH ),
[45] Fix | Delete
'queryVars' => (object) $vars,
[46] Fix | Delete
)
[47] Fix | Delete
);
[48] Fix | Delete
[49] Fix | Delete
get_current_screen()->add_help_tab(
[50] Fix | Delete
array(
[51] Fix | Delete
'id' => 'overview',
[52] Fix | Delete
'title' => __( 'Overview' ),
[53] Fix | Delete
'content' =>
[54] Fix | Delete
'<p>' . __( 'All the files you&#8217;ve uploaded are listed in the Media Library, with the most recent uploads listed first.' ) . '</p>' .
[55] Fix | Delete
'<p>' . __( 'You can view your media in a simple visual grid or a list with columns. Switch between these views using the icons to the left above the media.' ) . '</p>' .
[56] Fix | Delete
'<p>' . __( 'To delete media items, click the Bulk Select button at the top of the screen. Select any items you wish to delete, then click the Delete Selected button. Clicking the Cancel Selection button takes you back to viewing your media.' ) . '</p>',
[57] Fix | Delete
)
[58] Fix | Delete
);
[59] Fix | Delete
[60] Fix | Delete
get_current_screen()->add_help_tab(
[61] Fix | Delete
array(
[62] Fix | Delete
'id' => 'attachment-details',
[63] Fix | Delete
'title' => __( 'Attachment Details' ),
[64] Fix | Delete
'content' =>
[65] Fix | Delete
'<p>' . __( 'Clicking an item will display an Attachment Details dialog, which allows you to preview media and make quick edits. Any changes you make to the attachment details will be automatically saved.' ) . '</p>' .
[66] Fix | Delete
'<p>' . __( 'Use the arrow buttons at the top of the dialog, or the left and right arrow keys on your keyboard, to navigate between media items quickly.' ) . '</p>' .
[67] Fix | Delete
'<p>' . __( 'You can also delete individual items and access the extended edit screen from the details dialog.' ) . '</p>',
[68] Fix | Delete
)
[69] Fix | Delete
);
[70] Fix | Delete
[71] Fix | Delete
get_current_screen()->set_help_sidebar(
[72] Fix | Delete
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
[73] Fix | Delete
'<p>' . __( '<a href="https://wordpress.org/support/article/media-library-screen/">Documentation on Media Library</a>' ) . '</p>' .
[74] Fix | Delete
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
[75] Fix | Delete
);
[76] Fix | Delete
[77] Fix | Delete
$title = __( 'Media Library' );
[78] Fix | Delete
$parent_file = 'upload.php';
[79] Fix | Delete
[80] Fix | Delete
require_once ABSPATH . 'wp-admin/admin-header.php';
[81] Fix | Delete
?>
[82] Fix | Delete
<div class="wrap" id="wp-media-grid" data-search="<?php _admin_search_query(); ?>">
[83] Fix | Delete
<h1 class="wp-heading-inline"><?php echo esc_html( $title ); ?></h1>
[84] Fix | Delete
[85] Fix | Delete
<?php
[86] Fix | Delete
if ( current_user_can( 'upload_files' ) ) {
[87] Fix | Delete
?>
[88] Fix | Delete
<a href="<?php echo admin_url( 'media-new.php' ); ?>" class="page-title-action aria-button-if-js"><?php echo esc_html_x( 'Add New', 'file' ); ?></a>
[89] Fix | Delete
<?php
[90] Fix | Delete
}
[91] Fix | Delete
?>
[92] Fix | Delete
[93] Fix | Delete
<hr class="wp-header-end">
[94] Fix | Delete
[95] Fix | Delete
<div class="error hide-if-js">
[96] Fix | Delete
<p>
[97] Fix | Delete
<?php
[98] Fix | Delete
printf(
[99] Fix | Delete
/* translators: %s: List view URL. */
[100] Fix | Delete
__( 'The grid view for the Media Library requires JavaScript. <a href="%s">Switch to the list view</a>.' ),
[101] Fix | Delete
'upload.php?mode=list'
[102] Fix | Delete
);
[103] Fix | Delete
?>
[104] Fix | Delete
</p>
[105] Fix | Delete
</div>
[106] Fix | Delete
</div>
[107] Fix | Delete
<?php
[108] Fix | Delete
require_once ABSPATH . 'wp-admin/admin-footer.php';
[109] Fix | Delete
exit;
[110] Fix | Delete
}
[111] Fix | Delete
[112] Fix | Delete
$wp_list_table = _get_list_table( 'WP_Media_List_Table' );
[113] Fix | Delete
$pagenum = $wp_list_table->get_pagenum();
[114] Fix | Delete
[115] Fix | Delete
// Handle bulk actions.
[116] Fix | Delete
$doaction = $wp_list_table->current_action();
[117] Fix | Delete
[118] Fix | Delete
if ( $doaction ) {
[119] Fix | Delete
check_admin_referer( 'bulk-media' );
[120] Fix | Delete
[121] Fix | Delete
if ( 'delete_all' === $doaction ) {
[122] Fix | Delete
$post_ids = $wpdb->get_col( "SELECT ID FROM $wpdb->posts WHERE post_type='attachment' AND post_status = 'trash'" );
[123] Fix | Delete
$doaction = 'delete';
[124] Fix | Delete
} elseif ( isset( $_REQUEST['media'] ) ) {
[125] Fix | Delete
$post_ids = $_REQUEST['media'];
[126] Fix | Delete
} elseif ( isset( $_REQUEST['ids'] ) ) {
[127] Fix | Delete
$post_ids = explode( ',', $_REQUEST['ids'] );
[128] Fix | Delete
}
[129] Fix | Delete
[130] Fix | Delete
$location = 'upload.php';
[131] Fix | Delete
$referer = wp_get_referer();
[132] Fix | Delete
if ( $referer ) {
[133] Fix | Delete
if ( false !== strpos( $referer, 'upload.php' ) ) {
[134] Fix | Delete
$location = remove_query_arg( array( 'trashed', 'untrashed', 'deleted', 'message', 'ids', 'posted' ), $referer );
[135] Fix | Delete
}
[136] Fix | Delete
}
[137] Fix | Delete
[138] Fix | Delete
switch ( $doaction ) {
[139] Fix | Delete
case 'detach':
[140] Fix | Delete
wp_media_attach_action( $_REQUEST['parent_post_id'], 'detach' );
[141] Fix | Delete
break;
[142] Fix | Delete
[143] Fix | Delete
case 'attach':
[144] Fix | Delete
wp_media_attach_action( $_REQUEST['found_post_id'] );
[145] Fix | Delete
break;
[146] Fix | Delete
[147] Fix | Delete
case 'trash':
[148] Fix | Delete
if ( ! isset( $post_ids ) ) {
[149] Fix | Delete
break;
[150] Fix | Delete
}
[151] Fix | Delete
foreach ( (array) $post_ids as $post_id ) {
[152] Fix | Delete
if ( ! current_user_can( 'delete_post', $post_id ) ) {
[153] Fix | Delete
wp_die( __( 'Sorry, you are not allowed to move this item to the Trash.' ) );
[154] Fix | Delete
}
[155] Fix | Delete
[156] Fix | Delete
if ( ! wp_trash_post( $post_id ) ) {
[157] Fix | Delete
wp_die( __( 'Error in moving the item to Trash.' ) );
[158] Fix | Delete
}
[159] Fix | Delete
}
[160] Fix | Delete
$location = add_query_arg(
[161] Fix | Delete
array(
[162] Fix | Delete
'trashed' => count( $post_ids ),
[163] Fix | Delete
'ids' => implode( ',', $post_ids ),
[164] Fix | Delete
),
[165] Fix | Delete
$location
[166] Fix | Delete
);
[167] Fix | Delete
break;
[168] Fix | Delete
case 'untrash':
[169] Fix | Delete
if ( ! isset( $post_ids ) ) {
[170] Fix | Delete
break;
[171] Fix | Delete
}
[172] Fix | Delete
foreach ( (array) $post_ids as $post_id ) {
[173] Fix | Delete
if ( ! current_user_can( 'delete_post', $post_id ) ) {
[174] Fix | Delete
wp_die( __( 'Sorry, you are not allowed to restore this item from the Trash.' ) );
[175] Fix | Delete
}
[176] Fix | Delete
[177] Fix | Delete
if ( ! wp_untrash_post( $post_id ) ) {
[178] Fix | Delete
wp_die( __( 'Error in restoring the item from Trash.' ) );
[179] Fix | Delete
}
[180] Fix | Delete
}
[181] Fix | Delete
$location = add_query_arg( 'untrashed', count( $post_ids ), $location );
[182] Fix | Delete
break;
[183] Fix | Delete
case 'delete':
[184] Fix | Delete
if ( ! isset( $post_ids ) ) {
[185] Fix | Delete
break;
[186] Fix | Delete
}
[187] Fix | Delete
foreach ( (array) $post_ids as $post_id_del ) {
[188] Fix | Delete
if ( ! current_user_can( 'delete_post', $post_id_del ) ) {
[189] Fix | Delete
wp_die( __( 'Sorry, you are not allowed to delete this item.' ) );
[190] Fix | Delete
}
[191] Fix | Delete
[192] Fix | Delete
if ( ! wp_delete_attachment( $post_id_del ) ) {
[193] Fix | Delete
wp_die( __( 'Error in deleting the attachment.' ) );
[194] Fix | Delete
}
[195] Fix | Delete
}
[196] Fix | Delete
$location = add_query_arg( 'deleted', count( $post_ids ), $location );
[197] Fix | Delete
break;
[198] Fix | Delete
default:
[199] Fix | Delete
$screen = get_current_screen()->id;
[200] Fix | Delete
[201] Fix | Delete
/** This action is documented in wp-admin/edit.php */
[202] Fix | Delete
$location = apply_filters( "handle_bulk_actions-{$screen}", $location, $doaction, $post_ids ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
[203] Fix | Delete
}
[204] Fix | Delete
[205] Fix | Delete
wp_redirect( $location );
[206] Fix | Delete
exit;
[207] Fix | Delete
} elseif ( ! empty( $_GET['_wp_http_referer'] ) ) {
[208] Fix | Delete
wp_redirect( remove_query_arg( array( '_wp_http_referer', '_wpnonce' ), wp_unslash( $_SERVER['REQUEST_URI'] ) ) );
[209] Fix | Delete
exit;
[210] Fix | Delete
}
[211] Fix | Delete
[212] Fix | Delete
$wp_list_table->prepare_items();
[213] Fix | Delete
[214] Fix | Delete
$title = __( 'Media Library' );
[215] Fix | Delete
$parent_file = 'upload.php';
[216] Fix | Delete
[217] Fix | Delete
wp_enqueue_script( 'media' );
[218] Fix | Delete
[219] Fix | Delete
add_screen_option( 'per_page' );
[220] Fix | Delete
[221] Fix | Delete
get_current_screen()->add_help_tab(
[222] Fix | Delete
array(
[223] Fix | Delete
'id' => 'overview',
[224] Fix | Delete
'title' => __( 'Overview' ),
[225] Fix | Delete
'content' =>
[226] Fix | Delete
'<p>' . __( 'All the files you&#8217;ve uploaded are listed in the Media Library, with the most recent uploads listed first. You can use the Screen Options tab to customize the display of this screen.' ) . '</p>' .
[227] Fix | Delete
'<p>' . __( 'You can narrow the list by file type/status or by date using the dropdown menus above the media table.' ) . '</p>' .
[228] Fix | Delete
'<p>' . __( 'You can view your media in a simple visual grid or a list with columns. Switch between these views using the icons to the left above the media.' ) . '</p>',
[229] Fix | Delete
)
[230] Fix | Delete
);
[231] Fix | Delete
get_current_screen()->add_help_tab(
[232] Fix | Delete
array(
[233] Fix | Delete
'id' => 'actions-links',
[234] Fix | Delete
'title' => __( 'Available Actions' ),
[235] Fix | Delete
'content' =>
[236] Fix | Delete
'<p>' . __( 'Hovering over a row reveals action links: Edit, Delete Permanently, and View. Clicking Edit or on the media file&#8217;s name displays a simple screen to edit that individual file&#8217;s metadata. Clicking Delete Permanently will delete the file from the media library (as well as from any posts to which it is currently attached). View will take you to the display page for that file.' ) . '</p>',
[237] Fix | Delete
)
[238] Fix | Delete
);
[239] Fix | Delete
get_current_screen()->add_help_tab(
[240] Fix | Delete
array(
[241] Fix | Delete
'id' => 'attaching-files',
[242] Fix | Delete
'title' => __( 'Attaching Files' ),
[243] Fix | Delete
'content' =>
[244] Fix | Delete
'<p>' . __( 'If a media file has not been attached to any content, you will see that in the Uploaded To column, and can click on Attach to launch a small popup that will allow you to search for existing content and attach the file.' ) . '</p>',
[245] Fix | Delete
)
[246] Fix | Delete
);
[247] Fix | Delete
[248] Fix | Delete
get_current_screen()->set_help_sidebar(
[249] Fix | Delete
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
[250] Fix | Delete
'<p>' . __( '<a href="https://wordpress.org/support/article/media-library-screen/">Documentation on Media Library</a>' ) . '</p>' .
[251] Fix | Delete
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
[252] Fix | Delete
);
[253] Fix | Delete
[254] Fix | Delete
get_current_screen()->set_screen_reader_content(
[255] Fix | Delete
array(
[256] Fix | Delete
'heading_views' => __( 'Filter media items list' ),
[257] Fix | Delete
'heading_pagination' => __( 'Media items list navigation' ),
[258] Fix | Delete
'heading_list' => __( 'Media items list' ),
[259] Fix | Delete
)
[260] Fix | Delete
);
[261] Fix | Delete
[262] Fix | Delete
require_once ABSPATH . 'wp-admin/admin-header.php';
[263] Fix | Delete
?>
[264] Fix | Delete
[265] Fix | Delete
<div class="wrap">
[266] Fix | Delete
<h1 class="wp-heading-inline"><?php echo esc_html( $title ); ?></h1>
[267] Fix | Delete
[268] Fix | Delete
<?php
[269] Fix | Delete
if ( current_user_can( 'upload_files' ) ) {
[270] Fix | Delete
?>
[271] Fix | Delete
<a href="<?php echo admin_url( 'media-new.php' ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'file' ); ?></a>
[272] Fix | Delete
<?php
[273] Fix | Delete
}
[274] Fix | Delete
[275] Fix | Delete
if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
[276] Fix | Delete
echo '<span class="subtitle">';
[277] Fix | Delete
printf(
[278] Fix | Delete
/* translators: %s: Search query. */
[279] Fix | Delete
__( 'Search results for: %s' ),
[280] Fix | Delete
'<strong>' . get_search_query() . '</strong>'
[281] Fix | Delete
);
[282] Fix | Delete
echo '</span>';
[283] Fix | Delete
}
[284] Fix | Delete
?>
[285] Fix | Delete
[286] Fix | Delete
<hr class="wp-header-end">
[287] Fix | Delete
[288] Fix | Delete
<?php
[289] Fix | Delete
$message = '';
[290] Fix | Delete
if ( ! empty( $_GET['posted'] ) ) {
[291] Fix | Delete
$message = __( 'Media file updated.' );
[292] Fix | Delete
$_SERVER['REQUEST_URI'] = remove_query_arg( array( 'posted' ), $_SERVER['REQUEST_URI'] );
[293] Fix | Delete
}
[294] Fix | Delete
[295] Fix | Delete
if ( ! empty( $_GET['attached'] ) && absint( $_GET['attached'] ) ) {
[296] Fix | Delete
$attached = absint( $_GET['attached'] );
[297] Fix | Delete
if ( 1 == $attached ) {
[298] Fix | Delete
$message = __( 'Media file attached.' );
[299] Fix | Delete
} else {
[300] Fix | Delete
/* translators: %s: Number of media files. */
[301] Fix | Delete
$message = _n( '%s media file attached.', '%s media files attached.', $attached );
[302] Fix | Delete
}
[303] Fix | Delete
$message = sprintf( $message, number_format_i18n( $attached ) );
[304] Fix | Delete
$_SERVER['REQUEST_URI'] = remove_query_arg( array( 'detach', 'attached' ), $_SERVER['REQUEST_URI'] );
[305] Fix | Delete
}
[306] Fix | Delete
[307] Fix | Delete
if ( ! empty( $_GET['detach'] ) && absint( $_GET['detach'] ) ) {
[308] Fix | Delete
$detached = absint( $_GET['detach'] );
[309] Fix | Delete
if ( 1 == $detached ) {
[310] Fix | Delete
$message = __( 'Media file detached.' );
[311] Fix | Delete
} else {
[312] Fix | Delete
/* translators: %s: Number of media files. */
[313] Fix | Delete
$message = _n( '%s media file detached.', '%s media files detached.', $detached );
[314] Fix | Delete
}
[315] Fix | Delete
$message = sprintf( $message, number_format_i18n( $detached ) );
[316] Fix | Delete
$_SERVER['REQUEST_URI'] = remove_query_arg( array( 'detach', 'attached' ), $_SERVER['REQUEST_URI'] );
[317] Fix | Delete
}
[318] Fix | Delete
[319] Fix | Delete
if ( ! empty( $_GET['deleted'] ) && absint( $_GET['deleted'] ) ) {
[320] Fix | Delete
$deleted = absint( $_GET['deleted'] );
[321] Fix | Delete
if ( 1 == $deleted ) {
[322] Fix | Delete
$message = __( 'Media file permanently deleted.' );
[323] Fix | Delete
} else {
[324] Fix | Delete
/* translators: %s: Number of media files. */
[325] Fix | Delete
$message = _n( '%s media file permanently deleted.', '%s media files permanently deleted.', $deleted );
[326] Fix | Delete
}
[327] Fix | Delete
$message = sprintf( $message, number_format_i18n( $deleted ) );
[328] Fix | Delete
$_SERVER['REQUEST_URI'] = remove_query_arg( array( 'deleted' ), $_SERVER['REQUEST_URI'] );
[329] Fix | Delete
}
[330] Fix | Delete
[331] Fix | Delete
if ( ! empty( $_GET['trashed'] ) && absint( $_GET['trashed'] ) ) {
[332] Fix | Delete
$trashed = absint( $_GET['trashed'] );
[333] Fix | Delete
if ( 1 == $trashed ) {
[334] Fix | Delete
$message = __( 'Media file moved to the Trash.' );
[335] Fix | Delete
} else {
[336] Fix | Delete
/* translators: %s: Number of media files. */
[337] Fix | Delete
$message = _n( '%s media file moved to the Trash.', '%s media files moved to the Trash.', $trashed );
[338] Fix | Delete
}
[339] Fix | Delete
$message = sprintf( $message, number_format_i18n( $trashed ) );
[340] Fix | Delete
$message .= ' <a href="' . esc_url( wp_nonce_url( 'upload.php?doaction=undo&action=untrash&ids=' . ( isset( $_GET['ids'] ) ? $_GET['ids'] : '' ), 'bulk-media' ) ) . '">' . __( 'Undo' ) . '</a>';
[341] Fix | Delete
$_SERVER['REQUEST_URI'] = remove_query_arg( array( 'trashed' ), $_SERVER['REQUEST_URI'] );
[342] Fix | Delete
}
[343] Fix | Delete
[344] Fix | Delete
if ( ! empty( $_GET['untrashed'] ) && absint( $_GET['untrashed'] ) ) {
[345] Fix | Delete
$untrashed = absint( $_GET['untrashed'] );
[346] Fix | Delete
if ( 1 == $untrashed ) {
[347] Fix | Delete
$message = __( 'Media file restored from the Trash.' );
[348] Fix | Delete
} else {
[349] Fix | Delete
/* translators: %s: Number of media files. */
[350] Fix | Delete
$message = _n( '%s media file restored from the Trash.', '%s media files restored from the Trash.', $untrashed );
[351] Fix | Delete
}
[352] Fix | Delete
$message = sprintf( $message, number_format_i18n( $untrashed ) );
[353] Fix | Delete
$_SERVER['REQUEST_URI'] = remove_query_arg( array( 'untrashed' ), $_SERVER['REQUEST_URI'] );
[354] Fix | Delete
}
[355] Fix | Delete
[356] Fix | Delete
$messages[1] = __( 'Media file updated.' );
[357] Fix | Delete
$messages[2] = __( 'Media file permanently deleted.' );
[358] Fix | Delete
$messages[3] = __( 'Error saving media file.' );
[359] Fix | Delete
$messages[4] = __( 'Media file moved to the Trash.' ) . ' <a href="' . esc_url( wp_nonce_url( 'upload.php?doaction=undo&action=untrash&ids=' . ( isset( $_GET['ids'] ) ? $_GET['ids'] : '' ), 'bulk-media' ) ) . '">' . __( 'Undo' ) . '</a>';
[360] Fix | Delete
$messages[5] = __( 'Media file restored from the Trash.' );
[361] Fix | Delete
[362] Fix | Delete
if ( ! empty( $_GET['message'] ) && isset( $messages[ $_GET['message'] ] ) ) {
[363] Fix | Delete
$message = $messages[ $_GET['message'] ];
[364] Fix | Delete
$_SERVER['REQUEST_URI'] = remove_query_arg( array( 'message' ), $_SERVER['REQUEST_URI'] );
[365] Fix | Delete
}
[366] Fix | Delete
[367] Fix | Delete
if ( ! empty( $message ) ) {
[368] Fix | Delete
?>
[369] Fix | Delete
<div id="message" class="updated notice is-dismissible"><p><?php echo $message; ?></p></div>
[370] Fix | Delete
<?php } ?>
[371] Fix | Delete
[372] Fix | Delete
<form id="posts-filter" method="get">
[373] Fix | Delete
[374] Fix | Delete
<?php $wp_list_table->views(); ?>
[375] Fix | Delete
[376] Fix | Delete
<?php $wp_list_table->display(); ?>
[377] Fix | Delete
[378] Fix | Delete
<div id="ajax-response"></div>
[379] Fix | Delete
<?php find_posts_div(); ?>
[380] Fix | Delete
</form>
[381] Fix | Delete
</div>
[382] Fix | Delete
[383] Fix | Delete
<?php
[384] Fix | Delete
require_once ABSPATH . 'wp-admin/admin-footer.php';
[385] Fix | Delete
[386] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function