[wp-hackers] Plugin Problem - Working sometimes...

Alan J Castonguay alan at verselogic.net
Fri Jul 25 14:29:45 GMT 2008


Observation: the custom "author footer" could be saved in  
wp_usermeta, greatly simplifying your database access. See http:// 
codex.wordpress.org/Function_Reference/get_usermeta

On 25-Jul-08, at 12:02 AM, Travis Quinnelly [MUO] wrote:

> I have an issue with a plugin apparently not "hooking" all the time.
>
> This particular plugin appends each article with a custom "author  
> footer"
> which is saved in each author's profile page to the db. It grabs  
> the author
> footer, and places it at the end of the_content on publish.
>
> The problem is, that it doesnt always do it. It works about 1/3 of  
> the time,
> and I cant figure out why.
>
> Here's the code over at wordpress.pastebin.com:
> http://wordpress.pastebin.com/m71910a05
>
> Any ideas why this is only partially working? Shouldnt it work  
> every time a
> post is published?
> Would the "scheduled" posts to be published get the same action  
> that a click
> to the "Publish" button would?
>
> Any help is appreciated.
> Thanks,
>
> --------------------
> Travis Quinnelly
> _______________________________________________
> 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