Make WordPress Core

Ticket #44274: 44274.3.diff

File 44274.3.diff, 1.4 KB (added by palmiak, 5 years ago)
  • wp-admin/includes/template.php

    diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php
    index b89a899d55..57dd7c2fcd 100644
    a b function do_meta_boxes( $screen, $context, $object ) { 
    10991099
    11001100        $hidden = get_hidden_meta_boxes( $screen );
    11011101
    1102         printf( '<div id="%s-sortables" class="meta-box-sortables">', htmlspecialchars( $context ) );
     1102        printf( '<div id="%s-sortables" class="meta-box-sortables">', esc_attr( $context ) );
    11031103
    11041104        // Grab the ones the user has manually sorted. Pull them out of their previous context/priority and into the one the user chose
    11051105        if ( ! $already_sorted && $sorted = get_user_option( "meta-box-order_$page" ) ) {