Ryan Neudorf
Forum Replies Created
-
Thanks.
Will this be available for general release soon?
Great news!
Due to a platform plugin we run, this is affecting all of our customers who use your plugin.
What is the temporary fix you’d recommend?
Thanks,
RyanHi.
So the issue is as follows:
- The hash for
/ralouphie/getallheaders/src/getallheaders.phpin this plugin is7b11c4dc42b3b3023073cb14e519683c(you can see that here: https://plugins.svn.wordpress.org/ameliabooking/trunk/vendor/composer/autoload_files.php - This is the same hash that composer will generated for an unmodified version of
ralouphie/getallheaders. - You have modified
getallheaders.phpto rename the funciton, here: https://plugins.svn.wordpress.org/ameliabooking/trunk/vendor/ralouphie/getallheaders/src/getallheaders.php - When another plugin also includes
ralouphie/getallheaders, if Amelia loads first, composer will skip loading that plugin’s version ofralouphie/getallheaders(since they share hashes). - Amelia has renamed
getallheaders()toameliavendor_getallheadershere: https://plugins.svn.wordpress.org/ameliabooking/trunk/vendor/ralouphie/getallheaders/src/getallheaders.php - So when code outside of the Amelia plugin runs and that code needs a
getallheaders()polyfill, it will result in a fatal error due to the method being undefined.
Here are some related issues:
https://github.com/composer/composer/issues/7942
https://github.com/humbug/php-scoper/issues/298It seems that the composer hashing behaviour may have been resolved in php-scoper v0.18.0. So rebuilding with the latest version of scope my resolve the issue.
However, in my opinion, it would be best just to excluderalouphie/getallheadersfrom php-scope entirely since it is a polyfill for a PHP core method.Forum: Plugins
In reply to: [Friends] Stopped seeing friend feed updatesSeems to be related to this issue: https://github.com/akirk/friends/issues/563
Forum: Plugins
In reply to: [Database Sync] [Feature Request] Replace Site URL@tamlyn to be honest, i always forget about this solution. It doesn’t fix URLs in the content though, does it?
I’ve enabled this setting by modifing lib/admin/settings.php and front/style.php: https://dl.dropboxusercontent.com/u/480185/responsive-accordion-and-collapse.zip
The inline CSS for .wpsm_panel-body is echoed inside the page
<body>with an!important. This makes it impossible to override the font defined in the plugin with CSS from the theme’s style.An option to disable the plugin’s font setting would be appreciated.
Why not give soliloquy its own capability?
Same problem here.
I’m sending you an email.
- The hash for