Ticket #12568: post_to_edit_filter.diff
File post_to_edit_filter.diff, 404 bytes (added by , 15 years ago) |
---|
-
wp-admin/includes/post.php
428 428 if ( $post->post_type == 'page' ) 429 429 $post->page_template = get_post_meta( $id, '_wp_page_template', true ); 430 430 431 return $post;431 return apply_filters( 'post_to_edit', $post ); 432 432 } 433 433 434 434 /**