WordPress.org

Make WordPress Core

Ticket #16348: 16348.patch

File 16348.patch, 568 bytes (added by SergeyBiryukov, 7 years ago)
  • wp-admin/includes/template.php

     
    16601660 * @return object An object containing the safe screen name and id
    16611661 */
    16621662function convert_to_screen( $screen ) {
    1663         $screen = str_replace( array('.php', '-new', '-add' ), '', $screen);
     1663        $screen = str_replace( array('.php', '-new', '-add', '-network', '-user' ), '', $screen);
    16641664
    16651665        if ( is_network_admin() )
    16661666                $screen .= '-network';