<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>最近の投稿 &#8211; WordPress Memo</title>
	<atom:link href="https://blog.riverforest-wp.info/tag/%E6%9C%80%E8%BF%91%E3%81%AE%E6%8A%95%E7%A8%BF/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.riverforest-wp.info</link>
	<description>WordPress に関する覚え書き</description>
	<lastBuildDate>Fri, 09 May 2025 12:48:52 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://blog.riverforest-wp.info/wp-content/uploads/2018/05/cropped-icon-256x256-1-32x32.png</url>
	<title>最近の投稿 &#8211; WordPress Memo</title>
	<link>https://blog.riverforest-wp.info</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>投稿編集リンクを管理バーに表示するプラグイン</title>
		<link>https://blog.riverforest-wp.info/edit-recent-edited-posts/</link>
		
		<dc:creator><![CDATA[Katsushi Kawamori]]></dc:creator>
		<pubDate>Mon, 03 Jun 2024 11:42:37 +0000</pubDate>
				<category><![CDATA[Plugin]]></category>
		<category><![CDATA[最近の投稿]]></category>
		<category><![CDATA[管理バー]]></category>
		<category><![CDATA[編集]]></category>
		<guid isPermaLink="false">https://blog.riverforest-wp.info/?p=3842</guid>

					<description><![CDATA[はじめに このブログ内で書いてる記事で時々加筆するものがあります。その際に投稿画面で検索してから投稿を編集しますが、何回かに分けて加筆する際に同じ事（投稿画面で検索してから投稿を編集）を繰り返すのが面倒なので、ログインし [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">はじめに</h3>



<p>このブログ内で書いてる記事で時々加筆するものがあります。その際に<strong>投稿画面で検索してから投稿を編集</strong>しますが、何回かに分けて加筆する際に同じ事（<strong>投稿画面で検索してから投稿を編集</strong>）を繰り返すのが面倒なので、ログインしてすぐに管理バーからダイレクトに編集（<strong>直近の投稿</strong>）できるプラグインを作成しました。ありそうで無かった？プラグインだと思います。</p>



<div class="pluginstatsview-card-wrap">
	<div>
		<img decoding="async" src="https://ps.w.org/edit-recent-edited-posts/assets/icon-256x256.png?rev=3096696" alt="Edit Recent Edited Posts のアイコン" class="pluginstatsview-card-icon" />
		<div class="pluginstatsview-after-icon">
			<div class="pluginstatsview-bold"><a href="https://wordpress.org/plugins/edit-recent-edited-posts/" class="pluginstatsview-astyle">Edit Recent Edited Posts</a></div>
			<div class="pluginstatsview-small">管理バーに最近編集した投稿へのリンクが表示され、編集できるようになります。</div>
			<div class="pluginstatsview-small">作者: <a href="https://profiles.wordpress.org/katsushi-kawamori/">Katsushi Kawamori</a></div>
			<div style="clear: both;"></div>
		</div>
	</div>
	<div style="clear: both;"></div>

	<div class="pluginstatsview-small">
		<span class="pluginstatsview-card-left"><a href="https://wordpress.org/plugins/edit-recent-edited-posts/#reviews" title="0.0(5点満点中)" class="pluginstatsview-astyle">	<span class="pluginstatsview-stars">
					<span class="dashicons dashicons-star-empty"></span><span class="dashicons dashicons-star-empty"></span><span class="dashicons dashicons-star-empty"></span><span class="dashicons dashicons-star-empty"></span><span class="dashicons dashicons-star-empty"></span>
			</span>
	</a>(0)</span>
		<span class="pluginstatsview-card-right">最終更新: 2日 前</span>
	</div>
	<div class="pluginstatsview-small">
		<span class="pluginstatsview-card-left">1,142ダウンロード</span>
		<span class="pluginstatsview-card-right">検証済み: 7.0</span>
	</div>
	<div class="pluginstatsview-small">
		<span class="pluginstatsview-card-left">ダウンロード: <a href="https://downloads.wordpress.org/plugin/edit-recent-edited-posts.1.01.zip" class="dashicons dashicons-download pluginstatsview-download"></a></span>
		<span class="pluginstatsview-card-right">リリース: 2024-06-03</span>
	</div>
	<div class="pluginstatsview-small pluginstatsview-card-center">
		2026-03-31 09:30 時点の統計	</div>
</div>



<h3 class="wp-block-heading">動作</h3>



<figure class="wp-block-video"><video controls muted src="https://blog.riverforest-wp.info/wp-content/uploads/20240526/edit-recent-edited-posts.mp4"></video></figure>



<h3 class="wp-block-heading">仕様</h3>



<ul class="wp-block-list">
<li>過去3日以内に編集された5つの投稿を表示します。</li>



<li>投稿、固定ページ、メディア、カスタム投稿に対応。</li>



<li>以下のフィルターフックを使って様々な設定を変更できます。</li>
</ul>



<pre class="prism line-numbers"><code class="language-php language-html">/** ==================================================
 * Filter for capability.
 *
 */
add_filter( 'edit_recent_edited_posts_user_can',
	function() {
		return 'edit_published_posts';
	},
	10,
	1
);
~~~
~~~
/** ==================================================
 * Filter for period to be displayed.
 *
 */
add_filter(
	'edit_recent_edited_posts_days',
	function() {
		return 30;
	},
	10,
	1
);
~~~
~~~
/** ==================================================
 * Filter for user ID of the post to be displayed.
 *
 */
add_filter(
	'edit_recent_edited_posts_author_ids',
	function() {
		$user_ids = array();
		$user_ids&#91;] = get_current_user_id();
		return $user_ids;
	},
	10,
	1
);
~~~
~~~
/** ==================================================
 * Filter for displayed results.
 *
 */
add_filter(
	'edit_recent_edited_posts_items',
	function() {
		return 10;
	},
	10,
	1
);
~~~
~~~
/** ==================================================
 * Filter for display order.
 *
 */
add_filter(
	'edit_recent_edited_posts_order',
	function() {
		return 'ASC';
	},
	10,
	1
);
~~~
~~~
/** ==================================================
 * Filter for type of posting date and time.
 *
 */
add_filter(
	'edit_recent_edited_posts_orderby',
	function() {
		return 'post_date';
	},
	10,
	1
);
</code></pre>
]]></content:encoded>
					
		
		<enclosure url="https://blog.riverforest-wp.info/wp-content/uploads/20240526/edit-recent-edited-posts.mp4" length="20576723" type="video/mp4" />

			</item>
	</channel>
</rss>
