Edit File by line
/home/zeestwma/richards.../wp-conte.../plugins/wpforms-.../template.../admin
File: promotion.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Footer promotion template.
[2] Fix | Delete
*
[3] Fix | Delete
* @since 1.8.0
[4] Fix | Delete
*
[5] Fix | Delete
* @var string $title
[6] Fix | Delete
* @var array $links
[7] Fix | Delete
*/
[8] Fix | Delete
[9] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[10] Fix | Delete
exit;
[11] Fix | Delete
}
[12] Fix | Delete
[13] Fix | Delete
$links_count = count( $links );
[14] Fix | Delete
[15] Fix | Delete
?>
[16] Fix | Delete
<div class="wpforms-footer-promotion">
[17] Fix | Delete
<p><?php echo esc_html( $title ); ?></p>
[18] Fix | Delete
<ul class="wpforms-footer-promotion-links">
[19] Fix | Delete
<?php foreach ( $links as $key => $item ) : ?>
[20] Fix | Delete
<li>
[21] Fix | Delete
<?php
[22] Fix | Delete
$attributes = [
[23] Fix | Delete
'href' => esc_url( $item['url'] ),
[24] Fix | Delete
'target' => isset( $item['target'] ) ? $item['target'] : false,
[25] Fix | Delete
'rel' => isset( $item['target'] ) ? 'noopener noreferrer' : false,
[26] Fix | Delete
];
[27] Fix | Delete
[28] Fix | Delete
printf(
[29] Fix | Delete
'<a %1s>%2$s</a>%3$s',
[30] Fix | Delete
wpforms_html_attributes( '', [], [], $attributes, false ),
[31] Fix | Delete
esc_html( $item['text'] ),
[32] Fix | Delete
$links_count === $key + 1 ? '' : '<span>/</span>'
[33] Fix | Delete
);
[34] Fix | Delete
?>
[35] Fix | Delete
</li>
[36] Fix | Delete
<?php endforeach; ?>
[37] Fix | Delete
</ul>
[38] Fix | Delete
<ul class="wpforms-footer-promotion-social">
[39] Fix | Delete
<li>
[40] Fix | Delete
<a href="https://www.facebook.com/wpforms" target="_blank" rel="noopener noreferrer">
[41] Fix | Delete
<svg width="16" height="16" aria-hidden="true">
[42] Fix | Delete
<path fill="#A7AAAD" d="M16 8.05A8.02 8.02 0 0 0 8 0C3.58 0 0 3.6 0 8.05A8 8 0 0 0 6.74 16v-5.61H4.71V8.05h2.03V6.3c0-2.02 1.2-3.15 3-3.15.9 0 1.8.16 1.8.16v1.98h-1c-1 0-1.31.62-1.31 1.27v1.49h2.22l-.35 2.34H9.23V16A8.02 8.02 0 0 0 16 8.05Z"/>
[43] Fix | Delete
</svg>
[44] Fix | Delete
<span class="screen-reader-text"><?php echo esc_html( 'Facebook' ); ?></span>
[45] Fix | Delete
</a>
[46] Fix | Delete
</li>
[47] Fix | Delete
<li>
[48] Fix | Delete
<a href="https://www.instagram.com/wpforms/" target="_blank" rel="noopener noreferrer">
[49] Fix | Delete
<svg width="16" height="16" aria-hidden="true">
[50] Fix | Delete
<path fill="#A7AAAD" d="M8.016 4.39c-2 0-3.594 1.626-3.594 3.594 0 2 1.594 3.594 3.594 3.594a3.594 3.594 0 0 0 3.593-3.594c0-1.968-1.625-3.593-3.593-3.593Zm0 5.938a2.34 2.34 0 0 1-2.344-2.344c0-1.28 1.031-2.312 2.344-2.312a2.307 2.307 0 0 1 2.312 2.312c0 1.313-1.031 2.344-2.312 2.344Zm4.562-6.062a.84.84 0 0 0-.844-.844.84.84 0 0 0-.843.844.84.84 0 0 0 .843.843.84.84 0 0 0 .844-.843Zm2.375.843c-.062-1.125-.312-2.125-1.125-2.937-.812-.813-1.812-1.063-2.937-1.125-1.157-.063-4.625-.063-5.782 0-1.125.062-2.093.312-2.937 1.125-.813.812-1.063 1.812-1.125 2.937-.063 1.157-.063 4.625 0 5.782.062 1.125.312 2.093 1.125 2.937.844.813 1.812 1.063 2.937 1.125 1.157.063 4.625.063 5.782 0 1.125-.062 2.125-.312 2.937-1.125.813-.844 1.063-1.812 1.125-2.937.063-1.157.063-4.625 0-5.782Zm-1.5 7c-.219.625-.719 1.094-1.312 1.344-.938.375-3.125.281-4.125.281-1.032 0-3.22.094-4.125-.28a2.37 2.37 0 0 1-1.344-1.345c-.375-.906-.281-3.093-.281-4.125 0-1-.094-3.187.28-4.125a2.41 2.41 0 0 1 1.345-1.312c.906-.375 3.093-.281 4.125-.281 1 0 3.187-.094 4.125.28.593.22 1.062.72 1.312 1.313.375.938.281 3.125.281 4.125 0 1.032.094 3.22-.28 4.125Z"/>
[51] Fix | Delete
</svg>
[52] Fix | Delete
<span class="screen-reader-text"><?php echo esc_html( 'Instagram' ); ?></span>
[53] Fix | Delete
</a>
[54] Fix | Delete
</li>
[55] Fix | Delete
<li>
[56] Fix | Delete
<a href="https://www.linkedin.com/company/wpforms/" target="_blank" rel="noopener noreferrer">
[57] Fix | Delete
<svg width="16" height="16" aria-hidden="true">
[58] Fix | Delete
<path fill="#A7AAAD" d="M14 1H1.97C1.44 1 1 1.47 1 2.03V14c0 .56.44 1 .97 1H14a1 1 0 0 0 1-1V2.03C15 1.47 14.53 1 14 1ZM5.22 13H3.16V6.34h2.06V13ZM4.19 5.4a1.2 1.2 0 0 1-1.22-1.18C2.97 3.56 3.5 3 4.19 3c.65 0 1.18.56 1.18 1.22 0 .66-.53 1.19-1.18 1.19ZM13 13h-2.1V9.75C10.9 9 10.9 8 9.85 8c-1.1 0-1.25.84-1.25 1.72V13H6.53V6.34H8.5v.91h.03a2.2 2.2 0 0 1 1.97-1.1c2.1 0 2.5 1.41 2.5 3.2V13Z"/>
[59] Fix | Delete
</svg>
[60] Fix | Delete
<span class="screen-reader-text"><?php echo esc_html( 'LinkedIn' ); ?></span>
[61] Fix | Delete
</a>
[62] Fix | Delete
</li>
[63] Fix | Delete
<li>
[64] Fix | Delete
<a href="https://x.com/easywpforms" target="_blank" rel="noopener noreferrer">
[65] Fix | Delete
<svg width="16" height="16" aria-hidden="true" viewBox="0 0 512 512">
[66] Fix | Delete
<path fill="#A7AAAD" d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"/>
[67] Fix | Delete
</svg>
[68] Fix | Delete
<span class="screen-reader-text"><?php echo esc_html( 'X' ); ?></span>
[69] Fix | Delete
</a>
[70] Fix | Delete
</li>
[71] Fix | Delete
<li>
[72] Fix | Delete
<a href="https://www.youtube.com/c/Wpformsplugin" target="_blank" rel="noopener noreferrer">
[73] Fix | Delete
<svg width="17" height="16" aria-hidden="true">
[74] Fix | Delete
<path fill="#A7AAAD" d="M16.63 3.9a2.12 2.12 0 0 0-1.5-1.52C13.8 2 8.53 2 8.53 2s-5.32 0-6.66.38c-.71.18-1.3.78-1.49 1.53C0 5.2 0 8.03 0 8.03s0 2.78.37 4.13c.19.75.78 1.3 1.5 1.5C3.2 14 8.51 14 8.51 14s5.28 0 6.62-.34c.71-.2 1.3-.75 1.49-1.5.37-1.35.37-4.13.37-4.13s0-2.81-.37-4.12Zm-9.85 6.66V5.5l4.4 2.53-4.4 2.53Z"/>
[75] Fix | Delete
</svg>
[76] Fix | Delete
<span class="screen-reader-text"><?php echo esc_html( 'YouTube' ); ?></span>
[77] Fix | Delete
</a>
[78] Fix | Delete
</li>
[79] Fix | Delete
</ul>
[80] Fix | Delete
</div>
[81] Fix | Delete
[82] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function