#2226 closed defect (bug) (duplicate)
<!--more--> tag is not handled correctly when posting via XML-RPC
Reported by: | bytescout | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.0 |
Component: | Administration | Keywords: | XML-RPC moretag Metaweblog NewPost |
Focuses: | Cc: |
Description
<!--more--> tag is removed automatically from post content when posting via XML-RPC interface. This is caused by function wp_insert_post from functions-post.php called from implementation for MetaWeblog.NewPost
To solve this problem just comment the following line in function wp_insert_post in functions-post.php:
$post_content = apply_filters('content_save_pre', $post_content);
so <!--more--> tag won't be removed anymore then you add new post via XML-RPC.
Change History (3)
Note: See
TracTickets for help on using
tickets.
Duplicate of #2130