[wp-trac] [WordPress Trac] #46678: Don't echo empty annotation
WordPress Trac
noreply at wordpress.org
Wed Mar 27 22:36:44 UTC 2019
#46678: Don't echo empty annotation
-----------------------------------------------+---------------------------
Reporter: afragen | Owner:
| SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.2
Component: Plugins | Version:
Severity: normal | Resolution: fixed
Keywords: servehappy has-patch dev-feedback | Focuses:
-----------------------------------------------+---------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"45045" 45045]:
{{{
#!CommitTicketReference repository="" revision="45045"
Plugins: In `wp_update_php_annotation()`, only display the annotation and
the surrounding tags if it's not empty.
Props afragen.
Fixes #46678.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46678#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list