WordPress.org

Make WordPress Core

Ticket #20646: 20646.patch

File 20646.patch, 695 bytes (added by kobenland, 5 years ago)
  • wp-admin/custom-header.php

    diff a/wp-admin/custom-header.php b/wp-admin/custom-header.php
    index 7b59453..aa50b9b 100644
    a b  
    955955                                'file' => $post->ID 
    956956                        ), admin_url('themes.php'))); 
    957957 
    958                         $form_fields['buttons'] = array( 'tr' => '<tr class="submit"><td></td><td><a data-location="' . $href . '" class="wp-set-header">' . _( 'Set as header' ) . '</a></td></tr>' ); 
     958                        $form_fields['buttons'] = array( 'tr' => '<tr class="submit"><td></td><td><a data-location="' . $href . '" class="wp-set-header">' . __( 'Set as header' ) . '</a></td></tr>' ); 
    959959                        $form_fields['context'] = array( 'input' => 'hidden', 'value' => 'custom-header' ); 
    960960                } 
    961961