Title: phoenix26's Replies | WordPress.org

---

# phoenix26

  [  ](https://wordpress.org/support/users/phoenix26/)

 *   [Profile](https://wordpress.org/support/users/phoenix26/)
 *   [Topics Started](https://wordpress.org/support/users/phoenix26/topics/)
 *   [Replies Created](https://wordpress.org/support/users/phoenix26/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/phoenix26/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/phoenix26/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/phoenix26/engagements/)
 *   [Favorites](https://wordpress.org/support/users/phoenix26/favorites/)

 Search replies:

## Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kadence Security – Password, Two Factor Authentication, and Brute Force Protection] Visibility of WP version number](https://wordpress.org/support/topic/visibility-of-wp-version-number/)
 *  Thread Starter [phoenix26](https://wordpress.org/support/users/phoenix26/)
 * (@phoenix26)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/visibility-of-wp-version-number/#post-18489721)
 * Thanks Brent I appreciate the advice. Based on So Solid’s reasons for avoiding
   this, would you also recommend avoiding other 3rd party plugins that offer this
   functionality? Thanks.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [“Referrer-Policy: no-referrer”](https://wordpress.org/support/topic/referrer-policy-no-referrer-2/)
 *  Thread Starter [phoenix26](https://wordpress.org/support/users/phoenix26/)
 * (@phoenix26)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/referrer-policy-no-referrer-2/#post-18078683)
 * Thanks [@jarnovos](https://wordpress.org/support/users/jarnovos/) very useful
   indeed!
 * Is there a case for raising a bug with WP to fix wp-login.php so it works in 
   a different way or is it reasonable how it’s currently working with regards to
   the Referrer Policy setting?
 * I appreciate this may be way down the line in terms of priority and the way it
   works currently maybe acceptable. I’m happy to ask if we can use the “strict-
   origin-when-cross-origin” , but I wanted to cover all bases as I imagine this
   will catch a lot of WP admins/users out…
 * Thanks again 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [PHP white page after entering password for a protected page.](https://wordpress.org/support/topic/php-white-page-after-entering-password-for-a-protected-page/)
 *  Thread Starter [phoenix26](https://wordpress.org/support/users/phoenix26/)
 * (@phoenix26)
 * [2 years ago](https://wordpress.org/support/topic/php-white-page-after-entering-password-for-a-protected-page/#post-18065595)
 * Hi, Thanks [@threadi](https://wordpress.org/support/users/threadi/) – I checked
   with our hosting support and “Referrer-Policy: no-referrer” is set at the server
   level, which I think is the strictest and is set to keep things as secure as 
   possible (if you disagree be great to hear why and if there’s a better setting
   we could request).
 * I wasn’t sure why the WordPress password protect page is using noreferrer – should
   it really be using some kind of redirect instead?
 * I found another password protected page plugin called “content-protector” which
   I tested and it gets around this problem (it must use an alternative to noreferrer).
   However, I am loathed to use yet another plugin to get around a problem and hope
   we can find a way to make the core WordPress and config work.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [PHP white page after entering password for a protected page.](https://wordpress.org/support/topic/php-white-page-after-entering-password-for-a-protected-page/)
 *  Thread Starter [phoenix26](https://wordpress.org/support/users/phoenix26/)
 * (@phoenix26)
 * [2 years ago](https://wordpress.org/support/topic/php-white-page-after-entering-password-for-a-protected-page/#post-18051991)
 * THanks threadi. We use So Solid security basic plugin. (SolidWP) Do you know 
   which setting I need to amend? Thanks
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [PHP white page after entering password for a protected page.](https://wordpress.org/support/topic/php-white-page-after-entering-password-for-a-protected-page/)
 *  Thread Starter [phoenix26](https://wordpress.org/support/users/phoenix26/)
 * (@phoenix26)
 * [2 years ago](https://wordpress.org/support/topic/php-white-page-after-entering-password-for-a-protected-page/#post-18051237)
 * Thanks James – I tried this. I deactivated all plugins and switched the theme
   to twenty-twenty-four. I updated core WP (6.6.2), all themes and plugins. I cleared
   browser cache and still see the issue with the password protected pages. Is this
   a WordPress bug? Do other people see this?
 * Just to recap – whether I enter a correct or incorrect password I get a blank
   white page. The URL changes to: [https://ourURL.co.uk/domain/wp-login.php?action=postpass](https://ourURL.co.uk/domain/wp-login.php?action=postpass)
   I don’t see any errors in the logs or in the browser console.
 * If I enter the correct password and revisit the page I don’t get prompted for
   the password again as the page is cached. I can install a different plugin like
   this: [https://wordpress.org/plugins/content-protector/](https://wordpress.org/plugins/content-protector/)
   which gets around the problem, but don’t like the fact core WP functionality 
   isn’t working.
 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [Test coverage and automated tests after a WordPress upgrade.](https://wordpress.org/support/topic/test-coverage-and-automated-tests-after-a-wordpress-upgrade/)
 *  Thread Starter [phoenix26](https://wordpress.org/support/users/phoenix26/)
 * (@phoenix26)
 * [2 years ago](https://wordpress.org/support/topic/test-coverage-and-automated-tests-after-a-wordpress-upgrade/#post-18038008)
 * I appreciate if anyone else has any additional thoughts on testing tools / whether
   to use CLI? I will look at the suggested plugin, but hoped it was easier to test
   without the need for additional plugins. Thanks.
 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [Test coverage and automated tests after a WordPress upgrade.](https://wordpress.org/support/topic/test-coverage-and-automated-tests-after-a-wordpress-upgrade/)
 *  Thread Starter [phoenix26](https://wordpress.org/support/users/phoenix26/)
 * (@phoenix26)
 * [2 years ago](https://wordpress.org/support/topic/test-coverage-and-automated-tests-after-a-wordpress-upgrade/#post-18024325)
 * Thanks for your responses so far. We do have staging environments, which is great
   but increases the need for a more agile way to test after upgrades.
 * Does anyone out there use CLI for this or other particular testing tools?
 * Thanks.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Setting site to unavailable and checking if site is active via WP CLI or PHP](https://wordpress.org/support/topic/setting-site-to-unavailable-and-checking-if-site-is-active-via-wp-cli-or-php/)
 *  Thread Starter [phoenix26](https://wordpress.org/support/users/phoenix26/)
 * (@phoenix26)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/setting-site-to-unavailable-and-checking-if-site-is-active-via-wp-cli-or-php/#post-17893368)
 * Thanks [@threadi](https://wordpress.org/support/users/threadi/)
 * This allows me to **manually** set the status of a site to “activated or deactivated”
   and subsequently check it.
 * I spotted that when a site is deactivated in this way the message shown on the
   console is stored in wp-includes/load.php and/or wp-includes/ms-load.php. But
   I suppose if I were to change the message I’d have to update it again after a
   WP upgrade.
 * Is there a way to set the activated status via the wp-admin console? If not maybe
   I can request this in the other thread for new feature suggestions… It would 
   be useful to prevent access to sites temporarily.
 * There’s another scenario where sometimes I want to keep a site’s content accessible,
   but prevent **all **users from adding/amending content. Is there a way to achieve
   this? *The above maintenance-mode makes the site totally unavailable for browsing
   and logging in. Thanks.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Accessing is_multisite() via a Bash script.](https://wordpress.org/support/topic/accessing-is_multisite-via-a-bash-script/)
 *  Thread Starter [phoenix26](https://wordpress.org/support/users/phoenix26/)
 * (@phoenix26)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/accessing-is_multisite-via-a-bash-script/#post-17877597)
 * Brilliant – thanks [bcworkz](https://wordpress.org/support/users/bcworkz/). That
   really helps my understanding of PHP and Bash working together.
 * I also found this cmd that will do it via the WP CLI: wp core is-installed –network
 * Thanks again.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Accessing is_multisite() via a Bash script.](https://wordpress.org/support/topic/accessing-is_multisite-via-a-bash-script/)
 *  Thread Starter [phoenix26](https://wordpress.org/support/users/phoenix26/)
 * (@phoenix26)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/accessing-is_multisite-via-a-bash-script/#post-17866187)
 * I have a simple bash script that sits on a redhat server and needs to check if
   particular WordPress (6.5.4) folders on the same server are multi-sites or not.
   We have mutliple WordPress sites – some are single sites, some multi-sites. I
   spotted this in the docs:
 * [https://developer.wordpress.org/reference/functions/is_multisite/](https://developer.wordpress.org/reference/functions/is_multisite/)
 * I’ve added my basic code below, but my script doesn’t like the syntax. I’m new
   to bash and PHP and wondered if I can achieve this via extending WP-CLI access
   or if I need my Bash script to call into a PHP function? Any tips/examples of
   the best way to achieve this are most appreciated.
 * vim multisitecheck.sh
 * require_once(“wp-load.php”);
 * if ( is_multisite() )
   thenecho multisite presentfiecho check complete
    -  This reply was modified 2 years, 3 months ago by [phoenix26](https://wordpress.org/support/users/phoenix26/).
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Accessing is_multisite() via a Bash script.](https://wordpress.org/support/topic/accessing-is_multisite-via-a-bash-script/)
 *  Thread Starter [phoenix26](https://wordpress.org/support/users/phoenix26/)
 * (@phoenix26)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/accessing-is_multisite-via-a-bash-script/#post-17840422)
 * Thanks [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Yes, the Bash script runs on the same Linux server as the WP Installation. I 
   can use other WP functions from the WP-CLI – such as wp core update – but there
   seems to be something missing when I try and access is_multisite(). I appreciate
   any further thoughts. Is it because this function is in PHP and I need something
   in the Bash Script to interpret this? Thanks.

Viewing 11 replies - 1 through 11 (of 11 total)