Edit File by line
/home/barbar84/www/wp-conte.../plugins/updraftp.../template.../wp-admin/notices
File: horizontal-notice.php
<?php if (!defined('UPDRAFTPLUS_DIR')) die('No direct access allowed'); ?>
[0] Fix | Delete
[1] Fix | Delete
<?php if (!empty($button_meta) && 'review' == $button_meta) : ?>
[2] Fix | Delete
[3] Fix | Delete
<div class="updraft-ad-container updated">
[4] Fix | Delete
<div class="updraft_notice_container updraft_review_notice_container">
[5] Fix | Delete
<div class="updraft_advert_content_left_extra">
[6] Fix | Delete
<img src="<?php echo UPDRAFTPLUS_URL.'/images/'.$image;?>" width="100" alt="<?php _e('notice image', 'updraftplus');?>" />
[7] Fix | Delete
</div>
[8] Fix | Delete
<div class="updraft_advert_content_right">
[9] Fix | Delete
<p>
[10] Fix | Delete
<?php echo $text; ?>
[11] Fix | Delete
</p>
[12] Fix | Delete
[13] Fix | Delete
<?php if (!empty($button_link)) { ?>
[14] Fix | Delete
<div class="updraft_advert_button_container">
[15] Fix | Delete
<a class="button button-primary" href="<?php esc_attr_e(apply_filters('updraftplus_com_link', $button_link));?>" target="_blank" onclick="jQuery('.updraft-ad-container').slideUp(); jQuery.post(ajaxurl, {action: 'updraft_ajax', subaction: '<?php echo $dismiss_time;?>', nonce: '<?php echo wp_create_nonce('updraftplus-credentialtest-nonce');?>', dismiss_forever: '1' });">
[16] Fix | Delete
<?php _e('Ok, you deserve it', 'updraftplus'); ?>
[17] Fix | Delete
</a>
[18] Fix | Delete
<div class="dashicons dashicons-calendar"></div>
[19] Fix | Delete
<a class="updraft_notice_link" href="#" onclick="jQuery('.updraft-ad-container').slideUp(); jQuery.post(ajaxurl, {action: 'updraft_ajax', subaction: '<?php echo $dismiss_time;?>', nonce: '<?php echo wp_create_nonce('updraftplus-credentialtest-nonce');?>', dismiss_forever: '0' });">
[20] Fix | Delete
<?php _e('Maybe later', 'updraftplus'); ?>
[21] Fix | Delete
</a>
[22] Fix | Delete
<div class="dashicons dashicons-no-alt"></div>
[23] Fix | Delete
<a class="updraft_notice_link" href="#" onclick="jQuery('.updraft-ad-container').slideUp(); jQuery.post(ajaxurl, {action: 'updraft_ajax', subaction: '<?php echo $dismiss_time;?>', nonce: '<?php echo wp_create_nonce('updraftplus-credentialtest-nonce');?>', dismiss_forever: '1' });"><?php _e('Never', 'updraftplus'); ?></a>
[24] Fix | Delete
</div>
[25] Fix | Delete
<?php } ?>
[26] Fix | Delete
</div>
[27] Fix | Delete
</div>
[28] Fix | Delete
<div class="clear"></div>
[29] Fix | Delete
</div>
[30] Fix | Delete
[31] Fix | Delete
<?php else : ?>
[32] Fix | Delete
[33] Fix | Delete
<div class="updraft-ad-container updated">
[34] Fix | Delete
<div class="updraft_notice_container">
[35] Fix | Delete
<div class="updraft_advert_content_left">
[36] Fix | Delete
<img src="<?php echo UPDRAFTPLUS_URL.'/images/'.$image;?>" width="60" height="60" alt="<?php _e('notice image', 'updraftplus');?>" />
[37] Fix | Delete
</div>
[38] Fix | Delete
<div class="updraft_advert_content_right">
[39] Fix | Delete
<h3 class="updraft_advert_heading">
[40] Fix | Delete
<?php
[41] Fix | Delete
if (!empty($prefix)) echo $prefix.' ';
[42] Fix | Delete
echo $title;
[43] Fix | Delete
?>
[44] Fix | Delete
<div class="updraft-advert-dismiss">
[45] Fix | Delete
<?php if (!empty($dismiss_time)) { ?>
[46] Fix | Delete
<a href="#" onclick="jQuery('.updraft-ad-container').slideUp(); jQuery.post(ajaxurl, {action: 'updraft_ajax', subaction: '<?php echo $dismiss_time;?>', nonce: '<?php echo wp_create_nonce('updraftplus-credentialtest-nonce');?>' });"><?php _e('Dismiss', 'updraftplus'); ?></a>
[47] Fix | Delete
<?php } else { ?>
[48] Fix | Delete
<a href="#" onclick="jQuery('.updraft-ad-container').slideUp();"><?php _e('Dismiss', 'updraftplus'); ?></a>
[49] Fix | Delete
<?php } ?>
[50] Fix | Delete
</div>
[51] Fix | Delete
</h3>
[52] Fix | Delete
<p>
[53] Fix | Delete
<?php
[54] Fix | Delete
echo $text;
[55] Fix | Delete
[56] Fix | Delete
if (isset($discount_code)) echo ' <b>' . $discount_code . '</b>';
[57] Fix | Delete
[58] Fix | Delete
if (!empty($button_link) && !empty($button_meta)) {
[59] Fix | Delete
?>
[60] Fix | Delete
<a class="updraft_notice_link" href="<?php esc_attr_e(apply_filters('updraftplus_com_link', $button_link));?>"><?php
[61] Fix | Delete
if ('updraftcentral' == $button_meta) {
[62] Fix | Delete
_e('Get UpdraftCentral', 'updraftplus');
[63] Fix | Delete
} elseif ('updraftplus' == $button_meta) {
[64] Fix | Delete
_e('Get Premium', 'updraftplus');
[65] Fix | Delete
} elseif ('signup' == $button_meta) {
[66] Fix | Delete
_e('Sign up', 'updraftplus');
[67] Fix | Delete
} elseif ('go_there' == $button_meta) {
[68] Fix | Delete
_e('Go there', 'updraftplus');
[69] Fix | Delete
} else {
[70] Fix | Delete
_e('Read more', 'updraftplus');
[71] Fix | Delete
}
[72] Fix | Delete
?></a>
[73] Fix | Delete
<?php
[74] Fix | Delete
}
[75] Fix | Delete
?>
[76] Fix | Delete
</p>
[77] Fix | Delete
</div>
[78] Fix | Delete
</div>
[79] Fix | Delete
<div class="clear"></div>
[80] Fix | Delete
</div>
[81] Fix | Delete
[82] Fix | Delete
<?php
[83] Fix | Delete
[84] Fix | Delete
endif;
[85] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function