WordPress.org

Support

Support » Plugins and Hacks » Google Plus Bug?

Google Plus Bug?

  • I was wondering, why i could choose (‘Display Google Plus Author Profile from Users Profile’) but there was no Input field in the Profile to set up the GPlus link.

    Not sure if it’s a bug or if i missed sth.

    I did a dirty hack to fix it. Would be glad if you answer me.

    I fixed it by changing the class-admin.php (Inserted between 346 and 347:

    <tr>
                <th><?php _e( "Google Plus Profile", 'wordpress-seo' ); ?></th>
                <td><input class="regular-text" type="text" name="googleplus"
                           value="<?php echo esc_attr( get_the_author_meta( 'googleplus', $user->ID ) ); ?>"/></td>
            </tr>

    And adding on line 293:

    update_user_meta( $user_id, 'googleplus', ( isset( $_POST['googleplus'] ) ? esc_html( $_POST['googleplus'] ) : '' ) );

    http://wordpress.org/extend/plugins/wordpress-seo/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Google Plus Bug?’ is closed to new replies.