How to change WordPress username and also fix Super Admin problem?

Last updated: 20210407

 

Reference:

https://wordpress.org/support/topic/change-the-admin-user-name/

 

Step 1:

Use the Username Changer plugin.

 

Step 2:

If you notice the Admin user now loses Super Admin privileges on your WordPress Network (cannot add plugin or add themes)..

Then open your current theme’s functions.php.

Add this to line 1 so it executes when you visit your site.

grant_super_admin(1);

 

Visit your site once, then remove the above line from the code.

 

Your user should now have Super Admin privileges.

How to get Google Verification code for Yoast SEO?

Yoast SEO

To complete the Google Search Console verification process with Yoast SEO, go to SEO → General in your WordPress dashboard and select the Webmaster Tools tab.

All you need to do is paste your Google verification code into the box:

Google site verification in Yoast SEO

Google site verification in Yoast SEO

To find your Google verification code:

  1. Go to the Alternate methods tab in the Google Search Console interface
  2. Select the HTML tag option
  3. You can copy the entire tag, the Yoast SEO plugin will automatically strip out the extra, leaving just the code.
Where to find Google verification code

Where to find Google verification code

Make sure to click Save changes in the Yoast SEO interface when you’re done.

How to fix the deprecated blacklist_keys” option key problem in Contact Form 7 in WordPress?

Last updated: 20210214

 

If you get the error message when sending a message in Contact Form 7 on your WordPress:

Deprecated: get_option was called with an argument that is deprecated since version 5.5.0! The “blacklist_keys” option key has been renamed to “disallowed_keys”. in /wp-includes/functions.php on line 5143

 

Then simply do this:

I was able to remove this error by changing the following at contact-form-7\modules\disallowed-list.php, line 51:

$mod_keys = trim( get_option( 'blacklist_keys' ) );

to

$mod_keys = trim( get_option( 'disallowed_keys' ) );

Reference:

https://github.com/takayukister/contact-form-7/issues/170

How install NSP games on Goldleaf safely to your hacked Nintendo Switch?

Best place to get and download NSPs: https://switch-xci.xyz/

 

Note that installing Sigpatches without using Fusee-primary.bin –> Atmosphere, can work for some titles.

 

But if you want all titles to work, you need to make Hekate boot Fusee-primary.bin –> Atmosphere.

Change that by editing hekate_ipl.bin –> Emummc –> fss0 line, replace it with: payload=<where your fusee-primary.bin> is.

(clearly we need to clean up this help doc later so it’s more idiot proof!)

 

 

Following the guide at:
https://www.cfwaifu.com/goldleaf-quark/    (20210426, skip to Launch Goldleaf part at the above page – hit R when running an app to start EDIZON, if you have installed all the apps before… install games to SD CARD)

If it hangs, make sure to UNCHECK ‘Read-only’ for  .NSP file – see:

https://github.com/XorTroll/Goldleaf/issues/476

 

For Goldleaf to install pirated games on EMUNAND, use SIGPATCHES for ATMOSPHERE:
https://github.com/XorTroll/Goldleaf/issues/340

 

Download latest for 10.0.4 Sigpatches https://drive.google.com/file/d/1goaT-drUUpCmo6yJn2lxa4-V3jX8_hyV:

Updated to 10.0.2, latest Atmosphere, and sigpatches. Games don’t open. from SwitchPirates

Then install into /atmosphere/exefs_patches and /kip_patches respectively, you should now be able to install games in Goldleaf.

also consider this comment:

I realize you’ve resolved your problem (YAY!!) but i did want to mention and place this here for others.
I had a similar problem a month ago. Updated Firmware, updated CFW and Sigpatches, but somegames wouldnt load, some would. I was able to resolve via booting into Maintenance Mode then exiting without doing anything.
I did have to reinstall a few games, ones I kept trying to launch when troubleshooting.
I feel like even though I put the updated Sigpatches in place, they never took until I ran Maintenance Mode and exited.

To get to Maintenance Mode: Power off. Hold both Vol + and Vol – and keep them held. Hold Power until it starts up then release KEEP VOLUMES HELD. Once its in maintenance mode, you can release Vol buttons. I then just held Power and shut back down.

 

When trying to connect Wifi safely, boot into SYS CFW, and use Wifi + 90DNS, if you are trying to transfer files over FTPD.

When launching Goldleaf, launch from emunand, and no wifi, and use USB-C cable.

 

Zadig available here:

https://zadig.akeo.ie/

 

Quark.jar comes with Goldleaf at:

https://github.com/XorTroll/Goldleaf/releases

How to fix WordPress dashboard or login infinite redirect loop?

As of 20191003, you should be using PHP 7.1 and above for your WordPress websites.

However, some older plugins can cause your WordPress Dashboard or wp-login.php page to fail with an infinite redirect loop.

To diagnose, set ‘WP_DEBUG’ to true in your wp-config.php file, then attempt to login or visit your WordPress dashboard.

If it fails, head to your cPanel/WHM to change your PHP version for your website to 5.5, 5.6, 7.0, 7.2 and the likes.

While switching, you should be able to see error messages to help you diagnose the plugins that is causing the problem.