lowellallen
Forum Replies Created
-
Forum: Plugins
In reply to: [Co-Authors Plus] Limit Co-Authors Plus post typesResolved.
Forum: Plugins
In reply to: [Co-Authors Plus] Limit Co-Authors Plus post typesCorrection: The coauthors_supported_post_types filter hook does work to allow limiting Co-Authors Plus to a specific custom post type.
I think I was suffering from a caching issue (or fatigue, or stupidity) when the filter function didn’t work initially.
Forum: Hacks
In reply to: user_profile_update_errors and httpsI have found a solution:
1) Force admin to use SSL by adding to wp-config.php:
define('FORCE_SSL_ADMIN', true);2) Specify ‘admin’ as second argument of self_admin_url function:
$processing_script = self_admin_url( 'profile.php', 'admin' );Previously I was using ‘https’ or ‘http’ as second argument. I also tried without specifying a second argument, which should be same as specifying the default ‘admin’, but did not have WordPress admin forced to use SSL.
My tests now work on order flow page using https and on front end profile update page using http.
Forum: Hacks
In reply to: user_profile_update_errors and httpsAt this point I’m not sure how to verify that parameters are passing correctly in https. One test I’ve done is to add a test error in error checking function so that is_wp_error should return true, but it does not when using https.
Section of data collection form that links to profile.php:
http://pastebin.com/HEN0D1AhError checking function: http://pastebin.com/BWvpGGgu
Forum: Hacks
In reply to: user_profile_update_errors and httpsNo, I have not found a solution.