PluginProbe
FeedWordPress / 2017.0913
FeedWordPress v2017.0913
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 | updatedpostscontrol.class.php +7 -7 trunk2017.0913 View file →
@@ -32,10 +32,10 @@
32 32 $aFeed = 'a syndicated feed';
33 33 endif;
34 34 ?>
35 35 <tr>
36 - <th scope="row"><?php esc_html_e('Updated posts:') ?></th>
37 - <td><p>When <?php print esc_html( $aFeed ); ?> includes updated content for
36 + <th scope="row"><?php _e('Updated posts:') ?></th>
37 + <td><p>When <?php print $aFeed; ?> includes updated content for
38 38 a post that was already syndicated, should the syndicated copy
39 39 of the post be updated to match the revised version?</p>
40 40
41 41 <?php
@@ -48,17 +48,17 @@
48 48 </td></tr>
49 49 <?php
50 50 } /* UpdatedPostsControl::display() */
51 51
52 - function accept_POST () {
52 + function accept_POST ($post) {
53 53 if ($this->page->for_feed_settings()) :
54 - if ( ! is_null( FeedWordPress::post( 'freeze_updates' ) ) ) :
55 - $this->page->link->settings['freeze updates'] = FeedWordPress::post( 'freeze_updates' );
54 + if (isset($post['freeze_updates'])) :
55 + $this->page->link->settings['freeze updates'] = $post['freeze_updates'];
56 56 endif;
57 57 else :
58 58 // Updated posts
59 - if ( ! is_null( FeedWordPress::post( 'freeze_updates' ) ) ) :
60 - update_option('feedwordpress_freeze_updates', FeedWordPress::post( 'freeze_updates' ));
59 + if (isset($post['freeze_updates'])) :
60 + update_option('feedwordpress_freeze_updates', $post['freeze_updates']);
61 61 endif;
62 62 endif;
63 63 } /* UpdatedPostsControl::accept_POST() */
64 64 } /* class UpdatedPostsControl */