Support » Plugin: Google+ Crossposting » PHP Warning on line 126, G Crossposting v 1.1.2

  • Resolved Sophie Wrobel

    (@webmagex)


    Please fix line 126 so that it doesn’t print ugly PHP warning on page output when $post_meta is undefined. Thanks!

    Old:
    if (! array_key_exists(‘g_crossposting_posturl’, $post_meta)) {

    New:
    if ($post_meta && ! array_key_exists(‘g_crossposting_posturl’, $post_meta)) {

    http://wordpress.org/extend/plugins/g-crossposting/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP Warning on line 126, G Crossposting v 1.1.2’ is closed to new replies.