Edit File by line
/home/barbar84/www/wp-conte.../plugins/wp-smush.../app/views
File: smush-page.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Render Smush pages.
[2] Fix | Delete
*
[3] Fix | Delete
* @package WP_Smush
[4] Fix | Delete
*/
[5] Fix | Delete
[6] Fix | Delete
namespace Smush\App\Views;
[7] Fix | Delete
[8] Fix | Delete
use WP_Smush;
[9] Fix | Delete
[10] Fix | Delete
if ( ! defined( 'WPINC' ) ) {
[11] Fix | Delete
die;
[12] Fix | Delete
}
[13] Fix | Delete
[14] Fix | Delete
/**
[15] Fix | Delete
* Prevent warnings.
[16] Fix | Delete
*
[17] Fix | Delete
* @var \Smush\App\Abstract_Page $this
[18] Fix | Delete
*/
[19] Fix | Delete
$this->do_meta_boxes( 'summary' );
[20] Fix | Delete
?>
[21] Fix | Delete
[22] Fix | Delete
<div class="sui-row-with-sidenav">
[23] Fix | Delete
<?php $this->show_tabs(); ?>
[24] Fix | Delete
<div>
[25] Fix | Delete
<?php $this->do_meta_boxes( $this->get_current_tab() ); ?>
[26] Fix | Delete
</div>
[27] Fix | Delete
</div><!-- end row -->
[28] Fix | Delete
[29] Fix | Delete
<?php if ( ! WP_Smush::is_pro() ) : ?>
[30] Fix | Delete
<?php if ( 'bulk' === $this->get_current_tab() ) : ?>
[31] Fix | Delete
<div class="sui-row" id="sui-cross-sell-footer">
[32] Fix | Delete
<div><span class="sui-icon-plugin-2"></span></div>
[33] Fix | Delete
<h3><?php esc_html_e( 'Check out our other free wordpress.org plugins!', 'wp-smushit' ); ?></h3>
[34] Fix | Delete
</div>
[35] Fix | Delete
<div class="sui-row sui-cross-sell-modules">
[36] Fix | Delete
<div class="sui-col-md-4">
[37] Fix | Delete
<div class="sui-cross-1 sui-cross-hummingbird"><span></span></div>
[38] Fix | Delete
<div class="sui-box">
[39] Fix | Delete
<div class="sui-box-body">
[40] Fix | Delete
<h3><?php esc_html_e( 'Hummingbird Page Speed Optimization', 'wp-smushit' ); ?></h3>
[41] Fix | Delete
<p><?php esc_html_e( 'Performance Tests, File Optimization & Compression, Page, Browser & Gravatar Caching, GZIP Compression, CloudFlare Integration & more.', 'wp-smushit' ); ?></p>
[42] Fix | Delete
<a href="<?php echo esc_url( 'https://wordpress.org/plugins/hummingbird-performance/' ); ?>" class="sui-button sui-button-ghost" target="_blank">
[43] Fix | Delete
<?php esc_html_e( 'View features', 'wp-smushit' ); ?> <i class="sui-icon-arrow-right"></i>
[44] Fix | Delete
</a>
[45] Fix | Delete
</div>
[46] Fix | Delete
</div>
[47] Fix | Delete
</div>
[48] Fix | Delete
<div class="sui-col-md-4">
[49] Fix | Delete
<div class="sui-cross-2 sui-cross-defender"><span></span></div>
[50] Fix | Delete
<div class="sui-box">
[51] Fix | Delete
<div class="sui-box-body">
[52] Fix | Delete
<h3><?php esc_html_e( 'Defender Security, Monitoring, and Hack Protection', 'wp-smushit' ); ?></h3>
[53] Fix | Delete
<p><?php esc_html_e( 'Security Tweaks & Recommendations, File & Malware Scanning, Login & 404 Lockout Protection, Two-Factor Authentication & more.', 'wp-smushit' ); ?></p>
[54] Fix | Delete
<a href="<?php echo esc_url( 'https://wordpress.org/plugins/defender-security/' ); ?>" class="sui-button sui-button-ghost" target="_blank">
[55] Fix | Delete
<?php esc_html_e( 'View features', 'wp-smushit' ); ?> <i class="sui-icon-arrow-right"></i>
[56] Fix | Delete
</a>
[57] Fix | Delete
</div>
[58] Fix | Delete
</div>
[59] Fix | Delete
</div>
[60] Fix | Delete
<div class="sui-col-md-4">
[61] Fix | Delete
<div class="sui-cross-3 sui-cross-smartcrawl"><span></span></div>
[62] Fix | Delete
<div class="sui-box">
[63] Fix | Delete
<div class="sui-box-body">
[64] Fix | Delete
<h3><?php esc_html_e( 'SmartCrawl Search Engine Optimization', 'wp-smushit' ); ?></h3>
[65] Fix | Delete
<p><?php esc_html_e( 'Customize Titles & Metadata, OpenGraph, Twitter & Pinterest Support, Auto-Keyword Linking, SEO & Readability Analysis, Sitemaps, URL Crawler & more.', 'wp-smushit' ); ?></p>
[66] Fix | Delete
<a href="<?php echo esc_url( 'https://wordpress.org/plugins/smartcrawl-seo/' ); ?>" class="sui-button sui-button-ghost" target="_blank">
[67] Fix | Delete
<?php esc_html_e( 'View features', 'wp-smushit' ); ?> <i class="sui-icon-arrow-right"></i>
[68] Fix | Delete
</a>
[69] Fix | Delete
</div>
[70] Fix | Delete
</div>
[71] Fix | Delete
</div>
[72] Fix | Delete
</div>
[73] Fix | Delete
<div class="sui-cross-sell-bottom">
[74] Fix | Delete
<?php
[75] Fix | Delete
$site_url = add_query_arg(
[76] Fix | Delete
array(
[77] Fix | Delete
'utm_source' => 'smush',
[78] Fix | Delete
'utm_medium' => 'plugin',
[79] Fix | Delete
'utm_campaign' => 'smush_footer_upsell_notice',
[80] Fix | Delete
),
[81] Fix | Delete
esc_url( 'https://premium.wpmudev.org' )
[82] Fix | Delete
);
[83] Fix | Delete
?>
[84] Fix | Delete
<h3><?php esc_html_e( 'Your All-in-One WordPress Platform', 'wp-smushit' ); ?></h3>
[85] Fix | Delete
<p><?php esc_html_e( 'Pretty much everything you need for developing and managing WordPress based websites, and then some.', 'wp-smushit' ); ?></p>
[86] Fix | Delete
<a class="sui-button sui-button-green" href="<?php echo esc_url( $site_url ); ?>" id="dash-uptime-update-membership" target="_blank">
[87] Fix | Delete
<?php esc_html_e( 'Learn more', 'wp-smushit' ); ?>
[88] Fix | Delete
</a>
[89] Fix | Delete
<img class="sui-image" src="<?php echo esc_url( WP_SMUSH_URL . 'app/assets/images/dev-team.png' ); ?>" srcset="<?php echo esc_url( WP_SMUSH_URL . 'app/assets/images/dev-team@2x.png' ); ?> 2x" alt="<?php esc_attr_e( 'Try pro features for free!', 'wp-smushit' ); ?>">
[90] Fix | Delete
</div>
[91] Fix | Delete
<?php endif; ?>
[92] Fix | Delete
[93] Fix | Delete
<div class="sui-footer">
[94] Fix | Delete
<?php esc_html_e( 'Made with', 'wp-smushit' ); ?> <i class="sui-icon-heart" aria-hidden="true"></i> <?php esc_html_e( 'by WPMU DEV', 'wp-smushit' ); ?>
[95] Fix | Delete
</div>
[96] Fix | Delete
[97] Fix | Delete
<ul class="sui-footer-nav">
[98] Fix | Delete
<li><a href="https://profiles.wordpress.org/wpmudev#content-plugins" target="_blank">
[99] Fix | Delete
<?php esc_html_e( 'Free Plugins', 'wp-smushit' ); ?>
[100] Fix | Delete
</a></li>
[101] Fix | Delete
<li><a href="https://premium.wpmudev.org/features/" target="_blank">
[102] Fix | Delete
<?php esc_html_e( 'Membership', 'wp-smushit' ); ?>
[103] Fix | Delete
</a></li>
[104] Fix | Delete
<li><a href="https://premium.wpmudev.org/roadmap/" target="_blank">
[105] Fix | Delete
<?php esc_html_e( 'Roadmap', 'wp-smushit' ); ?>
[106] Fix | Delete
</a></li>
[107] Fix | Delete
<li><a href="https://wordpress.org/support/plugin/wp-smushit" target="_blank">
[108] Fix | Delete
<?php esc_html_e( 'Support', 'wp-smushit' ); ?>
[109] Fix | Delete
</a></li>
[110] Fix | Delete
<li><a href="https://premium.wpmudev.org/docs/" target="_blank">
[111] Fix | Delete
<?php esc_html_e( 'Docs', 'wp-smushit' ); ?>
[112] Fix | Delete
</a></li>
[113] Fix | Delete
<li><a href="https://premium.wpmudev.org/hub-welcome/" target="_blank">
[114] Fix | Delete
<?php esc_html_e( 'The Hub', 'wp-smushit' ); ?>
[115] Fix | Delete
</a></li>
[116] Fix | Delete
<li><a href="https://premium.wpmudev.org/terms-of-service/" target="_blank">
[117] Fix | Delete
<?php esc_html_e( 'Terms of Service', 'wp-smushit' ); ?>
[118] Fix | Delete
</a></li>
[119] Fix | Delete
<li><a href="https://incsub.com/privacy-policy/" target="_blank">
[120] Fix | Delete
<?php esc_html_e( 'Privacy Policy', 'wp-smushit' ); ?>
[121] Fix | Delete
</a></li>
[122] Fix | Delete
</ul>
[123] Fix | Delete
[124] Fix | Delete
<?php else : ?>
[125] Fix | Delete
[126] Fix | Delete
<div class="sui-footer">
[127] Fix | Delete
<?php esc_html_e( 'Made with', 'wp-smushit' ); ?> <i class="sui-icon-heart" aria-hidden="true"></i> <?php esc_html_e( 'by WPMU DEV', 'wp-smushit' ); ?>
[128] Fix | Delete
</div>
[129] Fix | Delete
[130] Fix | Delete
<ul class="sui-footer-nav">
[131] Fix | Delete
<li><a href="https://premium.wpmudev.org/hub/" target="_blank">
[132] Fix | Delete
<?php esc_html_e( 'The Hub', 'wp-smushit' ); ?>
[133] Fix | Delete
</a></li>
[134] Fix | Delete
<li><a href="https://premium.wpmudev.org/projects/category/plugins/" target="_blank">
[135] Fix | Delete
<?php esc_html_e( 'Plugins', 'wp-smushit' ); ?>
[136] Fix | Delete
</a></li>
[137] Fix | Delete
<li><a href="https://premium.wpmudev.org/roadmap/" target="_blank">
[138] Fix | Delete
<?php esc_html_e( 'Roadmap', 'wp-smushit' ); ?>
[139] Fix | Delete
</a></li>
[140] Fix | Delete
<li><a href="https://premium.wpmudev.org/hub/support/" target="_blank">
[141] Fix | Delete
<?php esc_html_e( 'Support', 'wp-smushit' ); ?>
[142] Fix | Delete
</a></li>
[143] Fix | Delete
<li><a href="https://premium.wpmudev.org/docs/" target="_blank">
[144] Fix | Delete
<?php esc_html_e( 'Docs', 'wp-smushit' ); ?>
[145] Fix | Delete
</a></li>
[146] Fix | Delete
<li><a href="https://premium.wpmudev.org/hub/community/" target="_blank">
[147] Fix | Delete
<?php esc_html_e( 'Community', 'wp-smushit' ); ?>
[148] Fix | Delete
</a></li>
[149] Fix | Delete
<li><a href="https://premium.wpmudev.org/academy/" target="_blank">
[150] Fix | Delete
<?php esc_html_e( 'Academy', 'wp-smushit' ); ?>
[151] Fix | Delete
</a></li>
[152] Fix | Delete
<li><a href="https://premium.wpmudev.org/terms-of-service/" target="_blank">
[153] Fix | Delete
<?php esc_html_e( 'Terms of Service', 'wp-smushit' ); ?>
[154] Fix | Delete
</a></li>
[155] Fix | Delete
<li><a href="https://incsub.com/privacy-policy/" target="_blank">
[156] Fix | Delete
<?php esc_html_e( 'Privacy Policy', 'wp-smushit' ); ?>
[157] Fix | Delete
</a></li>
[158] Fix | Delete
</ul>
[159] Fix | Delete
<?php endif; ?>
[160] Fix | Delete
[161] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function