Changeset 3039707
- Timestamp:
- 02/22/2024 12:43:02 PM (2 years ago)
- Location:
- disable-author-archives/trunk
- Files:
-
- 2 edited
-
disable-author-archives.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
disable-author-archives/trunk/disable-author-archives.php
r3037458 r3039707 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. 46 * Version: 1.3.5 7 7 * Author: freemp 8 8 * Author URI: https://profiles.wordpress.org/freemp … … 32 32 return $actions; 33 33 }, PHP_INT_MAX ); 34 add_filter( 'author_link', 'get_the_author', PHP_INT_MAX );34 add_filter( 'author_link', function() { return '#'; }, PHP_INT_MAX ); 35 35 add_filter( 'the_author_posts_link', 'get_the_author', PHP_INT_MAX ); 36 36 -
disable-author-archives/trunk/readme.txt
r3037458 r3039707 28 28 29 29 == Changelog == 30 31 = 1.3.5 = 32 * Fixed malformed URLs by restoring a previous author link filter. 30 33 31 34 = 1.3.4 =
Note: See TracChangeset
for help on using the changeset viewer.