Title: Otto Kekäläinen's Replies | WordPress.org

---

# Otto Kekäläinen

  [  ](https://wordpress.org/support/users/ottok/)

 *   [Profile](https://wordpress.org/support/users/ottok/)
 *   [Topics Started](https://wordpress.org/support/users/ottok/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ottok/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ottok/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ottok/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ottok/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ottok/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 57 total)

1 [2](https://wordpress.org/support/users/ottok/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/ottok/replies/page/3/?output_format=md) 
[4](https://wordpress.org/support/users/ottok/replies/page/4/?output_format=md) 
[→](https://wordpress.org/support/users/ottok/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SameSite Cookies] Can’t log in after installing your plugin](https://wordpress.org/support/topic/cant-log-in-after-installing-your-plugin/)
 *  [Otto Kekäläinen](https://wordpress.org/support/users/ottok/)
 * (@ottok)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/cant-log-in-after-installing-your-plugin/#post-13595924)
 * I fixed this now with a mu-plugin:
 *     ```
       commit 4b6579336ab7e966c2fd5cc4c52c2fa0d3de737e (HEAD -> master)
       Author: Seravo Admin <no-reply@seravo.com>
       Date:   Thu Oct 29 12:40:02 2020 +0200
   
           Always use "Remember me" to circumvent bug in plugin Samesite
   
           https://wordpress.org/support/topic/cant-log-in-after-installing-your-plugin/#post-13559023
   
       diff --git a/htdocs/wp-content/mu-plugins/always-remember-login.php b/htdocs/wp-content/mu-plugins/always-remember-login.php
       new file mode 100644
       index 0000000..0c200d0
       --- /dev/null
       +++ b/htdocs/wp-content/mu-plugins/always-remember-login.php
       @@ -0,0 +1,9 @@
       +<?php
       +function login_checked_remember_me() {
       +  add_filter( 'login_footer', 'rememberme_checked' );
       +}
       +
       +add_action( 'login_enqueue_scripts', 'login_checked_remember_me', 100 );
       +function rememberme_checked() {
       +  echo "<script>document.getElementById('rememberme').checked = true;</script>";
       +}
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SameSite Cookies] Can’t log in after installing your plugin](https://wordpress.org/support/topic/cant-log-in-after-installing-your-plugin/)
 *  [Otto Kekäläinen](https://wordpress.org/support/users/ottok/)
 * (@ottok)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/cant-log-in-after-installing-your-plugin/#post-13559023)
 * When I log in and it fails:
 *     ```
       set-cookie: wordpress_test_cookie=WP+Cookie+check; path=/; secure
       set-cookie: wordpress_sec_dcfecb4f7f4693ded9f0540a1d77266b=seravo%7C1603390318%7CWwBZ0e1TqBKjL6xX8qH0ZHW9sru0e0TNsgDnSgMHfGU%7C13e42107dd0073bf6a0b648f38ae4af81830b30c50f0d0a9e90a26b1333bd5df;expires=Thu, 01-Jan-1970 00:00:00 GMT;Max-Age=0;path=%2Fwp-content%2Fplugins;domain=;secure;httponly;SameSite=None
       set-cookie: wordpress_sec_dcfecb4f7f4693ded9f0540a1d77266b=seravo%7C1603390318%7CWwBZ0e1TqBKjL6xX8qH0ZHW9sru0e0TNsgDnSgMHfGU%7C13e42107dd0073bf6a0b648f38ae4af81830b30c50f0d0a9e90a26b1333bd5df;expires=Thu, 01-Jan-1970 00:00:00 GMT;Max-Age=0;path=%2Fwp-admin;domain=;secure;httponly;SameSite=None
       set-cookie: wordpress_logged_in_dcfecb4f7f4693ded9f0540a1d77266b=seravo%7C1603390318%7CWwBZ0e1TqBKjL6xX8qH0ZHW9sru0e0TNsgDnSgMHfGU%7C0de35ac9c7667d2c21aa85c70177c419bc449454b909278f862a96986413ed3b;expires=Thu, 01-Jan-1970 00:00:00 GMT;Max-Age=0;path=%2F;domain=;secure;httponly;SameSite=None
       set-cookie: wordpress_user_sw_dcfecb4f7f4693ded9f0540a1d77266b=+; expires=Mon, 21-Oct-2019 18:11:58 GMT; Max-Age=0; path=/
       set-cookie: wordpress_user_sw_secure_dcfecb4f7f4693ded9f0540a1d77266b=+; expires=Mon, 21-Oct-2019 18:11:58 GMT; Max-Age=0; path=/
       set-cookie: wordpress_user_sw_olduser_dcfecb4f7f4693ded9f0540a1d77266b=+; expires=Mon, 21-Oct-2019 18:11:58 GMT; Max-Age=0; path=/
       ```
   
 * Note expiry time!
 * When I select “Remember me” and it works:
 *     ```
       set-cookie: wordpress_test_cookie=WP+Cookie+check; path=/; secure
       set-cookie: wordpress_sec_dcfecb4f7f4693ded9f0540a1d77266b=seravo%7C1604427186%7Cn6NprWMvzxd17i2VtsX7ZFI79ygZZpKDXLroG3JZylB%7C730c7e29358b26d6fab4c28628a1cade618b19224f22d386a459486b05d64b74;expires=Wed, 04-Nov-2020 06:13:06 GMT;Max-Age=1252800;path=%2Fwp-content%2Fplugins;domain=;secure;httponly;SameSite=None
       set-cookie: wordpress_sec_dcfecb4f7f4693ded9f0540a1d77266b=seravo%7C1604427186%7Cn6NprWMvzxd17i2VtsX7ZFI79ygZZpKDXLroG3JZylB%7C730c7e29358b26d6fab4c28628a1cade618b19224f22d386a459486b05d64b74;expires=Wed, 04-Nov-2020 06:13:06 GMT;Max-Age=1252800;path=%2Fwp-admin;domain=;secure;httponly;SameSite=None
       set-cookie: wordpress_logged_in_dcfecb4f7f4693ded9f0540a1d77266b=seravo%7C1604427186%7Cn6NprWMvzxd17i2VtsX7ZFI79ygZZpKDXLroG3JZylB%7C3d8c3509c9db07390241cbcde794ea4b55bea126c94837b3e1e244ec07ad2164;expires=Wed, 04-Nov-2020 06:13:06 GMT;Max-Age=1252800;path=%2F;domain=;secure;httponly;SameSite=None
       set-cookie: wordpress_user_sw_dcfecb4f7f4693ded9f0540a1d77266b=+; expires=Mon, 21-Oct-2019 18:13:06 GMT; Max-Age=0; path=/
       set-cookie: wordpress_user_sw_secure_dcfecb4f7f4693ded9f0540a1d77266b=+; expires=Mon, 21-Oct-2019 18:13:06 GMT; Max-Age=0; path=/
       set-cookie: wordpress_user_sw_olduser_dcfecb4f7f4693ded9f0540a1d77266b=+; expires=Mon, 21-Oct-2019 18:13:06 GMT; Max-Age=0; path=/
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SameSite Cookies] Can’t log in after installing your plugin](https://wordpress.org/support/topic/cant-log-in-after-installing-your-plugin/)
 *  [Otto Kekäläinen](https://wordpress.org/support/users/ottok/)
 * (@ottok)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/cant-log-in-after-installing-your-plugin/#post-13559006)
 * This seems like a duplicate of [https://wordpress.org/support/topic/refreshes-login-screen-when-logging-in/](https://wordpress.org/support/topic/refreshes-login-screen-when-logging-in/)
 * Login only works if “Remember Me” is selected, otherwise users are just redirected
   back to the login screen.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Flow-Flow Social Streams] How to submit patches?](https://wordpress.org/support/topic/how-to-submit-patches-3/)
 *  Thread Starter [Otto Kekäläinen](https://wordpress.org/support/users/ottok/)
 * (@ottok)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/how-to-submit-patches-3/#post-13409304)
 * Ping?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Flow-Flow Social Streams] How to submit patches?](https://wordpress.org/support/topic/how-to-submit-patches-3/)
 *  Thread Starter [Otto Kekäläinen](https://wordpress.org/support/users/ottok/)
 * (@ottok)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/how-to-submit-patches-3/#post-13342924)
 * Why don’t you reply?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Flow-Flow Social Streams] How to submit patches?](https://wordpress.org/support/topic/how-to-submit-patches-3/)
 *  Thread Starter [Otto Kekäläinen](https://wordpress.org/support/users/ottok/)
 * (@ottok)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/how-to-submit-patches-3/#post-13283682)
 * No way to contribute, or..?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Flow-Flow Social Streams] How to submit patches?](https://wordpress.org/support/topic/how-to-submit-patches-2/)
 *  Thread Starter [Otto Kekäläinen](https://wordpress.org/support/users/ottok/)
 * (@ottok)
 * [6 years ago](https://wordpress.org/support/topic/how-to-submit-patches-2/#post-12952735)
 * I wrote this patch to fix the failure mode of Flow-Flow. Currently if the database
   connection is flaky, there is an unhandled error thrown. The least that should
   be done, is to prevent the error from being cached. Currently the Flow-Flow error
   is just a normal HTTP 200 OK respons like any other, which is a design flaw in
   my opinion.
 *     ```
       --- /data/backups/data/wordpress/htdocs/wp-content/plugins/flow-flow/includes/db/FFDB.php	2020-06-06 10:01:59.000000000 +0300
       +++ FFDB.php	2020-06-06 10:14:41.258273222 +0300
       @@ -45,3 +45,2 @@
                       } catch(\Exception $e){
       +                        header($_SERVER['SERVER_PROTOCOL'] . ' 500 Internal Server Error (Flow-Flow bug)', true, 500);
       +                        nocache_headers();
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Nav Menu Cache] Tiny cache](https://wordpress.org/support/topic/tiny-cache/)
 *  [Otto Kekäläinen](https://wordpress.org/support/users/ottok/)
 * (@ottok)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/tiny-cache/#post-9439059)
 * The link above does not work anymore..
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Renaming /readme.html is extremely poor behaviour](https://wordpress.org/support/topic/renaming-readmehtml-is-extremely-poor-behaviour/)
 *  [Otto Kekäläinen](https://wordpress.org/support/users/ottok/)
 * (@ottok)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/renaming-readmehtml-is-extremely-poor-behaviour/page/2/#post-8552328)
 * I guess this is still unresolved. If somebody want’s to automate negating the
   stupid option, and in effect prevent any user from selecting it, but this in 
   your cron:
 * `wp db query "UPDATE wp_wfConfig SET val=0 WHERE name='other_hideWPVersion';"`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Renaming /readme.html is extremely poor behaviour](https://wordpress.org/support/topic/renaming-readmehtml-is-extremely-poor-behaviour/)
 *  [Otto Kekäläinen](https://wordpress.org/support/users/ottok/)
 * (@ottok)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/renaming-readmehtml-is-extremely-poor-behaviour/page/2/#post-8364116)
 * Users are often qualified to install plugins, edit the theme etc but we don’t
   trust all admin users to correctly configure plugins that contain “bad” options.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Renaming /readme.html is extremely poor behaviour](https://wordpress.org/support/topic/renaming-readmehtml-is-extremely-poor-behaviour/)
 *  [Otto Kekäläinen](https://wordpress.org/support/users/ottok/)
 * (@ottok)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/renaming-readmehtml-is-extremely-poor-behaviour/page/2/#post-8363559)
 * The example by [@janwoostendorp](https://wordpress.org/support/users/janwoostendorp/)
   is great. It will help smart developers to protect site settings being messed
   up by less smart developers. It is a great suggestion and a good compromise if
   you don’t agree on completely removing the readme.html renaming in the first 
   place.
 * We are not interested in a workaround, we already have plenty of them, but we
   wish the author to provide us with the final fix.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Renaming /readme.html is extremely poor behaviour](https://wordpress.org/support/topic/renaming-readmehtml-is-extremely-poor-behaviour/)
 *  [Otto Kekäläinen](https://wordpress.org/support/users/ottok/)
 * (@ottok)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/renaming-readmehtml-is-extremely-poor-behaviour/page/2/#post-8350158)
 * This example by [@janwoostendorp](https://wordpress.org/support/users/janwoostendorp/)
   is great. Please, please [@mmaunder](https://wordpress.org/support/users/mmaunder/)
   add this filter so that developers can disable the feature no matter how many
   times users try to select it.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WP erro_log](https://wordpress.org/support/topic/wp-erro_log/)
 *  [Otto Kekäläinen](https://wordpress.org/support/users/ottok/)
 * (@ottok)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/wp-erro_log/#post-8344174)
 * An error message like this is usually related to a too big query, field or something
   else in the database. Try analyzing your database – is something unhealthy big?
   Clean it up. If not possible, find a server expert and get help to migrate to
   a bigger server with bigger database limits.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Co-Branding](https://wordpress.org/support/topic/co-branding/)
 *  [Otto Kekäläinen](https://wordpress.org/support/users/ottok/)
 * (@ottok)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/co-branding/#post-8344152)
 * Yes. Just use the same theme on both sites and the branding will look the same.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress Update failure – nginx](https://wordpress.org/support/topic/wordpress-update-failure-nginx/)
 *  [Otto Kekäläinen](https://wordpress.org/support/users/ottok/)
 * (@ottok)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/wordpress-update-failure-nginx/#post-8344151)
 * What output do you get if you run `ping wordpress.org` or `curl -IL wordpress.
   org` on the server? It seems the connection to wordpress.org is somehow blocked.

Viewing 15 replies - 1 through 15 (of 57 total)

1 [2](https://wordpress.org/support/users/ottok/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/ottok/replies/page/3/?output_format=md) 
[4](https://wordpress.org/support/users/ottok/replies/page/4/?output_format=md) 
[→](https://wordpress.org/support/users/ottok/replies/page/2/?output_format=md)