WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Google Plus Bug? (2 posts)

  1. soerenhahnert
    Member
    Posted 1 year ago #

    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/

  2. Scott Offord
    Member
    Posted 1 year ago #

    I think I'm having the same issue. Hey Yoast... over here!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic