Changeset 3037458
- Timestamp:
- 02/18/2024 01:24:12 PM (2 years ago)
- Location:
- disable-author-archives/trunk
- Files:
-
- 2 edited
-
disable-author-archives.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
disable-author-archives/trunk/disable-author-archives.php
r3033724 r3037458 4 4 * Plugin URI: https://wordpress.org/plugins/disable-author-archives 5 5 * Description: Disables author archives and makes the web server return status code 404 ('Not Found') instead. 6 * Version: 1.3. 36 * Version: 1.3.4 7 7 * Author: freemp 8 8 * Author URI: https://profiles.wordpress.org/freemp … … 23 23 nocache_headers(); 24 24 } 25 } );25 }, 1 ); 26 26 27 27 /* Remove author links. */ … … 34 34 add_filter( 'author_link', 'get_the_author', PHP_INT_MAX ); 35 35 add_filter( 'the_author_posts_link', 'get_the_author', PHP_INT_MAX ); 36 add_filter( 'get_comment_author_link', 'get_comment_author', PHP_INT_MAX );37 36 38 37 /* Remove users from default sitemap. */ -
disable-author-archives/trunk/readme.txt
r3033724 r3037458 29 29 == Changelog == 30 30 31 = 1.3.4 = 32 * Leaving comment author link untouched. 33 * Restored priority of template_redirect action. 34 31 35 = 1.3.3 = 32 36 * Added removal of author links in comments. 33 37 * No longer remove author name, just the link to the author archive. 34 * Removed needless loading of plugin text domain 38 * Removed needless loading of plugin text domain. 35 39 36 40 = 1.3.2 =
Note: See TracChangeset
for help on using the changeset viewer.