Plugin Directory

Changeset 3039707


Ignore:
Timestamp:
02/22/2024 12:43:02 PM (2 years ago)
Author:
freemp
Message:

Fixed malformed URLs by restoring a previous author link filter.

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

Legend:

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

    r3037458 r3039707  
    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.4
     6 * Version: 1.3.5
    77 * Author: freemp
    88 * Author URI: https://profiles.wordpress.org/freemp
     
    3232        return $actions;
    3333    }, PHP_INT_MAX );
    34 add_filter( 'author_link', 'get_the_author', PHP_INT_MAX );
     34add_filter( 'author_link', function() { return '#'; }, PHP_INT_MAX );
    3535add_filter( 'the_author_posts_link', 'get_the_author', PHP_INT_MAX );
    3636
  • disable-author-archives/trunk/readme.txt

    r3037458 r3039707  
    2828
    2929== Changelog ==
     30
     31= 1.3.5 =
     32* Fixed malformed URLs by restoring a previous author link filter.
    3033
    3134= 1.3.4 =
Note: See TracChangeset for help on using the changeset viewer.