Make WordPress Core

Ticket #57069: 57069.11.patch

File 57069.11.patch, 1.6 KB (added by upadalavipul, 2 years ago)
  • wp-admin/admin.php

     
    131131
    132132$page_hook = null;
    133133
    134 $editing = false;
    135 
    136134if ( isset( $_GET['page'] ) ) {
    137135        $plugin_page = wp_unslash( $_GET['page'] );
    138136        $plugin_page = plugin_basename( $plugin_page );
  • wp-admin/includes/misc.php

     
    484484 * Outputs the formatted file list for the plugin file editor.
    485485 *
    486486 * @since 4.9.0
     487 *
     488 * @global array $plugins
     489 * @global $file
     490 *
    487491 * @access private
    488492 *
    489493 * @param array|string $tree  List of file/folder paths, or filename.
  • wp-admin/link.php

     
    6060                        wp_redirect( $this_file );
    6161                        exit;
    6262                }
    63                 $all_links = implode( ',', $linkcheck );
     63                // $all_links = implode( ',', $linkcheck );
    6464                /*
    6565                 * Should now have an array of links we can change:
    6666                 *     $q = $wpdb->query("update $wpdb->links SET link_category='$category' WHERE link_id IN ($all_links)");
  • wp-admin/post.php

     
    2525} else {
    2626        $post_id = 0;
    2727}
    28 $post_ID = $post_id;
    2928
    3029/**
    3130 * @global string  $post_type