Plugin Directory

Changeset 2233237


Ignore:
Timestamp:
01/25/2020 03:20:47 PM (6 years ago)
Author:
corgdesign
Message:

Add support for pages

Location:
minimum-featured-image-size/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • minimum-featured-image-size/trunk/mfis.php

    r2071781 r2233237  
    33Plugin Name: Minimum Featured Image Size
    44Description: Set the minimum size required for featured images used in standard and custom posts.
    5 Version:     2.0.1
     5Version:     2.0.2
    66Author:      Martin Stewart
    77Author URI:  https://corgmo.github.io/
     
    369369    $image_height = $image_data[2];
    370370
    371     if ($post_type === 'post') :
     371    if ($post_type === 'post' || $post_type === 'page') :
    372372
    373373        $min_width = get_option('mfis_min_width');
     
    421421    $mfis_default_error_message = 'Publishing disabled! The Featured Image you\'ve chosen is not large enough, it must be at least [width] x [height]';
    422422
    423     if ($post_type === 'post') :
     423    if ($post_type === 'post' || $post_type === 'page') :
    424424
    425425        $min_width = get_option('mfis_min_width');
  • minimum-featured-image-size/trunk/readme.txt

    r2229549 r2233237  
    5151= 2.0.1 =
    5252* Bug fix
     53
     54= 2.0.2 =
     55* Add support for pages
Note: See TracChangeset for help on using the changeset viewer.