WordPress.org

Ready to get started?Download WordPress

Forums

Watermark RELOADED
[resolved] two quick improvements (2 posts)

  1. Ionut Staicu
    Member
    Posted 2 years ago #

    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/

  2. sverde1
    Member
    Plugin Author

    Posted 2 years ago #

    Thank you I will include this in my next release.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic