We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76bcf1f commit 4fb9ea4Copy full SHA for 4fb9ea4
1 file changed
includes/adapters/class-wordpress.php
@@ -55,7 +55,8 @@ public function get_channels( $channels, $user_id ) { // phpcs:ignore Generic.Co
55
'name' => \__( 'Planet WordPress', 'microsub' ),
56
);
57
58
- foreach ( $this->get_rss_widgets() as $widget ) {
+ $rss_widgets = $this->get_rss_widgets();
59
+ foreach ( $rss_widgets as $widget ) {
60
$channels[] = array(
61
'uid' => 'wp-rss-' . $widget['id'],
62
'name' => $widget['name'],
0 commit comments