Make WordPress Core

Ticket #44274: template.php.patch

File template.php.patch, 631 bytes (added by leanderiversen, 5 years ago)
  • template.php

     
    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" ) ) {