WordPress.org

Make WordPress Core

Ticket #23181: 23181.2.patch

File 23181.2.patch, 487 bytes (added by SergeyBiryukov, 5 years ago)
  • wp-admin/custom-header.php

     
    10011001
    10021002                $default = sprintf( $default, get_template_directory_uri(), get_stylesheet_directory_uri() );
    10031003
     1004                $default_data = array();
    10041005                foreach ( $this->default_headers as $header => $details ) {
    10051006                        if ( $details['url'] == $default ) {
    10061007                                $default_data = $details;