leocaseiro / WordPress-Plugin-Custom-Options-Plus

With Custom Options Plus WordPress Plugin, you can enter your custom options datas for your theme.
https://wordpress.org/plugins/custom-options-plus/
GNU General Public License v2.0
18 stars 8 forks source link

Missing closing </code> tag #22

Closed janrenn closed 7 years ago

janrenn commented 7 years ago

Hi, thanks for great plugin! Try to fix missing closing tag in COP admin screen please, see below.

custom-options-plus.php
line 386
-       $contextual_help = '<br>Use <br /><code>' . htmlentities( '<?php echo get_custom(\'yourkey\') ; ?>' ) . '</code><br /><br /> or <br><code>' . htmlentities( '<?php foreach ( get_customs(\'yourkey\') as $name ) : ' ) . '<br /> or <br><code>' . htmlentities( '<?php foreach ( get_customs(\'yourkey\', true) as $output ) : ' ) . '<br />    echo $output["name"] . " - " . $output["value"]; <br /> ' . htmlentities( 'endforeach; ?>' ) . '</code>ls <br /> in your theme.';
+       $contextual_help = '<br>Use <br /><code>' . htmlentities( '<?php echo get_custom(\'yourkey\') ; ?>' ) . '</code><br /><br /> or <br><code>' . htmlentities( '<?php foreach ( get_customs(\'yourkey\') as $name ) : ' ) . '</code><br /> or <br><code>' . htmlentities( '<?php foreach ( get_customs(\'yourkey\', true) as $output ) : ' ) . '<br />    echo $output["name"] . " - " . $output["value"]; <br /> ' . htmlentities( 'endforeach; ?>' ) . '</code>ls <br /> in your theme.';
leocaseiro commented 7 years ago

Hi @janrenn, thanks for reporting that. Would you like to send me a Pull Request?