--- a/wp/wp-admin/plugins.php Tue Dec 15 15:52:01 2020 +0100
+++ b/wp/wp-admin/plugins.php Wed Sep 21 18:19:35 2022 +0200
@@ -162,7 +162,7 @@
echo '<div class="wrap">';
echo '<h1>' . esc_html( $title ) . '</h1>';
- $url = self_admin_url( 'update.php?action=update-selected&plugins=' . urlencode( join( ',', $plugins ) ) );
+ $url = self_admin_url( 'update.php?action=update-selected&plugins=' . urlencode( implode( ',', $plugins ) ) );
$url = wp_nonce_url( $url, 'bulk-update-plugins' );
echo "<iframe src='$url' style='width: 100%; height:100%; min-height:850px;'></iframe>";
@@ -641,7 +641,9 @@
<div id="message" class="error"><p><?php echo $errmsg; ?></p>
<?php
- if ( ! isset( $_GET['main'] ) && ! isset( $_GET['charsout'] ) && wp_verify_nonce( $_GET['_error_nonce'], 'plugin-activation-error_' . $plugin ) ) {
+ if ( ! isset( $_GET['main'] ) && ! isset( $_GET['charsout'] )
+ && isset( $_GET['_error_nonce'] ) && wp_verify_nonce( $_GET['_error_nonce'], 'plugin-activation-error_' . $plugin )
+ ) {
$iframe_url = add_query_arg(
array(
'action' => 'error_scrape',
@@ -727,8 +729,13 @@
}
if ( strlen( $s ) ) {
- /* translators: %s: Search query. */
- printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( urldecode( $s ) ) );
+ echo '<span class="subtitle">';
+ printf(
+ /* translators: %s: Search query. */
+ __( 'Search results for: %s' ),
+ '<strong>' . esc_html( urldecode( $s ) ) . '</strong>'
+ );
+ echo '</span>';
}
?>