#2226 closed defect (bug) (duplicate)
<!--more--> tag is not handled correctly when posting via XML-RPC
| Reported by: | bytescout | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 2.0 |
| Severity: | normal | Keywords: | XML-RPC moretag Metaweblog NewPost |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Duplicate of #2130