Support » Plugin: Watermark RELOADED » [Plugin: Watermark RELOADED] two quick improvements

  • Resolved Ionut Staicu

    (@iamntz)


    Hello!

    Nice plugin, but there are couple of small…ish issues:
    1) notice warning. Always develop stuff with error_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!

    http://wordpress.org/extend/plugins/watermark-reloaded/

Viewing 1 replies (of 1 total)
  • Plugin Author sverde1

    (@sverde1)

    Thank you I will include this in my next release.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Watermark RELOADED] two quick improvements’ is closed to new replies.