Support » Fixing WordPress » WordPress 1.2-Delta and ecto 1.1.4

  • Hello,
    I have worked on the WordPress’ 1.2-Delta xmlrpc.php to make it work better with ecto 1.1.4.
    More specifically, I “fixed” the following things:

    • Escape the post_content and post_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->escapethat 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • great work! any chance you addressed the image uploading from ecto?

    > great work!
    Glad when it worked for you, too 🙂
    > any chance you addressed the image uploading from ecto?
    Nope. I didn’t attempt to use it, yet. I’ll keep you updated if there’s something in the news.

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.