Plugin Directory

Changeset 3037458


Ignore:
Timestamp:
02/18/2024 01:24:12 PM (2 years ago)
Author:
freemp
Message:

Leaving comment author link untouched.
Restored priority of template_redirect action.

Location:
disable-author-archives/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • disable-author-archives/trunk/disable-author-archives.php

    r3033724 r3037458  
    44 * Plugin URI: https://wordpress.org/plugins/disable-author-archives
    55 * Description: Disables author archives and makes the web server return status code 404 ('Not Found') instead.
    6  * Version: 1.3.3
     6 * Version: 1.3.4
    77 * Author: freemp
    88 * Author URI: https://profiles.wordpress.org/freemp
     
    2323            nocache_headers();
    2424        }
    25     } );
     25    }, 1 );
    2626
    2727/* Remove author links. */
     
    3434add_filter( 'author_link', 'get_the_author', PHP_INT_MAX );
    3535add_filter( 'the_author_posts_link', 'get_the_author', PHP_INT_MAX );
    36 add_filter( 'get_comment_author_link', 'get_comment_author', PHP_INT_MAX );
    3736
    3837/* Remove users from default sitemap. */
  • disable-author-archives/trunk/readme.txt

    r3033724 r3037458  
    2929== Changelog ==
    3030
     31= 1.3.4 =
     32* Leaving comment author link untouched.
     33* Restored priority of template_redirect action.
     34
    3135= 1.3.3 =
    3236* Added removal of author links in comments.
    3337* 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.
    3539
    3640= 1.3.2 =
Note: See TracChangeset for help on using the changeset viewer.