eirichmond / er-expire-user-cookie

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

=== Er Expire User Cookie ===
Contributors: elliottrichmond
Donate link: https://elliottrichmond.co.uk
Tags: cookies, session, security
Requires at least: 4.5
Tested up to: 6.5
Requires PHP: 8.1
Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Simple cookie expiration to mitigate the risk of stolen cookies.

== Description ==

According to wewatchyourwebsite.com, around 60% of hacked WordPress sites in 2023 were due to stolen cookie sessions, not plugin or theme vulnerabilities.
I've created this function to automatically expire your session cookie after a defined amount of inactivity.


== Installation ==

This section describes how to install the plugin and get it working.

e.g.

1. Upload `er-expire-user-cookie` to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress

== Frequently Asked Questions ==

= A question that someone might have =

An answer to that question.

= What about foo bar? =

Answer to foo bar dilemma.

== Screenshots ==

1. This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from
the /assets directory or the directory that contains the stable readme.txt (tags or trunk). Screenshots in the /assets
directory take precedence. For example, `/assets/screenshot-1.png` would win over `/tags/4.3/screenshot-1.png`
(or jpg, jpeg, gif).
2. This is the second screen shot

== Changelog ==

= 1.0 =
* First release.

== Arbitrary section ==

You may provide arbitrary sections, in the same format as the ones above.  This may be of use for extremely complicated
plugins where more information needs to be conveyed that doesn't fit into the categories of "description" or
"installation."  Arbitrary sections will be shown below the built-in sections outlined above.

== A brief Markdown Example ==

Ordered list:

1. Some feature
1. Another feature
1. Something else about the plugin

Unordered list:

* something
* something else
* third thing

Here's a link to [WordPress](https://wordpress.org/ "Your favorite software") and one to [Markdown's Syntax Documentation][markdown syntax].
Titles are optional, naturally.

[markdown syntax]: https://daringfireball.net/projects/markdown/syntax
            "Markdown is what the parser uses to process much of the readme file"

Markdown uses email style notation for blockquotes and I've been told:
> Asterisks for *emphasis*. Double it up  for **strong**.

`<?php code(); // goes in backticks ?>`

About


Languages

Language:Shell 58.4%Language:PHP 29.8%Language:JavaScript 11.7%