puggan
Forum Replies Created
-
Tha patch above dosn’t solve the invalid .htaccess-file.
Forum: Plugins
In reply to: [Autoptimize] Remove type-attributeMade a path-file to go around it, but I’m glad to hear that it solved in 2.6.
Is the layzloader-css problem also solved, <style> should be in the <head>.
if not, I made a patch for that to.Layz Load CSS:
https://github.com/SpiroAB/Autoptimize/commit/7c0f3bb2482d0a7fee0d4e1e3ac52a50ec13c96cRemove Types patch
https://github.com/SpiroAB/Autoptimize/commit/754f2d3b698d97d9cbc3b787fee81d132ed83cb1Forum: Plugins
In reply to: [Contact Form 7] Checkbox default get and fallbackAs a workaround, I implemented:
if(!$multiple) { $defaults = array_slice($defaults, 0, 1); }Forum: Plugins
In reply to: [Bitid Authentication] headers already sentSolved in 0.0.3
Forum: Plugins
In reply to: permalinks to imagesi don’t know if this is the right way, but i solved it
in the filter: “parse_request”.if($wp->query_vars[‘name’] == ‘image’)
{
$imageID = (int) trim($wp->query_vars[‘page’], ‘/’);
$picture = nggdb::find_image($imageID);
$file = $picture->imagePath;
$mime = mime_content_type($file);
header(“Content-type: {$mime}”);
die(file_get_contents($file));
}the parameters name and page works, but sounds bad.
Any one got a better way to solve this?