WordPress.org

Ready to get started?Download WordPress

Forums

Social Media Icons Widget
[resolved] Deprecated use of get_user_by_email() (2 posts)

  1. Matthew Eppelsheimer
    Member
    Posted 1 year ago #

    There is a deprecated function call on line 326 of the file smc_widget.php:

    $blog_admin_info = get_user_by_email($blog_admin_email);

    get_user_by_email() is deprecated and generates a Notice with WP_DEBUG enabled. It should be updated to:

    $blog_admin_info = get_user_by( 'email', $blog_admin_email );

    For more info, refer to http://queryposts.com/function/get_user_by_email/ or http://codex.wordpress.org/Function_Reference/get_user_by_email

    http://wordpress.org/extend/plugins/social-media-icons/

  2. arstropica
    Member
    Plugin Author

    Posted 1 year ago #

    Updated in v. 1.2.5.
    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags