[wp-trac] [WordPress Trac] #54437: Warning not in bold?

WordPress Trac noreply at wordpress.org
Wed Mar 23 14:36:56 UTC 2022


#54437: Warning not in bold?
-------------------------------------+-------------------------------------
 Reporter:  NekoJonez                |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  6.0
Component:  General                  |     Version:
 Severity:  trivial                  |  Resolution:
 Keywords:  needs-patch good-first-  |     Focuses:  ui, administration,
  bug                                |  template, coding-standards
-------------------------------------+-------------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => needs-patch good-first-bug
 * version:  5.8.3 =>
 * milestone:  Awaiting Review => 6.0


Old description:

> Most of the warnings in WP have the "warning" part in bold. Yet, there
> are a few that aren't in bold.
>
> Except these:
>
> https://build.trac.wordpress.org/browser/trunk/wp-includes/class-wp-
> theme.php?marks=284#L284
> https://build.trac.wordpress.org/browser/trunk/wp-
> includes/functions.php?marks=1582#L1582
>
> For the sake of being consistent, shouldn't these have bold tags as well?

New description:

 Most of the warnings in WP have the "warning" part in bold. Yet, there are
 a few that aren't in bold.

 Except these:

 https://build.trac.wordpress.org/browser/tags/5.9.2/wp-
 includes/functions.php?marks=1583#L1582
 https://build.trac.wordpress.org/browser/tags/5.9.2/wp-includes/class-wp-
 theme.php?marks=284#L283

 For the sake of being consistent, shouldn't these have bold tags as well?

--

Comment:

 Thanks for the ticket!

 Updated the description with permanent links so that the locations do not
 change. Removing the version, as these messages were not introduced in
 5.8.2 or 5.8.3.

 It looks like most of the "Error:" prefixes in core are placed inside a
 `<strong>` tag, so I think it makes sense to do the same here.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54437#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list