mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
Pink trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@16900 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -67,7 +67,7 @@ function get_the_category( $id = false ) {
|
||||
$categories = get_the_terms( $id, 'category' );
|
||||
if ( ! $categories )
|
||||
$categories = array();
|
||||
|
||||
|
||||
$categories = array_values( $categories );
|
||||
|
||||
foreach ( array_keys( $categories ) as $key ) {
|
||||
@@ -1073,7 +1073,7 @@ function get_the_terms( $id = 0, $taxonomy ) {
|
||||
$terms = wp_get_object_terms( $id, $taxonomy );
|
||||
wp_cache_add($id, $terms, $taxonomy . '_relationships');
|
||||
}
|
||||
|
||||
|
||||
$terms = apply_filters( 'get_the_terms', $terms, $id, $taxonomy );
|
||||
|
||||
if ( empty( $terms ) )
|
||||
|
||||
Reference in New Issue
Block a user