[Plugin: Watermark RELOADED] two quick improvements
-
Hello!
Nice plugin, but there are couple of small…ish issues:
1) notice warning. Always develop stuff witherror_reporting(E_ALL)
. So, on loader file, instead of:if ($_GET['action'] == 'error_scrape') {
You should have:
if ( isset( $_GET['action'] ) && $_GET['action'] == 'error_scrape') {
Bam, one warning fixed ??
2) List all image sizes. I wanted to add watermark on custom image sizes as well. So, instead of having:
foreach($this->_image_sizes as $image_size) : // line 680
I changed to:$all_sizes = get_intermediate_image_sizes(); foreach($all_sizes as $image_size) :
Done!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Watermark RELOADED] two quick improvements’ is closed to new replies.