Created
February 19, 2014 19:28
-
-
Save foxydot/9099693 to your computer and use it in GitHub Desktop.
Filter out Better WordPress Security "bug"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if (wpsc_have_custom_meta()) : ?> | |
<div class="custom_meta"> | |
<?php while ( wpsc_have_custom_meta() ) : wpsc_the_custom_meta(); ?> | |
<?php if (stripos(wpsc_custom_meta_name(),'g:') !== FALSE || (stripos(wpsc_custom_meta_name(),'bwps') !== FALSE)) continue; ?> | |
<strong><?php echo wpsc_custom_meta_name(); ?>: </strong><?php echo wpsc_custom_meta_value(); ?><br /> | |
<?php endwhile; ?> | |
</div><!--close custom_meta--> | |
<?php endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment