systemaddict
Forum Replies Created
-
Thank you for swift action!
Was this released because I’m still getting this on the latest version?
Fatal error: Can’t use method return value in write context in …/plugins/eu-opt-in-compliance-for-mailchimp/yikes-inc-easy-mailchimp-eu-law-compliance-extension.php on line 150
Forum: Plugins
In reply to: [LiteSpeed Cache] How to get “Cache tablet”Thanks!
So the settings page in the plugin is basically just a frontend for htaccess changes?
I’m asking because if I make the tablet entry in htaccess, I guess it would be deleted if someone saved the settings page?
Forum: Fixing WordPress
In reply to: Blog Post Title Keeps DisappearingWe have one user who experience exactly this problem as well.
Did you manage to track down the problem?
Forum: Fixing WordPress
In reply to: admin-ajax.php 404 (Not Found)I also have this error with 4.5.3
I see this error when trying to add new menu items:
POST http://shero.dk/wp-admin/admin-ajax.php 404 (Not Found)
load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mo…:4 POST http://shero.dk/wp-admin/admin-ajax.php 404 (Not Found)send @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mo…:4ajax @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mo…:4(anonymous function) @ load-scripts.php?c=1&load[]=underscore,customize-base,wp-a11y,customize-controls,backbone,wp-util,w…:13a.Deferred @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mo…:9send @ load-scripts.php?c=1&load[]=underscore,customize-base,wp-a11y,customize-controls,backbone,wp-util,w…:13post @ load-scripts.php?c=1&load[]=underscore,customize-base,wp-a11y,customize-controls,backbone,wp-util,w…:13c @ load-scripts.php?c=1&load[]=underscore,customize-base,wp-a11y,customize-controls,backbone,wp-util,w…:10save @ load-scripts.php?c=1&load[]=underscore,customize-base,wp-a11y,customize-controls,backbone,wp-util,w…:10(anonymous function) @ load-scripts.php?c=1&load[]=underscore,customize-base,wp-a11y,customize-controls,backbone,wp-util,w…:10dispatch @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mo…:3r.handle @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mo…:3
Great. I did revert my code so you can see it live on:
Check the bottom middle story (girl with hands up). This one creates a source set with non aspect ratio images.
If you then see the page in iPhone 6+ (using Chrome emulator) the boxes are in chaos because of the generated source set. The really strange thing is that Chrome “creates” a natural image of 380×252 (even though the original is 380×256).
Even a 1 px difference would have caused this shuffling so I guess this could be a cause of concern.
Here are my image definitions:
add_image_size( ‘frontpage-default’, 380, 256, true );
add_image_size( ‘frontpage-featured’, 790, 256, true );update_option( ‘medium_size_w’, 320 );
update_option( ‘medium_size_h’, 320 );
update_option( ‘medium_crop’, 0 );update_option( ‘medium_large_size_w’, 480 );
update_option( ‘medium_large_size_h’, 480 );
update_option( ‘medium_large_crop’, 0 );update_option( ‘large_size_w’, 690 );
update_option( ‘large_size_h’, 690 );
update_option( ‘large_crop’, 0 );I think I might see situations where srcset contains images that are not the same aspect ratio as the original
So I will have this in src attribute:
http://rabbit.sunde.tips/wp-content/uploads/2015/11/4WaystoSayNo-380×256.jpg
And then a source set like this:
http://rabbit.sunde.tips/wp-content/uploads/2015/11/4WaystoSayNo-320×213.jpg 320w, http://rabbit.sunde.tips/wp-content/uploads/2015/11/4WaystoSayNo-480×319.jpg 480w, http://rabbit.sunde.tips/wp-content/uploads/2015/11/4WaystoSayNo-690×459.jpg 690w, http://rabbit.sunde.tips/wp-content/uploads/2015/11/4WaystoSayNo-380×256.jpg 380w, http://rabbit.sunde.tips/wp-content/uploads/2015/11/4WaystoSayNo.jpg 849w
My 380×256 is a hardcropped image but somehow my other custom image formats (soft cropped) also appear in srcset although they have different aspect ratio. And this actually creates some strange behavior (at least in my layout) where pixels somehow magically dissappear when Chrome picks the best image.
I have a feeling that putting this in core WP might create some frustrations among non-coders that can really understand some of the more intricate browser decisions here. And the way I see this we will need to tweak srcset on certain pages like frontpage, galleries, etc.
But I love the idea and speed I’m getting.
Forum: Fixing WordPress
In reply to: When adding multiple images default size and link-to not respectedYes, this is a issue on a completely fresh wordpress.
I actually searched and searched for the bug report page, but couldn’t find the link. Can you help?
Forum: Plugins
In reply to: [CMS Tree Page View] Problem during mouse hover over and page additionHi Pär
Did you release the new version with the bug fix. It doesn’t show up it seems.
Thanks for a great plugin,
Soeren