WordPress.org

Ready to get started?Download WordPress

Forums

Google Drive for WordPress
BUG - Configuration Form can't handle different instalatio (3 posts)

  1. Daniel Ribeiro
    Member
    Posted 1 year ago #

    Hello.
    Just to inform that the plugin have a little bug.
    In file wp-google-drive/class/settings-class.php, there is a line as follows:

    <form action="<?php echo get_option('home'); ?>/wp-admin/admin.php?page=configure_google&action=auth" method="post">

    The correct is:

    <form action="<?php echo site_url(); ?>/wp-admin/admin.php?page=configure_google&action=auth" method="post">

    Because some blogs are installed in different folders (not in the server root folder), and the plugins must respect the wordpress instalation folder.

    That's it. Best Wishes!

    http://wordpress.org/extend/plugins/wp-google-drive/

  2. Malarvizhi Krishnan
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for the bug info. Will keep in mind for further developments.

  3. squivo
    Member
    Posted 1 year ago #

    Thanks Daniel - Your little snippet there just worked for me - my wordpress install is in a different folder and I couldn't anything working. Hope that fix is in the next update for this plugin

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic