[wp-trac] [WordPress Trac] #23837: Twenty Ten: Fatal error in loop.php
WordPress Trac
noreply at wordpress.org
Fri Mar 22 22:56:56 UTC 2013
#23837: Twenty Ten: Fatal error in loop.php
---------------------------+---------------------------
Reporter: keoshi | Owner: lancewillett
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.6
Component: Bundled Theme | Version:
Severity: major | Resolution: fixed
Keywords: has-patch |
---------------------------+---------------------------
Changes (by lancewillett):
* owner: => lancewillett
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"23793"]:
{{{
#!CommitTicketReference repository="" revision="23793"
Twenty Ten: change gallery category post meta output to check for a
"gallery" category using `get_term_by()` to avoid a possible WP_Error for
an empty result by getting a false (boolean) return value instead.
And, change link output to use `get_category_link()` instead of
`get_term_link()`.
Props SergeyBiryukov and keoshi, fixes #23837.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23837#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list