WordPress.org

Make WordPress Core

Changes between Version 3 and Version 4 of Ticket #44429, comment 1


Ignore:
Timestamp:
06/21/2018 10:13:56 PM (17 months ago)
Author:
afragen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #44429, comment 1

    v3 v4  
    11There 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.
    22
    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.
     3The 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.
    44
    55Adding something like the following at the beginning of that {{{redirect()}}} function should fix it.