Descripción
Extends the Public Post Preview plugin by allowing users to customize the expiration time dynamically through the WordPress admin panel.
Features
- Set the expiration time for Public Post Preview links.
- Customize the expiration time in minutes (from 1 minute to 30 days).
- Secure input validation to prevent invalid values.
- Fully integrated into the WordPress Settings panel.
- Safe and lightweight implementation.
How to Use
- Navigate to Settings > PPP Extension in your WordPress admin panel.
- Enter the expiration time in minutes (minimum: 1, maximum: 43200 minutes / 30 days).
- Click Save Changes.
- Public Post Preview links will now expire based on your selected time.
Security
– User input is sanitized and validated to prevent unauthorized values.
– The input is limited between 1 minute and 30 days to avoid extreme values.
– Escaped output prevents XSS attacks.
License
This plugin is released under the GPLv2 or later license.
Instalación
- Download the plugin.
- Upload the extracted
ppp-extension
folder to/wp-content/plugins/
. - Activate the plugin in WordPress Admin > Plugins.
FAQ
-
What is the allowed expiration time range?
-
You can set the expiration time between 1 minute (minimum) and 43200 minutes (30 days maximum).
-
Does this work without Public Post Preview installed?
-
No, this plugin extends the Public Post Preview plugin, so it must be installed and activated first.
Colaboradores y desarrolladores
"PPP Extension" es un software de código abierto. Las siguientes personas han colaborado con este plugin.
ColaboradoresTraduce "PPP Extension" a tu idioma.
¿Interesado en el desarrollo?
Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.
Registro de cambios
1.0.3
- Tested with WordPress 6.8.
- Added a Settings link next to Deactivate on the Plugins page.
1.0.2
- Security enhancements for user input.
- Set expiration time in minutes instead of seconds.
- Capped expiration limit to 30 days (43200 minutes).
1.0.1
- Security enhancements for user input.
- Set expiration time in minutes instead of seconds.
- Capped expiration limit to 3 days (4320 minutes).
1.0.0
- Initial implementation of dynamic expiration settings.