# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: /var/www/GSoC/wordtrunk/wp-includes
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
|
|
|
|
| 494 | 494 | if ( $page->post_status == 'draft' ) |
| 495 | 495 | $page_date_gmt = get_gmt_from_date( mysql2date( 'Y-m-d H:i:s', $page->post_date ), 'Ymd\TH:i:s' ); |
| 496 | 496 | |
| 497 | | // Pull the categories info together. |
| 498 | | $categories = array(); |
| 499 | | foreach ( wp_get_post_categories($page->ID) as $cat_id ) { |
| 500 | | $categories[] = get_cat_name($cat_id); |
| 501 | | } |
| 502 | | |
| 503 | 497 | // Get the author info. |
| 504 | 498 | $author = get_userdata($page->post_author); |
| 505 | 499 | |