FeedWordPress - Version 2011.0211.2

Version Description

Download this release

Release Info

Developer radgeek
Plugin Icon wp plugin FeedWordPress
Version 2011.0211.2
Comparing to
See all releases

Code changes from version 2011.0211 to 2011.0211.2

Files changed (3) hide show
  1. diagnostics-page.php +49 -2
  2. feedwordpress.php +3 -3
  3. readme.txt +2 -2
diagnostics-page.php CHANGED
@@ -39,7 +39,8 @@ class FeedWordPressDiagnosticsPage extends FeedWordPressAdminPage {
39
  <div id="post-body">
40
  <?php
41
  $boxes_by_methods = array(
42
- 'diagnostics_box' => __('Diagnostics'),
 
43
  'updates_box' => __('Updates'),
44
  );
45
 
@@ -104,7 +105,53 @@ class FeedWordPressDiagnosticsPage extends FeedWordPressAdminPage {
104
  endif;
105
  } /* FeedWordPressDiagnosticsPage::accept_POST () */
106
 
107
- /*static*/ function diagnostics_box ($page, $box = NULL) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  $settings = array();
109
  $settings['debug'] = (get_option('feedwordpress_debug')=='yes');
110
 
39
  <div id="post-body">
40
  <?php
41
  $boxes_by_methods = array(
42
+ 'info_box' => __('Diagnostic Information'),
43
+ 'diagnostics_box' => __('Display Diagnostics'),
44
  'updates_box' => __('Updates'),
45
  );
46
 
105
  endif;
106
  } /* FeedWordPressDiagnosticsPage::accept_POST () */
107
 
108
+ function info_box ($page, $box = NULL) {
109
+ $link_category_id = FeedWordPress::link_category_id();
110
+ ?>
111
+ <table class="edit-form narrow">
112
+ <thead style="display: none">
113
+ <th scope="col">Topic</th>
114
+ <th scope="col">Information</th>
115
+ </thead>
116
+
117
+ <tbody>
118
+ <tr>
119
+ <th scope="row">Version:</th>
120
+ <td>You are using FeedWordPress version <strong><?php print FEEDWORDPRESS_VERSION; ?></strong>.</td>
121
+ </tr>
122
+
123
+ <tr>
124
+ <th scope="row">Link Category:</th>
125
+ <td><?php if (!is_wp_error($link_category_id)) :
126
+ $term = get_term($link_category_id, 'link_category');
127
+ ?><p>Syndicated feeds are
128
+ kept in link category #<?php print $term->term_id; ?>, <strong><?php print $term->name; ?></strong>.</p>
129
+ <?php else : ?>
130
+ <p><strong>FeedWordPress has been unable to set up a valid Link Category
131
+ for syndicated feeds.</strong> Attempting to set one up returned an
132
+ <code><?php $link_category_id->get_error_code(); ?></code> error with this
133
+ additional data:</p>
134
+ <table>
135
+ <tbody>
136
+ <tr>
137
+ <th scope="row">Message:</th>
138
+ <td><?php print $link_category_id->get_error_message(); ?></td>
139
+ </tr>
140
+ <?php $data = $link_category_id->get_error_data(); if (!empty($data)) : ?>
141
+ <tr>
142
+ <th scope="row">Auxiliary Data:</th>
143
+ <td><pre><?php print esc_html(FeedWordPress::val($link_category_id->get_error_data())); ?></pre></td>
144
+ </tr>
145
+ <?php endif; ?>
146
+ </table>
147
+ <?php endif; ?></td>
148
+ </tr>
149
+ </table>
150
+
151
+ <?php
152
+ } /* FeedWordPressDiagnosticsPage::info_box () */
153
+
154
+ function diagnostics_box ($page, $box = NULL) {
155
  $settings = array();
156
  $settings['debug'] = (get_option('feedwordpress_debug')=='yes');
157
 
feedwordpress.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: FeedWordPress
4
  Plugin URI: http://feedwordpress.radgeek.com/
5
  Description: simple and flexible Atom/RSS syndication for WordPress
6
- Version: 2011.0211
7
  Author: Charles Johnson
8
  Author URI: http://radgeek.com/
9
  License: GPL
@@ -11,7 +11,7 @@ License: GPL
11
 
12
  /**
13
  * @package FeedWordPress
14
- * @version 2011.0211
15
  */
16
 
17
  # This uses code derived from:
@@ -34,7 +34,7 @@ License: GPL
34
 
35
  # -- Don't change these unless you know what you're doing...
36
 
37
- define ('FEEDWORDPRESS_VERSION', '2011.0211');
38
  define ('FEEDWORDPRESS_AUTHOR_CONTACT', 'http://radgeek.com/contact');
39
 
40
  if (!defined('FEEDWORDPRESS_BLEG')) :
3
  Plugin Name: FeedWordPress
4
  Plugin URI: http://feedwordpress.radgeek.com/
5
  Description: simple and flexible Atom/RSS syndication for WordPress
6
+ Version: 2011.0211.2
7
  Author: Charles Johnson
8
  Author URI: http://radgeek.com/
9
  License: GPL
11
 
12
  /**
13
  * @package FeedWordPress
14
+ * @version 2011.0211.2
15
  */
16
 
17
  # This uses code derived from:
34
 
35
  # -- Don't change these unless you know what you're doing...
36
 
37
+ define ('FEEDWORDPRESS_VERSION', '2011.0211.2');
38
  define ('FEEDWORDPRESS_AUTHOR_CONTACT', 'http://radgeek.com/contact');
39
 
40
  if (!defined('FEEDWORDPRESS_BLEG')) :
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Charles Johnson
3
  Donate link: http://feedwordpress.radgeek.com/
4
  Tags: syndication, aggregation, feed, atom, rss
5
  Requires at least: 3.0
6
- Tested up to: 3.0.4
7
- Stable tag: 2011.0211
8
 
9
  FeedWordPress syndicates content from feeds you choose into your WordPress weblog.
10
 
3
  Donate link: http://feedwordpress.radgeek.com/
4
  Tags: syndication, aggregation, feed, atom, rss
5
  Requires at least: 3.0
6
+ Tested up to: 3.0.5
7
+ Stable tag: 2011.0211.2
8
 
9
  FeedWordPress syndicates content from feeds you choose into your WordPress weblog.
10