Make WordPress Core

Ticket #46614: 46614-category-tag-names.diff

File 46614-category-tag-names.diff, 486 bytes (added by mikejdent, 3 years ago)
  • src/wp-admin/edit.php

    diff --git a/src/wp-admin/edit.php b/src/wp-admin/edit.php
    index 8fe8be0a7d..4e31dc5d32 100644
    a b require_once ABSPATH . 'wp-admin/admin-header.php'; 
    397397<h1 class="wp-heading-inline">
    398398<?php
    399399echo esc_html( $post_type_object->labels->name );
     400$archive_title = get_the_archive_title();
     401if( $archive_title !== 'Archives') {
     402        echo " <span style='font-size:14px'>".get_the_archive_title()."</span>";
     403}
    400404?>
    401405</h1>
    402406