Support » Plugin: Flow-Flow Social Feed Stream » How to submit patches?

  • Hello!

    Do you have a Github/Gitlab/Bitbucket etc repository somewhere? How do I submit patches to fix bugs I’ve debugged and fixed in my local copy?

Viewing 1 replies (of 1 total)
  • Thread Starter Otto Kekäläinen


    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();
Viewing 1 replies (of 1 total)
  • The topic ‘How to submit patches?’ is closed to new replies.