[wp-hackers] Passing messages to the Post Successful screen

Callum Macdonald lists.automattic.com at callum-macdonald.com
Fri May 11 10:14:57 GMT 2007

Hey David,

Thanks for the suggestions.

I thought about using the options table. I'm making a remote XMLRPC 
call, so I don't know if it will have completed when the post.php file 
redirects. The redirect might complete before the XMLRPC call. In which 
case, the data would get to the options table too late.

I could build some sort of Ajax thing to update live I guess, but that 
seems like a lot of work to display a simple "failed" or "succeeded" 
message! :)

Anyone got any ideas that might get round the redirect / XMLRPC delay 



David Chait wrote:
> save to options table?  write to text file?  save as meta fields for 
> the particular post?  just brainstorming...
> -d
> Callum Macdonald wrote:
>> G'day,
>> I'm writing a plugin to cross post to multiple blogs via XMLRPC. So 
>> you write a post on your main blog and based on the categories you 
>> choose, it will automatically cross post that to other blogs.
>> WP uses a redirect from the post submission to the "Post Successful" 
>> page, so I'm losing any variables I instantiate in my plugin. Thus, I 
>> can't add any messages under that "Post Successful" message. Can 
>> anyone suggest an approach to get around this issue? Or a plugin that 
>> successfully does it?
>> All suggestions appreciated,
>> Cheers,
>> Callum.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list