WordPress.org

Make WordPress Core

Ticket #13544: 17326.diff

File 17326.diff, 774 bytes (added by jeremyclarke, 4 years ago)

Updated to make the old "Post URL" button say "Attachment Post URL"

  • wp-admin/includes/media.php

     
    917917        <input type='text' class='text urlfield' name='attachments[$post->ID][url]' value='" . esc_attr($url) . "' /><br /> 
    918918        <button type='button' class='button urlnone' title=''>" . __('None') . "</button> 
    919919        <button type='button' class='button urlfile' title='" . esc_attr($file) . "'>" . __('File URL') . "</button> 
    920         <button type='button' class='button urlpost' title='" . esc_attr($link) . "'>" . __('Post URL') . "</button> 
     920        <button type='button' class='button urlpost' title='" . esc_attr($link) . "'>" . __('Attachment Post URL') . "</button> 
    921921"; 
    922922} 
    923923