Changeset 2928083
- Timestamp:
- 06/19/2023 04:20:38 PM (14 months ago)
- Location:
- plu-redux/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plu-redux/trunk/plu-redux.php
r2927457 r2928083 17 17 * @wordpress-plugin 18 18 * Plugin Name: PLU Redux 19 * Version: 2.2. 219 * Version: 2.2. 20 20 * Requires at least: 6.0 21 21 * Requires PHP: 7.4 … … 60 60 $last_updated_timestamp = strtotime($last_updated); // get a Unix timestamp for the last updated date 61 61 $is_old = $last_updated_timestamp < $two_years_ago; // check if the last updated date is older than 2 years 62 $warning = $is_old ? ' ⚠️' : ''; // if the last updated date is older than 2 years, add a warning symbol62 $warning = $is_old ? ' ' : ''; // if the last updated date is older than 2 years, add a warning symbol 63 63 $plugin_meta['last_updated'] = $warning . 'Last Updated: ' . date_i18n( get_option( 'date_format' ), strtotime($last_updated)); // add the last updated date to the plugin meta array 64 64 } -
plu-redux/trunk/readme.txt
r2927457 r2928083 5 5 Requires at least: 6.0 6 6 Tested up to: 6.2 7 Stable tag: 2.2. 27 Stable tag: 2.2. 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 54 54 == Changelog == 55 55 56 57 58 59 56 60 = 2.2.2 = 57 61
Note: See TracChangeset
for help on using the changeset viewer.