WordPress.org

Forums

Use Google Libraries
invalid reference notice (2 posts)

  1. Maik Penz
    Member
    Posted 1 year ago #

    In line 330 of plugin version 1.5.2 a method result is passed by reference:

    if ( wp_remote_retrieve_response_code( wp_remote_head( "http:$url" ) ) !== 200 ) {

    The correct way would be to

    $_remoteUrl = wp_remote_head( "http:$url" );
    if ( wp_remote_retrieve_response_code( $_remoteUrl ) !== 200 ) {

    https://wordpress.org/plugins/use-google-libraries/

  2. Jason Penney
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks, I'll hopefully fix it soon.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Use Google Libraries
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.