ascvh@#%(^-^)V ?host,ip,port,protocol,title,domain,country,city,link,org ???à JFIF x x ?? C ?? C ?à " ?? ?? μ } !1AQa "q2?‘?#B±áR?e$3br? %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz??…???‰?’“”?–—???¢£¤¥|§¨?a23′μ?·?1o??????èéêòó???×?ùúáa?????èéê?òó???÷?ùú?? ?? μ w !1AQ aq"2?B‘?±á #3Rebr?{
File "NewExclusionFormat.php"
Full Path: /home/zcziejy/ryadselyen/shortpixel-image-optimiser/class/Model/AdminNotices/NewExclusionFormat.php
File size: 1021 B
MIME-type: text/x-php
Charset: utf-8
<?php
namespace ShortPixel\Model\AdminNotices;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class NewExclusionFormat extends \ShortPixel\Model\AdminNoticeModel
{
protected $key = 'MSG_EXCLUSION_WARNING';
protected function checkTrigger()
{
$patterns = \wpSPIO()->settings()->excludePatterns;
if (! is_array($patterns))
{
return false;
}
foreach($patterns as $index => $pattern)
{
if (! isset($pattern['apply']))
{
return true;
}
}
return false;
}
protected function getMessage()
{
$message = "<p>" . __('As of version 5.5.0, ShortPixel Image Optimiser also checks thumbnails for exclusions. This can change which images are optimized and which are excluded. Please check your exclusion rules on the '
. '<a href="options-general.php?page=wp-shortpixel-settings&part=adv-settings">ShortPixel Settings</a> page.','shortpixel-image-optimiser') . "
</p>";
return $message;
}
}