Plugin Directory

Changeset 3415571


Ignore:
Timestamp:
12/09/2025 03:39:49 PM (4 months ago)
Author:
Molongui
Message:

5.2.2 (2025-12-09)

  • Fixed: Several PHP warnings.
Location:
molongui-authorship/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • molongui-authorship/trunk/README.txt

    r3415343 r3415571  
    253253
    254254<strong>Important</strong>: If you use a caching plugin, please clear your cache after updating any plugins.
     255
     256= 5.2.2 (2025-12-09) =
     257
     258* **Fixed**: Several PHP warnings.
    255259
    256260= 5.2.1 (2025-12-09) =
  • molongui-authorship/trunk/changelog.txt

    r3415343 r3415571  
    22
    33== Changelog ==
     4
     5= 5.2.2 (2025-12-09) =
     6
     7* **Fixed**: Several PHP warnings.
    48
    59= 5.2.1 (2025-12-09) =
  • molongui-authorship/trunk/includes/admin/post-count-updater.php

    r3415065 r3415571  
    273273    public static function get_all_authors()
    274274    {
    275         return Authors::get_authors();
     275        return Authors::get_authors( array() );
    276276    }
    277277    public static function prepare_authors( $ids = null, $type = 'user' )
  • molongui-authorship/trunk/includes/author-filters.php

    r3415065 r3415571  
    478478            $author_id   = $the_query->guest_author_id;
    479479        }
    480         elseif ( $the_query->query_vars['author'] )
     480        elseif ( !empty( $the_query->query_vars['author'] ) )
    481481        {
    482482            $author_type = 'user';
     
    625625        {
    626626            $author->object = get_user_by( 'id', (int) $id_or_email->post_author );
    627             $author->id     = $author->object->ID;
     627            $author->id     = $author->object->get_id();
    628628            $author->type   = isset( $author->object->guest_id ) ? 'guest' : 'user';
    629629
     
    656656            if ( $author->object = Authors::get_author_by( 'user_email', $email, 'user' ) )
    657657            {
    658                 $author->id   = $author->object->ID;
     658                $author->id   = $author->object->get_id();
    659659                $author->type = 'user';
    660660            }
    661661            elseif ( $author->object = Authors::get_author_by( '_molongui_guest_author_mail', $email, 'guest' ) )
    662662            {
    663                 $author->id   = $author->object->ID;
     663                $author->id   = $author->object->get_id();
    664664                $author->type = 'guest';
    665665            }
  • molongui-authorship/trunk/molongui-authorship.php

    r3415343 r3415571  
    1313 * Plugin URI:        https://www.molongui.com/wordpress-plugin-post-authors
    1414 * Description:       All-in-One Authorship Solution: Seamless Author Box, Guest Authors, and Co-Authors to enhance your site's authority, credibility, engagement, and SEO.
    15  * Version:           5.2.1
     15 * Version:           5.2.2
    1616 * Requires at least: 5.2
    1717 * Tested up to:      6.9
     
    4444final class MolonguiAuthorship
    4545{
    46     const VERSION = '5.2.1';
     46    const VERSION = '5.2.2';
    4747    use Singleton;
    4848    function __construct()
Note: See TracChangeset for help on using the changeset viewer.