WordPress.org

Make WordPress Core

Ticket #12746: edit-tags.diff

File edit-tags.diff, 394 bytes (added by jfarthing84, 5 years ago)

Display "Edit [Taxonomy]" instead of "Edit Tag" in browser title.

  • edit-tags.php

     
    116116break; 
    117117 
    118118case 'edit': 
    119         $title = __('Edit Tag'); 
     119        $title = sprintf(_x('Edit %s', '%s: singular taxonomy name'), $tax->singular_label); 
    120120 
    121121        require_once ('admin-header.php'); 
    122122        $tag_ID = (int) $_GET['tag_ID'];