Change Last Modified Date

change-last-modified-date · Par djuric
3k+ installations 4.3 (12) MAJ il y a 1 an v1.4.8 WP 5.1–6.8.9 PHP 5.6+

Score d'impact

Footprint Score sur les deux contextes les plus représentatifs.

Score Homepage

Impact mesuré sur la page d'accueil publique

···
v1.4.8 · 1 scan
Score consolidé sur 90 jours · 1 versions
Données insuffisantes pour publier le grade (15 scans min, actuellement 1).
Temps
10 ms
Mémoire
0.0 MB
SQL
+0
Assets
0
HTTP ext.
0

Score Admin

Impact mesuré dans l'administration WordPress

Scan en cours d'analyse. Le score sera publié dès qu'on aura assez de mesures.

À propos

Using this plugin you can easily change or prevent updating the last modified date for each post. Controlling the last modified date can come in handy when you would like to control « order by last modified » for posts (or custom post type).

When this plugin is active it will enable Last modified date options in Status & Visibility panel in sidebar. Changing the modified date can be done by clicking the date link and selecting a new date for the post. It’s also possible to disable future updates of the last modified date by setting the « Freeze modified date » option to on.

To update the last modified date, plugin is using « rest_pre_insert_{$post_type} » hook which is executed before « init » where other custom post types are usually registered. This is the reason why plugin is not aware of any additional post types other than those registered by WordPress core. To support additional post types you can add constant in following format to wp-config.php:

Lire la suite
define( 'CLM_DATE_POST_TYPES', ['post-type-slug-1', 'post-type-slug-2'] );

Custom post types are also required to have « custom-fields » support declared.

For support or code contributions please refer to Github repo.

Tags
change last modified edit date edit last modified last-modified

Captures d'écran

Aperçus fournis par l'auteur sur wordpress.org.

screenshot-1.png
screenshot-1.png

Historique par version

Voir le détail par version (1 versions)

Comment le plugin évolue de version en version.

Version Homepage Admin Dernier scan
v1.4.8 1 scan il y a 1 semaine

Historique des scans

Voir le journal des scans individuels (1 scans)

Date Version Contexte Score Grade Temps Mémoire
il y a 1 semaine v1.4.8 Homepage 95/100 A 10 ms 0.0 MB