Changeset 33734 for trunk/src/wp-includes/class-wp-xmlrpc-server.php
- Timestamp:
- 08/25/2015 08:27:56 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r33700 r33734 2949 2949 2950 2950 if ( $all_tags = get_tags() ) { 2951 foreach ( (array) $all_tags as $tag ) {2951 foreach ( (array) $all_tags as $tag ) { 2952 2952 $struct = array(); 2953 2953 $struct['tag_id'] = $tag->term_id; … … 4049 4049 $struct = array(); 4050 4050 4051 foreach ( $post_types as $post_type ) {4051 foreach ( $post_types as $post_type ) { 4052 4052 if ( ! current_user_can( $post_type->cap->edit_posts ) ) 4053 4053 continue; … … 5368 5368 $categories = array(); 5369 5369 $catids = wp_get_post_categories($post_ID); 5370 foreach ($catids as $catid)5370 foreach ($catids as $catid) 5371 5371 $categories[] = get_cat_name($catid); 5372 5372 … … 5507 5507 $categories = array(); 5508 5508 $catids = wp_get_post_categories($entry['ID']); 5509 foreach ( $catids as $catid )5509 foreach ( $catids as $catid ) 5510 5510 $categories[] = get_cat_name($catid); 5511 5511
Note: See TracChangeset
for help on using the changeset viewer.