Support » Plugin: WP Geo » [PATCH] Only variables should be assigned by reference

  • Resolved flynsarmy

    (@flynsarmy)


    PHP 5.4.10 on WP 3.6. Getting the warning

    Strict standards: Only variables should be assigned by reference in /path/to/wp-content/plugins/wp-geo/includes/templates.php on line 101

    In method get_wpgeo_title() simply change

    $p = &get_post( $post_id );

    to

    $p = get_post( $post_id );

    http://wordpress.org/plugins/wp-geo/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[PATCH] Only variables should be assigned by reference’ is closed to new replies.