PluginProbe
FeedWordPress / 2024.1119
FeedWordPress v2024.1119
trunk 0.8 0.9 0.91 0.95 0.96 0.97 0.98 0.981 0.99 0.991 0.992 0.993 2008.1030 2008.1101 2008.1105 2008.1214 2009.0612 2009.0613 2009.0618 2009.0707 2009.1111 2009.1112 2010.0127 2010.0528 All 65 releases
← All changes | feedwordpress.php +10 -20 trunk2024.1119 View file →
@@ -1,18 +1,18 @@
1 1 <?php
2 2 /*
3 3 Plugin Name: FeedWordPress
4 -Plugin URI: https://fwpplugin.com/
4 +Plugin URI: http://feedwordpress.radgeek.com/
5 5 Description: simple and flexible Atom/RSS syndication for WordPress
6 -Version: 2026.0517
6 +Version: 2024.1119
7 7 Author: C. Johnson
8 -Author URI: https://fwpplugin.com/contact/
8 +Author URI: https://feedwordpress.radgeek.com/contact/
9 9 License: GPL
10 10 */
11 11
12 12 /**
13 13 * @package FeedWordPress
14 - * @version 2026.0517
14 + * @version 2024.1119
15 15 */
16 16
17 17 # This plugin uses code derived from:
18 18 # - wp-rss-aggregate.php by Kellan Elliot-McCrea <kellan@protest.net>
@@ -22,9 +22,9 @@
22 22 # - WordPress Blog Tool and Publishing Platform <http://wordpress.org/>
23 23 # - Github contributors @Flynsarmy, @BandonRandon, @david-robinson-practiceweb,
24 24 # @daidais, @thegreatmichael, @stedaniels, @alexiskulash, @quassy, @zoul0813,
25 25 # @timmmmyboy, @vobornik, @inanimatt, @tristanleboss, @martinburchell,
26 -# @bigalownz, @oppiansteve, @GwynethLlewelyn, and @glg222
26 +# @bigalownz, @oppiansteve, and @GwynethLlewelyn
27 27 # according to the terms of the GNU General Public License.
28 28
29 29 ####################################################################################
30 30 ## CONSTANTS & DEFAULTS ############################################################
@@ -29,10 +29,10 @@
29 29 ####################################################################################
30 30 ## CONSTANTS & DEFAULTS ############################################################
31 31 ####################################################################################
32 32
33 -define ('FEEDWORDPRESS_VERSION', '2026.0517');
34 -define ('FEEDWORDPRESS_AUTHOR_CONTACT', 'https://fwpplugin.com/contact' );
33 +define ('FEEDWORDPRESS_VERSION', '2024.1119');
34 +define ('FEEDWORDPRESS_AUTHOR_CONTACT', 'https://feedwordpress.radgeek.com/contact' );
35 35
36 36 if ( ! defined( 'FEEDWORDPRESS_BLEG' ) ) :
37 37 define ( 'FEEDWORDPRESS_BLEG', true );
38 38 endif;
@@ -2100,21 +2100,11 @@
2100 2100 return in_array( strtolower( trim( $q ) ), $nego );
2101 2101 } /* FeedWordPress::negative () */
2102 2102
2103 2103 static function affirmative ($f, $setting = null) {
2104 - // Defining possible affirmative values
2105 - $affirmo = [ 'y', 'yes', 't', 'true', 1 ];
2106 -
2107 - // Get the field value (presumably from some form or other input)
2104 + $affirmo = array ('y', 'yes', 't', 'true', 1);
2108 2105 $q = self::get_field( $f, $setting );
2109 -
2110 - // Ensure $q is treated properly even if it's null or not set
2111 - if ( null === $q ) {
2112 - return false; // Or you can return false or other fallback as needed
2113 - }
2114 -
2115 - // Check if the value, after trimming and converting to lowercase, is in the affirmative array
2116 - return in_array( strtolower( trim( $q ) ), $affirmo, true ); // The third argument `true` ensures strict type checking
2106 + return in_array( strtolower( trim( $q ) ), $affirmo );
2117 2107 } /* FeedWordPress::affirmative () */
2118 2108
2119 2109 /**
2120 2110 * Internal debugging functions.
@@ -2126,9 +2116,9 @@
2126 2116 */
2127 2117 static function diagnostic( $level, $out, $persist = null, $since = null, $mostRecent = null ) {
2128 2118 global $feedwordpress_admin_footer;
2129 2119
2130 - $output = (array) get_option( 'feedwordpress_diagnostics_output', array() );
2120 + $output = get_option( 'feedwordpress_diagnostics_output', array() );
2131 2121 $dlog = get_option( 'feedwordpress_diagnostics_log', array() );
2132 2122
2133 2123 $diagnostic_nesting = count( explode( ":", $level ) );
2134 2124