Permalink
Browse files

* show in feed bugfix

git-svn-id: http://plugins.svn.wordpress.org/amazon-widgets-shortcodes/trunk@54960 b8457f37-d9ea-0310-8a92-e5e31aec5664
  • Loading branch information...
1 parent 978fbdf commit d73db5e6ee1a7da27c001bdef01e9968edb26d8a oncletom committed Jul 15, 2008
Showing with 3 additions and 5 deletions.
  1. +1 −1 admin/view/options.php
  2. +1 −3 index.php
  3. +1 −1 lib/shortcodesToolkit.class.php
View
2 admin/view/options.php
@@ -35,7 +35,7 @@
</tr>
<tr>
<th scope="row">
- <label for="awshortcode_feed"><?php _e('Hide Amazon widgets from feed?') ?></label>
+ <label for="awshortcode_feed"><?php _e('Show Amazon widgets in RSS feeds?') ?></label>
</th>
<td>
<input type="checkbox"
View
4 index.php
@@ -1,3 +1 @@
-<?php
-//Hello World
-?>
+<?php /* Hello World! */ ?>
View
2 lib/shortcodesToolkit.class.php
@@ -23,7 +23,7 @@ class AmazonWidgetsShortcodesToolkit
*/
function displayShortcode($html)
{
- return (int)get_option('awshortcode_feed') === 1 || !is_feed() ? $html : '';
+ return get_option('awshortcode_feed') || !is_feed() ? $html : '';
}
/**

0 comments on commit d73db5e

Please sign in to comment.