Ticket #2498: 2498.diff
| File 2498.diff, 411 bytes (added by , 20 years ago) |
|---|
-
wp-includes/functions.php
1400 1400 global $wpdb; 1401 1401 1402 1402 // No point in doing all this work if we didn't match any posts. 1403 if ( !$posts )1403 if ( !$posts || !$posts[0]->ID ) 1404 1404 return; 1405 1405 1406 1406 // Get the categories for all the posts