• seteselos

    (@seteselos)


    This plugin is wonderful! But I’m giving an average review because of delays to fix a simple problem with Feedback “You can not access this page directly.” Which has not yet been corrected. To solve this, simply edit this in the root of the plugin “wp-login.php-social” file and change line 84 in the definition of the constant “WORDPRESS_SOCIAL_LOGIN_PLUGIN_URL”. Defining it the pugin used another constant, the “WP_PLUGIN_URL”, the correct use is “plugins_url ()” function, because “WP_PLUGIN_URL” do not get the correct url multisite. If you are using multisite with “Domain Mapping” and custom domain, the session created in the custom field will not be present in the field reporting on “WP_PLUGIN_URL”. Therefore the configuration can not be obtained, and the error will be issued.

    Este plugin é maravilhoso! Mas estou dando um comentário mediano por causa da demora para corrigir um problema tão simples com a menssagem “You cannot access this page directly.”, que ainda não foi corrigida. Para solucionar, basta editar o arquivo “wp-social-login.php” presente na raiz do plugin e alterar na linha 84 a definição da constante “WORDPRESS_SOCIAL_LOGIN_PLUGIN_URL”. Ao defini-la o pugin utilizou uma outra constante, a “WP_PLUGIN_URL”, o correto é usar a função “plugins_url()”, porque “WP_PLUGIN_URL” não obtem o url multisite correto. Se você estiver usando multisite junto com “Domain Mapping” , e domínio personalizado, a sessão criada no domínio personalizado não estará presente no domínio informando em “WP_PLUGIN_URL”. Portanto a configuração não poderá ser obtida, e será emitido o erro.

  • The topic ‘You cannot access this page directly’ is closed to new replies.