spacedmonkey / wp-user-roles
Improve performance of user queries by adding a new table.
Installs: 10
Dependents: 0
Suggesters: 1
Security: 0
Stars: 11
Watchers: 4
Forks: 2
Open Issues: 0
Type:wordpress-muplugin
Requires
- php: >=5.6
- composer/installers: ~1.0
Requires (Dev)
Suggests
- spacedmonkey/wp-user-query-cache: Compatible with wp user roles and improves user query caching and performance.
This package is auto-updated.
Last update: 2024-10-27 15:30:15 UTC
README
Contributors: spacedmonkey
Donate link: https://example.com/
Tags: comments, spam
Requires at least: 5.2
Tested up to: 5.2
Requires PHP: 5.6.0
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Improve performance of user queries by adding a new table.
Description
This plugin is designed to improve performance of role based user queries. Roles are stored in user meta table, in an array. To query by role, requires a LIKE search on user meta table. For large sites or multisite, with lots of users, this can make queries take a long to return.
The plugin adds a new table that makes querying by user, a much simplier query, reducing database stain.
This plugin requires WordPress 5.2. Is designed to work with multisite. It is required it should be installed as an mu-plugin.
For this interested in user query performance, you may wish to also install the WP User Query Cache plugin.
Installation
Using The WordPress Dashboard
- Navigate to the 'Add New' in the plugins dashboard
- Search for 'wp-user-roles'
- Click 'Install Now'
- Activate the plugin on the Plugin dashboard
Uploading in WordPress Dashboard
- Navigate to the 'Add New' in the plugins dashboard
- Navigate to the 'Upload' area
- Select
wp-user-roles.zip
from your computer - Click 'Install Now'
- Activate the plugin in the Plugin dashboard
Using FTP
- Download
wp-user-roles.zip
- Extract the
wp-user-roles
directory to your computer - Upload the
wp-user-roles
directory to the/wp-content/plugins/
directory - Activate the plugin in the Plugin dashboard
GitHub Updater
The WP User Roles includes native support for the GitHub Updater which allows you to provide updates to your WordPress plugin from GitHub.
Frequently Asked Questions
This plugin doesn't have a UI, is the correct
Yes, this it is not needed
Changelog
1.0
- First release.