Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 504799

Post Author

$
0
0

Replies: 0

I see that the ID of the post author is hard coded in the plugin, is there a reason to set the post author to 1 when importing from rss? This way no matter who is importing the podcast the author is always the sysadmin who installed wordpress.

I just replaced this:
$post_author = 1;
For this
$post_author=get_current_user_id();

Please let me know if this can cause any problem, I hope it can be useful to someone else too

P.S.
Thank you for the plugin!


Viewing all articles
Browse latest Browse all 504799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>