Ticket #18802: new_hook.diff
| File new_hook.diff, 403 bytes (added by , 14 years ago) |
|---|
-
wp-includes/post.php
diff --git a/wp-includes/post.php b/wp-includes/post.php index 93bdb0a..294b7e7 100644
a b function register_post_type($post_type, $args = array()) { 1037 1037 register_taxonomy_for_object_type( $taxonomy, $post_type ); 1038 1038 } 1039 1039 1040 do_action( 'registered_post_type', $post_type, $args ); 1041 1040 1042 return $args; 1041 1043 } 1042 1044