<?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/%E9%80%9A%E7%9F%A5/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/countdown-to-force-logout/</link>
		
		<dc:creator><![CDATA[Katsushi Kawamori]]></dc:creator>
		<pubDate>Thu, 11 Aug 2022 22:34:51 +0000</pubDate>
				<category><![CDATA[Plugin]]></category>
		<category><![CDATA[カウントダウン]]></category>
		<category><![CDATA[ログアウト]]></category>
		<category><![CDATA[通知]]></category>
		<guid isPermaLink="false">https://blog.riverforest-wp.info/?p=2984</guid>

					<description><![CDATA[はじめに WordPress で会員サイトなどを運営していると、ユーザーから「強制ログアウトされた。どうなっているのか？」などと、ごくたまに問い合わせがある事があると思います。この場合は、ほぼセッションタイムアウトによる [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">はじめに</h3>



<p>WordPress で会員サイトなどを運営していると、ユーザーから「強制ログアウトされた。どうなっているのか？」などと、ごくたまに問い合わせがある事があると思います。この場合は、ほぼセッションタイムアウトによるものがほとんどだと思います。</p>



<p>WordPress では、ログイン期間が、デフォルトで４８時間、ログイン画面の「ログイン状態を保存する」にチェックを入れてログインすると１４日間になっており、その期間を過ぎるとセッションタイムアウトにより強制ログアウトされます。この期間を’<code class="language-php language-html">auth_cookie_expiration</code>’というフィルターフックを用いて変更する事ができますが、セキュリティの観点から余り長いログイン期間は好ましくなく、デフォルト、もしくは短くして運用しているサイトがほとんどだと思います。</p>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<style>
.simpleblogcard_img_blockcdbfca28d7c4ca1d06e6d442dc66ed66 {
  float: right;
  padding: 10px;
}
.simpleblogcard_bordercdbfca28d7c4ca1d06e6d442dc66ed66 {
  border-left: solid 8px #cd162c;
  padding: 0.25em 0.25em;
  background: transparent;
}
.simpleblogcard_titlecdbfca28d7c4ca1d06e6d442dc66ed66 {
  line-height: 155%;
  font-weight: bold;
  display: block;
}
.simpleblogcard_descriptioncdbfca28d7c4ca1d06e6d442dc66ed66 {
  line-height: 155%;
  color: #333;
}
</style>
<div class="simpleblogcard_wrap">
			<a style="text-decoration: none;" href=https://developer.wordpress.org/reference/hooks/auth_cookie_expiration/>
				<figure class="simpleblogcard_img_blockcdbfca28d7c4ca1d06e6d442dc66ed66">
			<img decoding="async" style="border-radius: 5px; width: 100px; height: 52px;" src="https://developer.wordpress.org/wp-content/themes/wporg-developer-2023/images/opengraph-image.png" alt="auth_cookie_expiration – Hook | Developer.WordPress.org" />
		</figure>
		<div class="simpleblogcard_inner">
		<div class="simpleblogcard_bordercdbfca28d7c4ca1d06e6d442dc66ed66">
			developer.wordpress.org			<div class="simpleblogcard_titlecdbfca28d7c4ca1d06e6d442dc66ed66">
				auth_cookie_expiration – Hook | Developer.WordPress.org			</div>
							<div class="simpleblogcard_descriptioncdbfca28d7c4ca1d06e6d442dc66ed66">
					Filters the duration of the authentication cookie expiration period.				</div>
					</div>
	</div>
	<div style="clear: both;"></div>
	</a>
</div>
</div>
</div>



<p>ユーザーにとっては、何の周知もなくいきなり強制ログアウトされるのは気分の良いものではありません。そこで、管理バーに強制ログアウト（セッションタイムアウト）までの期間を表示し、強制ログアウト（セッションタイムアウト）の１０分前から、さらに目立つモーダル表示を出すプラグインを作成しました。</p>



<div class="pluginstatsview-card-wrap">
	<div>
		<img decoding="async" src="https://ps.w.org/countdown-to-force-logout/assets/icon-256x256.png?rev=2769543" alt="Countdown to force logout のアイコン" class="pluginstatsview-card-icon" />
		<div class="pluginstatsview-after-icon">
			<div class="pluginstatsview-bold"><a href="https://wordpress.org/plugins/countdown-to-force-logout/" class="pluginstatsview-astyle">Countdown to force logout</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/countdown-to-force-logout/#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">6,135ダウンロード</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/countdown-to-force-logout.1.10.zip" class="dashicons dashicons-download pluginstatsview-download"></a></span>
		<span class="pluginstatsview-card-right">リリース: 2022-08-11</span>
	</div>
	<div class="pluginstatsview-small pluginstatsview-card-center">
		2026-03-31 09:29 時点の統計	</div>
</div>



<h3 class="wp-block-heading">使い方・仕様</h3>



<p>プラグインをインストールして有効化するだけで表示が出ます。管理画面はありません。</p>



<ul class="wp-block-list"><li>60 秒間隔で管理バーにカウントダウンを通知します。</li><li>カウントダウンが 600 秒以下になると、モーダルウィンドウに通知されます。この秒数はフィルターフックで変更可能です。</li></ul>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
<figure data-wp-context="{&quot;imageId&quot;:&quot;69cc636e48081&quot;}" data-wp-interactive="core/image" data-wp-key="69cc636e48081" class="wp-block-image size-large wp-lightbox-container"><img fetchpriority="high" loading="eager" decoding="async" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on-window--resize="callbacks.setButtonStyles" width="1221" height="714" data-id="2995" src="https://blog.riverforest-wp.info/wp-content/uploads/20220812/screenshot-1.png" alt="" class="wp-image-2995" srcset="https://blog.riverforest-wp.info/wp-content/uploads/20220812/screenshot-1.png 1221w, https://blog.riverforest-wp.info/wp-content/uploads/20220812/screenshot-1-300x175.png 300w, https://blog.riverforest-wp.info/wp-content/uploads/20220812/screenshot-1-1024x599.png 1024w, https://blog.riverforest-wp.info/wp-content/uploads/20220812/screenshot-1-768x449.png 768w" sizes="(max-width: 1221px) 100vw, 1221px" /><button
			class="lightbox-trigger"
			type="button"
			aria-haspopup="dialog"
			aria-label="拡大する"
			data-wp-init="callbacks.initTriggerButton"
			data-wp-on--click="actions.showLightbox"
			data-wp-style--right="state.imageButtonRight"
			data-wp-style--top="state.imageButtonTop"
		>
			<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
				<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
			</svg>
		</button></figure>



<figure data-wp-context="{&quot;imageId&quot;:&quot;69cc636e48657&quot;}" data-wp-interactive="core/image" data-wp-key="69cc636e48657" class="wp-block-image size-large wp-lightbox-container"><img loading="lazy" decoding="async" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on-window--resize="callbacks.setButtonStyles" width="1216" height="710" data-id="2996" src="https://blog.riverforest-wp.info/wp-content/uploads/20220812/screenshot-2.png" alt="" class="wp-image-2996" srcset="https://blog.riverforest-wp.info/wp-content/uploads/20220812/screenshot-2.png 1216w, https://blog.riverforest-wp.info/wp-content/uploads/20220812/screenshot-2-300x175.png 300w, https://blog.riverforest-wp.info/wp-content/uploads/20220812/screenshot-2-1024x598.png 1024w, https://blog.riverforest-wp.info/wp-content/uploads/20220812/screenshot-2-768x448.png 768w" sizes="auto, (max-width: 1216px) 100vw, 1216px" /><button
			class="lightbox-trigger"
			type="button"
			aria-haspopup="dialog"
			aria-label="拡大する"
			data-wp-init="callbacks.initTriggerButton"
			data-wp-on--click="actions.showLightbox"
			data-wp-style--right="state.imageButtonRight"
			data-wp-style--top="state.imageButtonTop"
		>
			<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
				<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
			</svg>
		</button></figure>
</figure>



<h3 class="wp-block-heading">フィルターフック</h3>



<p>モーダルウィンドウに通知される秒数をカスタマイズできます。</p>



<pre class="prism line-numbers"><code class="language-php language-html">/** ==================================================
 * Filter for countdown limit second for modal window view.
 *
 */
add_filter( 'countdown_to_force_logout_limit_sec', function(){ return 300; }, 10, 1 );</code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>サイト更新が滞ると通知をするプラグイン</title>
		<link>https://blog.riverforest-wp.info/notify-old-blog/</link>
		
		<dc:creator><![CDATA[Katsushi Kawamori]]></dc:creator>
		<pubDate>Sun, 28 Jul 2019 20:34:41 +0000</pubDate>
				<category><![CDATA[Plugin]]></category>
		<category><![CDATA[サイト更新]]></category>
		<category><![CDATA[最終投稿]]></category>
		<category><![CDATA[通知]]></category>
		<guid isPermaLink="false">https://blog.riverforest-wp.info/?p=1594</guid>

					<description><![CDATA[はじめに フォーラムで以下の投稿を見て作成しました。 仕様]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">はじめに</h3>



<p>フォーラムで以下の投稿を見て作成しました。</p>



<style>
.simpleblogcard_img_blockf64b7421d66f6bb6726b6617c8e13784 {
  float: right;
  padding: 10px;
}
.simpleblogcard_borderf64b7421d66f6bb6726b6617c8e13784 {
  border-left: solid 8px #cd162c;
  padding: 0.25em 0.25em;
  background: transparent;
}
.simpleblogcard_titlef64b7421d66f6bb6726b6617c8e13784 {
  line-height: 155%;
  font-weight: bold;
  display: block;
}
.simpleblogcard_descriptionf64b7421d66f6bb6726b6617c8e13784 {
  line-height: 155%;
  color: #333;
}
</style>
<div class="simpleblogcard_wrap">
			<a style="text-decoration: none;" href=https://ja.wordpress.org/support/topic/web%e3%82%b5%e3%82%a4%e3%83%88%e3%82%92%e6%9b%b4%e6%96%b0%e3%81%97%e3%81%a6%e3%81%84%e3%81%aa%e3%81%84%e6%9c%9f%e9%96%93%e3%82%92%e9%80%9a%e7%9f%a5%e3%81%99%e3%82%8b%e3%83%97%e3%83%a9%e3%82%b0>
			<div class="simpleblogcard_inner">
		<div class="simpleblogcard_borderf64b7421d66f6bb6726b6617c8e13784">
			ja.wordpress.org			<div class="simpleblogcard_titlef64b7421d66f6bb6726b6617c8e13784">
				https://ja.wordpress.org/support/topic/web%e3%82%b5%e3%82%a4%e3%83%88%e3%82%92%e6%9b%b4%e6%96%b0%e3%81%97%e3%81%a6%e3%81%84%e3%81%aa%e3%81%84%e6%9c%9f%e9%96%93%e3%82%92%e9%80%9a%e7%9f%a5%e3%81%99%e3%82%8b%e3%83%97%e3%83%a9%e3%82%b0			</div>
							<div class="simpleblogcard_descriptionf64b7421d66f6bb6726b6617c8e13784">
									</div>
					</div>
	</div>
	<div style="clear: both;"></div>
	</a>
</div>



<div class="pluginstatsview-card-wrap">
	<div>
		<img decoding="async" src="https://ps.w.org/notify-old-blog/assets/icon-256x256.png?rev=2129851" alt="Notify Old Blog のアイコン" class="pluginstatsview-card-icon" />
		<div class="pluginstatsview-after-icon">
			<div class="pluginstatsview-bold"><a href="https://wordpress.org/plugins/notify-old-blog/" class="pluginstatsview-astyle">Notify Old Blog</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/notify-old-blog/#reviews" title="5.0(5点満点中)" class="pluginstatsview-astyle">	<span class="pluginstatsview-stars">
					<span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span>
			</span>
	</a>(1)</span>
		<span class="pluginstatsview-card-right">最終更新: 2日 前</span>
	</div>
	<div class="pluginstatsview-small">
		<span class="pluginstatsview-card-left">20以上サイトで有効化中</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/notify-old-blog.1.08.zip" class="dashicons dashicons-download pluginstatsview-download"></a></span>
		<span class="pluginstatsview-card-right">リリース: 2019-07-28</span>
	</div>
	<div class="pluginstatsview-small pluginstatsview-card-center">
		2026-03-31 09:30 時点の統計	</div>
</div>



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



<ul class="wp-block-list">
<li>ブログの最終更新日と現在の日付の差が一定期間を超えたときに通知します。</li>



<li>最終更新日と現在の日付の差を指定して通知できます。</li>



<li>1日に1回自動的にチェックされます。</li>



<li>通知の内容を変更できます。</li>



<li>時間を指定して通知できます。 </li>
</ul>



<figure class="wp-block-image aligncenter"><img loading="lazy" decoding="async" width="1024" height="785" src="https://blog.riverforest-wp.info/wp-content/uploads/20190728/screenshot-1-1-1024x785.png" alt="" class="wp-image-1606" srcset="https://blog.riverforest-wp.info/wp-content/uploads/20190728/screenshot-1-1-1024x785.png 1024w, https://blog.riverforest-wp.info/wp-content/uploads/20190728/screenshot-1-1-300x230.png 300w, https://blog.riverforest-wp.info/wp-content/uploads/20190728/screenshot-1-1-768x589.png 768w, https://blog.riverforest-wp.info/wp-content/uploads/20190728/screenshot-1-1.png 1086w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image aligncenter"><img loading="lazy" decoding="async" width="855" height="456" src="https://blog.riverforest-wp.info/wp-content/uploads/20190728/screenshot-2.png" alt="" class="wp-image-1600" srcset="https://blog.riverforest-wp.info/wp-content/uploads/20190728/screenshot-2.png 855w, https://blog.riverforest-wp.info/wp-content/uploads/20190728/screenshot-2-300x160.png 300w, https://blog.riverforest-wp.info/wp-content/uploads/20190728/screenshot-2-768x410.png 768w" sizes="auto, (max-width: 855px) 100vw, 855px" /><figcaption class="wp-element-caption"><strong>通知メール</strong></figcaption></figure>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
