Category: WordPress
-
Automatic Admin Login for WordPress, A Really Bad Idea
This content presents a PHP snippet that forces automatic login to a WordPress site as the admin user. While it may be useful for local environments and testing existing data, it is strongly discouraged for production use due to security risks.
-
Silly Ideas: Cache WordPress Excerpts
in WordPressLet’s explore dumb ideas around caching parts of WordPress we shouldn’t.
-
Code Sweep: A Simple Approach to a Neater WordPress User List
in WordPressLearn how to efficiently manage WordPress users by using a PHP snippet to add a ‘Comments’ count column, helping you easily identify and remove spam accounts.
-
Stopping WordPress User Registration Spam
in WordPressCombatting the surge of user registration spam on WordPress, this guide introduces a code snippet to block registrations from specific email hostnames, offering an extra layer of protection against unwanted sign-ups.
-
Gathering database performance with WP-CLI
in WordPressDiscover how we employed WP-CLI to streamline the assessment of database server performance in WordPress, facilitating a more efficient profiling of SQL queries before and after crucial server upgrades.