Beschrijving
This plugin will hide author’s archive.
If your don’t need author parameter, this plugin may enhance your site’s security from bot inspection.
- No more
?author=1
redirection to/author/admin
- Ignore query var like
author=1
orauthor_name=admin
- Hide user list in REST API from user without permission
list_users
oredit_others_posts
. This capability is filterable.
/** * Filter capabilities to see author list. * * @param string[] $caps List of capabilities. */ add_filter( 'hide_author_archive_rest_query_capability', function( $caps ) { $caps[] = 'read'; return $caps; } );
Installatie
Search “hide author archives” in admin screen.
Altenatively, you can install it manually like below:
- Upload
hide-author-archive
folder to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
FAQ
-
How To Contribute
-
We host plugin on github and any issues and pull requests are welcomed!
Beoordelingen
Bijdragers & ontwikkelaars
“Hide Author Archive” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
Bijdragers“Hide Author Archive” is vertaald in 1 taal. Dank voor de vertalers voor hun bijdragen.
Vertaal “Hide Author Archive” naar jouw taal.
Interesse in ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.
Changelog
1.1.5
- Hide single REST API for single user get
wp/v2/users/1
. - Editor can see REST API users get to change author of posts.
1.1.1
- Support REST API.
- Fix coding standards.
1.0.0
- First release