<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									RSS記事一覧を表示するショートコードが更新されない - 不具合報告				            </title>
            <link>https://wp-cocoon.com/community/bugs/rss%e8%a8%98%e4%ba%8b%e4%b8%80%e8%a6%a7%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%82%b3%e3%83%bc%e3%83%89%e3%81%8c%e6%9b%b4%e6%96%b0%e3%81%95%e3%82%8c/</link>
            <description>Cocoon ディスカッション掲示板</description>
            <language>ja</language>
            <lastBuildDate>Sat, 17 Oct 2026 12:37:28 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: RSS記事一覧を表示するショートコードが更新されない</title>
                        <link>https://wp-cocoon.com/community/bugs/rss%e8%a8%98%e4%ba%8b%e4%b8%80%e8%a6%a7%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%82%b3%e3%83%bc%e3%83%89%e3%81%8c%e6%9b%b4%e6%96%b0%e3%81%95%e3%82%8c/#post-87462</link>
                        <pubDate>Thu, 18 Dec 2025 11:46:16 +0000</pubDate>
                        <description><![CDATA[Cocoonのtransientを使用するという形の方がシンプルに思ったので、そのように、修正させていただきました]]></description>
                        <content:encoded><![CDATA[<p>Cocoonのtransientを使用するという形の方がシンプルに思ったので、そのように、修正させていただきました。<br />https://github.com/xserver-inc/cocoon/commit/1a0a50e3988b633b009b5eb7a8c36c4b9a5c921e<br /><br />修正版はこちら。<br />------------------------------------------------<br />https://github.com/xserver-inc/cocoon<br />開発中の最新ファイルをダウンロードする場合は、上記ページのダウンロードボタンからzipファイルをダウンロードしてください。<br />https://wp-cocoon.com/wp-content/uploads/2020/07/github-dl.png<br />WordPressでの手動アップデート方法はこちら<br />https://wp-cocoon.com/manual-update-of-cocoon-theme/<br />------------------------------------------------</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>わいひら</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/rss%e8%a8%98%e4%ba%8b%e4%b8%80%e8%a6%a7%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%82%b3%e3%83%bc%e3%83%89%e3%81%8c%e6%9b%b4%e6%96%b0%e3%81%95%e3%82%8c/#post-87462</guid>
                    </item>
				                    <item>
                        <title>RE: RSS記事一覧を表示するショートコードが更新されない</title>
                        <link>https://wp-cocoon.com/community/bugs/rss%e8%a8%98%e4%ba%8b%e4%b8%80%e8%a6%a7%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%82%b3%e3%83%bc%e3%83%89%e3%81%8c%e6%9b%b4%e6%96%b0%e3%81%95%e3%82%8c/#post-87369</link>
                        <pubDate>Sun, 07 Dec 2025 13:18:49 +0000</pubDate>
                        <description><![CDATA[これは僕も確認しました。ただ@kamegomo　さんが建てられたトピックなので、そのRSSだけでも合わせて動作確認時に、同様の状態になるかを確認できた方がいいかなと思いました。]]></description>
                        <content:encoded><![CDATA[<p></p>
<p>rssショートで<span>cache_minute=1とし、自サイトをURL指定。<br />自サイトを更新するが、1分経過してもRSS表示に変化がないことが確認できます。</span></p>
<p></p>
<p>これは僕も確認しました。<br />ただ@kamegomo　さんが建てられたトピックなので、そのRSSだけでも合わせて動作確認時に、同様の状態になるかを確認できた方がいいかなと思いました。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>わいひら</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/rss%e8%a8%98%e4%ba%8b%e4%b8%80%e8%a6%a7%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%82%b3%e3%83%bc%e3%83%89%e3%81%8c%e6%9b%b4%e6%96%b0%e3%81%95%e3%82%8c/#post-87369</guid>
                    </item>
				                    <item>
                        <title>RE: RSS記事一覧を表示するショートコードが更新されない</title>
                        <link>https://wp-cocoon.com/community/bugs/rss%e8%a8%98%e4%ba%8b%e4%b8%80%e8%a6%a7%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%82%b3%e3%83%bc%e3%83%89%e3%81%8c%e6%9b%b4%e6%96%b0%e3%81%95%e3%82%8c/#post-87357</link>
                        <pubDate>Sun, 07 Dec 2025 05:45:49 +0000</pubDate>
                        <description><![CDATA[@yhira さん
テストだけなら、以下で可能です。rssショートでcache_minute=1とし、自サイトをURL指定。自サイトを更新するが、1分経過してもRSS表示に変化がないことが確認できます。]]></description>
                        <content:encoded><![CDATA[<p>@yhira さん</p>
<p>テストだけなら、以下で可能です。<br />rssショートで<span>cache_minute=1とし、自サイトをURL指定。<br />自サイトを更新するが、1分経過してもRSS表示に変化がないことが確認できます。</span></p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>大門未知子</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/rss%e8%a8%98%e4%ba%8b%e4%b8%80%e8%a6%a7%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%82%b3%e3%83%bc%e3%83%89%e3%81%8c%e6%9b%b4%e6%96%b0%e3%81%95%e3%82%8c/#post-87357</guid>
                    </item>
				                    <item>
                        <title>RE: RSS記事一覧を表示するショートコードが更新されない</title>
                        <link>https://wp-cocoon.com/community/bugs/rss%e8%a8%98%e4%ba%8b%e4%b8%80%e8%a6%a7%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%82%b3%e3%83%bc%e3%83%89%e3%81%8c%e6%9b%b4%e6%96%b0%e3%81%95%e3%82%8c/#post-87355</link>
                        <pubDate>Sun, 07 Dec 2025 05:29:04 +0000</pubDate>
                        <description><![CDATA[@kamegomo
ご連絡いただきありがとうございます。近い環境で動作確認するためにもRSSのURLをご提示いただくことはできますでしょうか。可能であればよろしくお願い致します。]]></description>
                        <content:encoded><![CDATA[<p>@kamegomo</p>
<p>ご連絡いただきありがとうございます。<br />近い環境で動作確認するためにもRSSのURLをご提示いただくことはできますでしょうか。<br />可能であればよろしくお願い致します。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>わいひら</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/rss%e8%a8%98%e4%ba%8b%e4%b8%80%e8%a6%a7%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%82%b3%e3%83%bc%e3%83%89%e3%81%8c%e6%9b%b4%e6%96%b0%e3%81%95%e3%82%8c/#post-87355</guid>
                    </item>
				                    <item>
                        <title>RE: RSS記事一覧を表示するショートコードが更新されない</title>
                        <link>https://wp-cocoon.com/community/bugs/rss%e8%a8%98%e4%ba%8b%e4%b8%80%e8%a6%a7%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%82%b3%e3%83%bc%e3%83%89%e3%81%8c%e6%9b%b4%e6%96%b0%e3%81%95%e3%82%8c/#post-87338</link>
                        <pubDate>Thu, 04 Dec 2025 15:33:37 +0000</pubDate>
                        <description><![CDATA[WordPress 6.9でRSS関連について変更がされているようです。
●発生のアルゴリズム
以下の流れなのでは？
トランジェント管理（set_transient）
$transient_id にRSSのHTMLを保存。設定した時間（例：1分）で期限切れになる。期限切れになると fetch_feed() が呼ばれる
このとき $feed_contents は存在しな...]]></description>
                        <content:encoded><![CDATA[<p>WordPress 6.9でRSS関連について変更がされているようです。</p>
<p>https://make.wordpress.org/core/2025/11/17/miscellaneous-developer-focused-changes-in-6-9/?utm_source=chatgpt.com</p>
<p><span style="font-size: 14pt"><strong>●発生のアルゴリズム</strong></span></p>
<p>以下の流れなのでは？</p>
<p><strong>トランジェント管理（set_transient）</strong></p>
<p>$transient_id にRSSのHTMLを保存。<br />設定した時間（例：1分）で期限切れになる。<br /><br /><strong>期限切れになると fetch_feed() が呼ばれる</strong></p>
<p>このとき $feed_contents は存在しないため、RSSを再取得しようとする。<br />しかしfetch_feed()内部では SimplePieがキャッシュしている。<br />デフォルトでは <span style="color: #ff0000">12時間キャッシュ</span>。</p>
<p>そのため、実際のHTTPリクエストは行われず、SimplePie が保持している古いデータ が返る。<br />結果として、トランジェントは更新されても、表示されるRSS内容は古いままになる。</p>
<p>結果、rssショートコードで指定したオプションcache_minuteが反映されない。</p>
<hr />
<p><span style="font-size: 14pt"><strong>●Cocoon側での対策案</strong></span></p>
<pre contenteditable="false">function get_rss_feed_tag( $atts ) {
  include_once(ABSPATH . WPINC . '/feed.php');
  extract(shortcode_atts(
    array(
      'url' =&gt; 'https://ja.wordpress.org/feed/', //取得するRSSフィードURL
      'count' =&gt; '5', //取得する数
      'img' =&gt; NO_IMAGE_RSS, //画像が取得できなかった場合のイメージ
      'target' =&gt; '_blank', //ブラウザの開き方（target属性）
      'cache_minute' =&gt; '60', //キャッシュ時間（分）
      'desc' =&gt; '1', //説明文表示 1 or 0
      'date' =&gt; '1', //日付表示 1 or 0
      'type' =&gt; '', //表示タイプ
      'bold' =&gt; 0, //タイトルを太字にするか
      'arrow' =&gt; 0, //矢印を出すか
      'class' =&gt; null, //拡張クラス
    ),
    $atts,
    'rss'
  ));

  $feed_url = $url;
  $feed_count = $count;
  $img_url = $img;
  $feed_content = '';
  $feed_contents = '';

  // ★キャッシュ時間を整数化してトランジェントキーに含める
  $cache_minute_int = intval($cache_minute);
  $transient_id = 'ree_feed_'.md5($feed_url.'_'.$count.'_'.$img_url.'_'.$target.'_'.$desc.'_'.$date.'_'.$type.'_'.$bold.'_'.$arrow.'_'.$class.'_'.$cache_minute_int);
  $feed_contents = get_transient( $transient_id );

  //キャッシュが存在しない場合URLから取得
  if (!$feed_contents) {

    // ★fetch_feed の内部キャッシュ時間をショートコード設定に同期
    $feed_cache_lifetime = 60 * $cache_minute_int;
    $filter_function_hook_id = function( $seconds ) use ( $feed_cache_lifetime ) {
      return $feed_cache_lifetime;
    };
    add_filter( 'wp_feed_cache_transient_lifetime', $filter_function_hook_id, 10, 2 );

    $rss = fetch_feed( $feed_url );

    remove_filter( 'wp_feed_cache_transient_lifetime', $filter_function_hook_id, 10, 2 );
    
    if ( !is_wp_error( $rss ) ) {
      $maxitems = $rss-&gt;get_item_quantity( $feed_count );
      $rss_items = $rss-&gt;get_items( 0, $maxitems );
      foreach ( $rss_items as $item ) :
        $first_img = '';
        if ( preg_match( '/&lt;img.+?src=(+?).*?&gt;/msi', $item-&gt;get_content(), $matches )) $first_img = $matches;
        if ( !empty( $first_img ) ) :
          $feed_img = esc_attr( $first_img );
        else:
          $feed_img = $img_url;
        endif;
        $feed_url = $item-&gt;get_permalink();
        $feed_title = $item-&gt;get_title() ?? '';
        $feed_title = str_replace(, '', $feed_title);
        $feed_date = $item-&gt;get_date(get_site_date_format());
        $feed_text = get_content_excerpt(strip_tags($item-&gt;get_content()), get_entry_card_excerpt_max_length());

        $feed_content .= '&lt;a href="' . esc_url($feed_url) . '" title="' . esc_attr($feed_title) . '" class="rss-entry-card-link widget-entry-card-link a-wrap" target="'.esc_attr($target).'"'.get_rel_by_target($target).'&gt;';
        $feed_content .= '&lt;div class="rss-entry-card widget-entry-card e-card cf"&gt;';
        $feed_content .= '&lt;figure class="rss-entry-card-thumb widget-entry-card-thumb card-thumb"&gt;';
        $feed_content .= '&lt;img src="' . esc_url($feed_img) . '" class="rss-entry-card-thumb-image widget-entry-card-thumb-image card-thumb-image" alt=""&gt;';
        $feed_content .= '&lt;/figure&gt;';
        $feed_content .= '&lt;div class="rss-entry-card-content widget-entry-card-content card-content"&gt;';
        $feed_content .= '&lt;div class="rss-entry-card-title widget-entry-card-title card-title"&gt;' . esc_html($feed_title) . '&lt;/div&gt;';
        if ($desc) {
          $feed_content .= '&lt;div class="rss-entry-card-snippet widget-entry-card-snippet card-snippet"&gt;' . esc_html($feed_text) . '&lt;/div&gt;';
        }
        if ($date) {
          $feed_content .= '&lt;div class="rss-entry-card-date widget-entry-card-date"&gt;
          &lt;span class="rss-entry-card-post-date widget-entry-card-post-date post-date"&gt;' . esc_html($feed_date) . '&lt;/span&gt;
        &lt;/div&gt;';
        }
        $feed_content .= '&lt;/div&gt;';
        $feed_content .= '&lt;/div&gt;';
        $feed_content .= '&lt;/a&gt;';
      endforeach;
    } else {
      $feed_content = '&lt;p&gt;RSSフィードを取得できません&lt;/p&gt;';
    }

    $atts = array(
      'type' =&gt; $type,
      'bold' =&gt; $bold,
      'arrow' =&gt; $arrow,
      'class' =&gt; $class,
    );
    $card_class = get_additional_widget_entry_cards_classes($atts);
    $feed_contents = '&lt;div class="rss-entry-cards widget-entry-cards'.$card_class.' no-icon"&gt;' . $feed_content . '&lt;/div&gt;';

    // ★set_transient の期限に整数化したキャッシュ時間を使用
    set_transient($transient_id, $feed_contents, 60 * $cache_minute_int);
  }

  return apply_filters( 'get_rss_feed_tag',  $feed_contents);

}
</pre>
<p>&nbsp;</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>大門未知子</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/rss%e8%a8%98%e4%ba%8b%e4%b8%80%e8%a6%a7%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%82%b3%e3%83%bc%e3%83%89%e3%81%8c%e6%9b%b4%e6%96%b0%e3%81%95%e3%82%8c/#post-87338</guid>
                    </item>
				                    <item>
                        <title>RE: RSS記事一覧を表示するショートコードが更新されない</title>
                        <link>https://wp-cocoon.com/community/bugs/rss%e8%a8%98%e4%ba%8b%e4%b8%80%e8%a6%a7%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%82%b3%e3%83%bc%e3%83%89%e3%81%8c%e6%9b%b4%e6%96%b0%e3%81%95%e3%82%8c/#post-87331</link>
                        <pubDate>Thu, 04 Dec 2025 11:51:27 +0000</pubDate>
                        <description><![CDATA[この辺りのことは、疎いのですけれど・・・。
とりあえず、以下の環境で確認しました。
WordPress 6.9Cocoon 2.8.8.2
確認したのは、以下です
上記が以下の時に確認しました。
 c3effee6fd4927c0f13ed81a68c2dcf2.JPG
 
CocoonのRSSのショートコードで、3件だけ表示させてみると、以下のような感じに。
 ...]]></description>
                        <content:encoded><![CDATA[<p>この辺りのことは、疎いのですけれど・・・。</p>
<p>とりあえず、以下の環境で確認しました。</p>
<p>WordPress 6.9<br />Cocoon 2.8.8.2</p>
<p>確認したのは、以下です。<br />https://news.yahoo.co.jp/rss/topics/top-picks.xml</p>
<p>上記が以下の時に確認しました。</p>
<div id="wpfa-44478" class="wpforo-attached-file"><a class="wpforo-default-attachment" title="c3effee6fd4927c0f13ed81a68c2dcf2.JPG" href="//wp-cocoon.com/wp-content/uploads/wpforo/default_attachments/1764849087-c3effee6fd4927c0f13ed81a68c2dcf2.jpg" target="_blank" rel="noopener"><i class="fas fa-paperclip"></i> c3effee6fd4927c0f13ed81a68c2dcf2.JPG</a></div>
<div> </div>
<div>CocoonのRSSのショートコードで、3件だけ表示させてみると、以下のような感じに。</div>
<div id="wpfa-44479" class="wpforo-attached-file"><a class="wpforo-default-attachment" title="8c406731c276bbbe2649c7eb20eb336e.JPG" href="//wp-cocoon.com/wp-content/uploads/wpforo/default_attachments/1764849153-8c406731c276bbbe2649c7eb20eb336e.jpg" target="_blank" rel="noopener"><i class="fas fa-paperclip"></i> 8c406731c276bbbe2649c7eb20eb336e.JPG</a></div>
<div> </div>
<div>これは、もっと前にテストしていたものが、どうにも残っているようで。</div>
<div> </div>
<div> </div>
<div>とりあえず、WordPress側のキャッシュの更新間隔を1秒にしてみて、以下（fetch_feed()）の値を確認しました。</div>
<div>（直前の$feed_contentsのif文は、コメント化しました）</div>
<div> </div>
<div>https://github.com/xserver-inc/cocoon/blob/9b442ccb83e32dfd19ef42613329695f6744628d/lib/shortcodes.php#L826</div>
<div> </div>
<div> </div>
<div>長いですから、titleとpubDateだけ抽出すると、以下のような感じで、RSSと一致しない状態でした。</div>
<blockquote>
<div><span style="font-size: 12pt">'安倍氏銃撃 山上被告が初めて謝罪' (length=46)</span><br /><span style="font-size: 12pt">'Thu, 04 Dec 2025 07:50:10 GMT' (length=29)</span><br /><br /><br /><span style="font-size: 12pt">'ダイハツ 6車種23万台リコール' (length=40)</span><br /><span style="font-size: 12pt">'Thu, 04 Dec 2025 08:14:36 GMT' (length=29)</span><br /><br /><br /><span style="font-size: 12pt">'日本人iPhone離れ進む? 要因分析' (length=41)</span><br /><span style="font-size: 12pt">'Thu, 04 Dec 2025 06:17:35 GMT' (length=29)</span><br /><br /><br /><span style="font-size: 12pt">'ごみの中に158万円 分別中に発見' (length=43)</span><br /><span style="font-size: 12pt">'Thu, 04 Dec 2025 08:32:51 GMT' (length=29)</span><br /><br /><br /><span style="font-size: 12pt">'今年の車 スバル・フォレスター' (length=43)</span><br /><span style="font-size: 12pt">'Thu, 04 Dec 2025 09:02:27 GMT' (length=29)</span><br /><br /><br /><span style="font-size: 12pt">'W杯抽選 日本の対戦相手はどこに' (length=44)</span><br /><span style="font-size: 12pt">'Thu, 04 Dec 2025 08:07:44 GMT' (length=29)</span><br /><br /><br /><span style="font-size: 12pt">'紅白 ダイアンが副音声で司会' (length=40)</span><br /><span style="font-size: 12pt">'Thu, 04 Dec 2025 09:00:15 GMT' (length=29)</span></div>
</blockquote>
<div> </div>
<div> </div>
<div>ちなみに、同じことを「WordPress 6.8.3」ですると、以下のような感じで、RSSと一致していると思います。<br />（Cocoonは同じ、2.8.8.2）</div>
<blockquote>
<div><span style="font-size: 12pt">'12月でもクマ警戒を 被害相次ぐ' (length=42)</span><br /><span style="font-size: 12pt">'Thu, 04 Dec 2025 10:24:35 GMT' (length=29)</span><br /><br /><br /><span style="font-size: 12pt">'5日朝厳しい冷え込み 東京3℃予想' (length=45)</span><br /><span style="font-size: 12pt">'Thu, 04 Dec 2025 09:19:27 GMT' (length=29)</span><br /><br /><br /><span style="font-size: 12pt">'高校生の扶養控除 縮小を検討' (length=40)</span><br /><span style="font-size: 12pt">'Thu, 04 Dec 2025 10:25:00 GMT' (length=29)</span><br /><br /><br /><span style="font-size: 12pt">'ガス漏れで22カ所以上で火災 山口' (length=45)</span><br /><span style="font-size: 12pt">'Thu, 04 Dec 2025 09:57:21 GMT' (length=29)</span><br /><br /><br /><span style="font-size: 12pt">'箱ワナの扉閉める 妨害行為相次ぐ' (length=46)</span><br /><span style="font-size: 12pt">'Thu, 04 Dec 2025 09:20:25 GMT' (length=29)</span><br /><br /><br /><span style="font-size: 12pt">'駿河屋サイト 3万件超の漏えいか' (length=44)</span><br /><span style="font-size: 12pt">'Thu, 04 Dec 2025 09:42:19 GMT' (length=29)</span><br /><br /><br /><span style="font-size: 12pt">'閉園の動物園 ライオンが双子出産' (length=46)</span><br /><span style="font-size: 12pt">'Thu, 04 Dec 2025 10:52:55 GMT' (length=29)</span><br /><br /><br /><span style="font-size: 12pt">'小宮山悟監督が力投 早慶OB戦' (length=39)</span><br /><span style="font-size: 12pt">'Thu, 04 Dec 2025 11:15:09 GMT' (length=29)</span></div>
</blockquote>
<div> </div>
<div> </div>
<div>「WordPress 6.9」側で、以下を追加して、WordPress側の内部キャッシュを無効にしてみしたのですが。<br />（ソートも無効にしてしまいましたが・・・）</div>
<div>
<pre contenteditable="false">add_action('wp_feed_options', function($feed) {
    $feed-&gt;enable_cache(false);
    $feed-&gt;enable_order_by_date(false);
});</pre>
</div>
<p>すると、取得した内容が、RSSと一致するんですよね。<br />（「WordPress 6.8.3」とも一致する）</p>
<p>&nbsp;</p>
<p>WordPressの関数fetch_feed()で取得した内容が、上記の状態ですから。<br />（Cocoonのバージョンが同じで、WordPressのバージョン違いで、内容が違いますし）</p>
<p>WordPress側の不具合かなと、思うのですけれど。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>ｍｋ２</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/rss%e8%a8%98%e4%ba%8b%e4%b8%80%e8%a6%a7%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%82%b3%e3%83%bc%e3%83%89%e3%81%8c%e6%9b%b4%e6%96%b0%e3%81%95%e3%82%8c/#post-87331</guid>
                    </item>
				                    <item>
                        <title>RSS記事一覧を表示するショートコードが更新されない</title>
                        <link>https://wp-cocoon.com/community/bugs/rss%e8%a8%98%e4%ba%8b%e4%b8%80%e8%a6%a7%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%82%b3%e3%83%bc%e3%83%89%e3%81%8c%e6%9b%b4%e6%96%b0%e3%81%95%e3%82%8c/#post-87329</link>
                        <pubDate>Thu, 04 Dec 2025 06:23:17 +0000</pubDate>
                        <description><![CDATA[お世話になっております。サイトにcocoonの「RSS記事一覧を表示するショートコード」を貼っているのですが、wordpressを6.9にアップデートした後から記事の更新がされなくなりました。具体的には、・TOPページなどにRSS記事一覧を表示するショートコードを貼り付け・6.9にアップデートするまでは正常に外部RSSを取得し、記事一覧を表示・6.9にアップデートしてからは記事...]]></description>
                        <content:encoded><![CDATA[<p>お世話になっております。<br /><br />サイトにcocoonの「RSS記事一覧を表示するショートコード」を貼っているのですが、wordpressを6.9にアップデートした後から記事の更新がされなくなりました。<br /><br />具体的には、<br />・TOPページなどにRSS記事一覧を表示するショートコードを貼り付け<br />・6.9にアップデートするまでは正常に外部RSSを取得し、記事一覧を表示<br />・6.9にアップデートしてからは記事が更新されず、アップデート前に取得できていた記事が最新の状態で止まったまま<br /><br />アップデート前までは正常に動いていたため、おそらくこれが原因ではないかと思います。<br />全くの無効ではなく、記事一覧は表示されているのですが更新がされない状態です。<br />（私の場合はアップデート前から使っていたため上記現象ですが、今からショートコードを新たに使われる場合は、白紙？の状態などになるのかもしれません）<br /><br />お手すきの際にご確認いただけますでしょうか。よろしくお願いいたします。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>kamegomo</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/rss%e8%a8%98%e4%ba%8b%e4%b8%80%e8%a6%a7%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%82%b3%e3%83%bc%e3%83%89%e3%81%8c%e6%9b%b4%e6%96%b0%e3%81%95%e3%82%8c/#post-87329</guid>
                    </item>
							        </channel>
        </rss>
		