Changeset 47851 for trunk/src/wp-includes/post.php
- Timestamp:
- 05/23/2020 04:20:10 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r47848 r47851 4238 4238 // Passed post category list overwrites existing category list if not empty. 4239 4239 if ( isset( $postarr['post_category'] ) && is_array( $postarr['post_category'] ) 4240 && 0 != count( $postarr['post_category'] ) ) { 4240 && count( $postarr['post_category'] ) > 0 4241 ) { 4241 4242 $post_cats = $postarr['post_category']; 4242 4243 } else {
Note: See TracChangeset
for help on using the changeset viewer.