This is actually cooler than I thought it would be. Nice work! …especially supporting custom post types.
This is the result of upgrading the plugin.
Fatal error: Uncaught exception ‘Exception’ with message ‘DateTimeZone::__construct() [datetimezone.–construct]: Unknown or bad timezone ()’ in C:\xampp\htdocs\devtesting\wp-content\plugins\images-2-posts\fwp_images_to_posts.php:108 Stack trace: #0 C:\xampp\htdocs\devtesting\wp-content\plugins\images-2-posts\fwp_images_to_posts.php(108): DateTimeZone->__construct(”) #1 [internal function]: fwp_itp_menage(”) #2 C:\xampp\htdocs\devtesting\wp-includes\plugin.php(405): call_user_func_array(‘fwp_itp_menage’, Array) #3 C:\xampp\htdocs\devtesting\wp-admin\admin.php(151): do_action(‘toplevel_page_f…’) #4 C:\xampp\htdocs\devtesting\wp-admin\options-general.php(10): require_once(‘C:\xampp\htdocs…’) #5 {main} thrown in C:\xampp\htdocs\devtesting\wp-content\plugins\images-2-posts\fwp_images_to_posts.php on line 108
I was able to get version 0.1 to work but I lost track of this thread so maybe their was no need to change. I never got 0.2 and would like to get a copy of that.