WordPress 1.2-Delta and ecto 1.1.4
-
Hello,
I have worked on the WordPress’ 1.2-Deltaxmlrpc.php
to make it work better with ecto 1.1.4.
More specifically, I “fixed” the following things:- Escape the
post_content
andpost_excerpt
variables to avoid SQL errors.
It happened to me that I had single-quotes (‘) in my posts. That made MySQL choke. I Therefore added calls to$wpdb->escape
that should fix this. - One category
ecto failed to post when only one category was set for a post. I do not (fully) understand the issue here but found a “fix”. Love it or leave it! - Support for Markdown formatting
ecto has built-in support for running a post through Markdown when previewing. I added some arachaic support for this. I.e., I check if Markdown is active and return it as a textFormatter when asked.
Use this link to get the patch: xmlrpc.patch
The corresponding post on my blog - Escape the
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WordPress 1.2-Delta and ecto 1.1.4’ is closed to new replies.