posting drafts with WP2.7

2 views
Skip to first unread message

Ben Catlin

unread,
May 28, 2009, 6:28:54 PM5/28/09
to livepre...@googlegroups.com
Think I found a way to fix this problem.

in the lpsync.php file, almost all the way at the bottom there are a
few lines of code that start with add_action(.

You want to comment out the line that contains 'edit_post'
and then add the following line
add_action('publish_post', 'synch_LJ', 5);

This seemed to help this issue.

I'm also experimenting with adding the line
add_action('xmlrpc_publish_post', 'publish_phone_LJ', 5);

To see if that updates LJ when I post from my iphone.

What I haven't done yet is see if this causes a post to sync with LJ
if you use the dashboard widget, which I don't believe used to work.

Hope that helps. Let me know if I'm way off and it doesn't work for you.

Ben


--
"Never forget: Justice is what Love looks like in public."
- Dr. Cornel West from Call+Response (www.callandresponse.org)

digsite

unread,
May 29, 2009, 2:59:42 PM5/29/09
to LivePress Plugin
whoops... I replied to this twice but only to Ben.

Ben,

Good work! it's not necessary to add add_action('publish_post',
'synch_LJ', 5); to the script. It's already there.

I think older versions of WP required the edit_post action but
everything works will without it now.

As for posting from the iPhone app. Let me know if you work that
out. I personally don't use the app.

thanks!
-Tania
Reply all
Reply to author
Forward
0 new messages