Commit Graph

69 Commits

Author SHA1 Message Date
Mike Jolley a4b6110990 Prevent timeouts with option + reduce number of thumbnails generated by script 2018-01-25 15:04:55 +00:00
Mike Jolley c7ccc93a69 Prevent timeouts with option + reduce number of thumbnails generated by script 2018-01-25 15:02:33 +00:00
Mike Jolley 371f504964 Helpers for theme support vars and error messages. 2018-01-08 18:48:57 +00:00
Mike Jolley 3bc102b72f Only resize WC image sizes. 2017-12-12 17:24:52 +00:00
Caleb Burks af4d7c6bcb Change filter to action 2017-12-11 21:09:16 -06:00
Umesh Ghimire e128f774c4 Revert isset check as it was previously 2017-11-29 14:13:47 +05:45
Shiva Poudel d4b4b808ed Fix - Check and process if woocommerce_thumbnail is size 2017-11-29 12:54:32 +05:45
Gerhard Potgieter 26c7cf15cd Use single isset with multiple params instead of multiple isset's 2017-11-20 13:23:10 +02:00
Gerhard Potgieter b7f76e1a1b Make sure sizes array exist before checking for children 2017-11-20 07:50:35 +02:00
Gerhard Potgieter a4532b1e0b Make method private again and add new method that checks if new theme declares theme support with custom sizes before generating images. 2017-11-16 15:02:34 +02:00
Gerhard Potgieter c9cd9b033b Public method not private, self not $this. 2017-11-16 14:53:44 +02:00
Gerhard Potgieter 17e588d713 Add method to regenerate images when the theme is switched. 2017-11-16 14:37:33 +02:00
Gerhard Potgieter 3a738d9235 Move filters before calling the callback. Target specific option only when doing the check. 2017-11-16 14:15:30 +02:00
Gerhard Potgieter 14bc175241 Remove unused variable, make sure we have the wp image functions loaded before calling them. 2017-11-15 10:23:54 +02:00
Gerhard Potgieter 329f28f08b Fix SQL query for job queue processing, fix issue where admin images were trying to go through the image resize function. 2017-11-15 10:18:10 +02:00
Gerhard Potgieter 67d2b8e9c5 Use static variable on static class 2017-11-15 10:03:59 +02:00
Gerhard Potgieter c698b13f6c Completed background image regeneration using a job and queue. 2017-11-15 09:23:36 +02:00
Gerhard Potgieter 5af93f68ad Add basic background queue processing framework for image regeneration 2017-11-15 08:36:57 +02:00
Gerhard Potgieter 016cfabb75 On the fly image regeneration. 2017-11-14 14:39:28 +02:00