Changes between Version 3 and Version 4 of Ticket #44429, comment 1
- Timestamp:
- 06/21/2018 10:13:56 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #44429, comment 1
v3 v4 1 1 There is likely an error in [https://core.trac.wordpress.org/home/rsed43dqsw/public_html/wp-content/plugins/force-https-littlebizzy/core/redirect.php:68] that needs to return when using in WP-CLI. 2 2 3 The issue is {{{wp_redirect()}}} doesn’t play well with WP-CLI and you will need to modify the code to exit early and not perform the {{{wp_redirect()}}} call when using in WP-CLI.3 The issue is {{{wp_redirect()}}} doesn’t play well with HTTPS and WP-CLI and you will need to modify the code to exit early and not perform the {{{wp_redirect()}}} call when using in WP-CLI. 4 4 5 5 Adding something like the following at the beginning of that {{{redirect()}}} function should fix it.