Wordpress/wp-content
Lance Willett e9746944fa 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@23793 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-22 22:56:55 +00:00
..
plugins
themes 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. 2013-03-22 22:56:55 +00:00
index.php