[wp-trac] [WordPress Trac] #44840: Don't assign to a variable inside if statement in get_post_format()
WordPress Trac
noreply at wordpress.org
Thu Aug 30 09:00:45 UTC 2018
#44840: Don't assign to a variable inside if statement in get_post_format()
--------------------------------------------+------------------------------
Reporter: Mirucon | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.0
Component: Post Formats | Version: trunk
Severity: minor | Resolution: fixed
Keywords: has-patch needs-testing commit | Focuses: coding-
| standards
--------------------------------------------+------------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"43592" 43592]:
{{{
#!CommitTicketReference repository="" revision="43592"
Post Formats: Don't assign a variable inside `if` statement in
`get_post_format()`.
Props Mirucon.
Fixes #44840.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44840#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list