Plugin Directory

Changeset 3421858


Ignore:
Timestamp:
12/17/2025 11:56:06 AM (3 months ago)
Author:
runthingsdev
Message:

Release 2.1.1

Location:
runthings-current-year-shortcode/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • runthings-current-year-shortcode/trunk/languages/runthings-current-year-shortcode.pot

    r3265011 r3421858  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Current Year Shortcode 2.1.0\n"
     5"Project-Id-Version: Current Year Shortcode 2.1.1\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/runthings-current-year-shortcode\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-03-26T12:32:00+00:00\n"
     12"POT-Creation-Date: 2025-12-17T11:50:13+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.11.0\n"
     
    2727#. Description of the plugin
    2828#: runthings-current-year-shortcode.php
    29 msgid "Add a shortcode for displaying the current year as a range, usage: [year from=\"2025\"] or [runthings_year from=\"2025\"] if there's a conflict."
     29msgid "Add a shortcode for displaying the current year as a range, usage: [year from=\"2026\"] or [runthings_year from=\"2026\"] if there's a conflict."
    3030msgstr ""
    3131
  • runthings-current-year-shortcode/trunk/readme.md

    r3265011 r3421858  
    1515- Display current year with `[year]`
    1616- Create a dynamic year range with `[year from="2020"]`
    17 - Abbreviated year format with `[year from="2020" mode="short"]`, which shows "2020-25" (if the current year is 2025)
     17- Abbreviated year format with `[year from="2020" mode="short"]`, which shows "2020-26" (if the current year is 2026)
    1818- Automatic fallback shortcode `[runthings_year]` if another plugin already uses the 'year' shortcode
    1919- Filter (`runthings_current_year_shortcode_tag`) to set your own shortcode
     
    2121### Usage Examples
    2222
    23 Assuming the current year is 2025:
     23Assuming the current year is 2026:
    2424
    25 - `[year]` displays "2025"
    26 - `[year from="2025"]` displays "2025" (since it's the current year)
    27 - `[year from="1983"]` displays "1983-2025"
    28 - `[year from="2020" mode="short"]` displays "2020-25" (shortened current year)
    29 - `[year from="1995" mode="short"]` displays "1995-2025" (not shortened because centuries differ)
     25- `[year]` displays "2026"
     26- `[year from="2026"]` displays "2026" (since it's the current year)
     27- `[year from="1983"]` displays "1983-2026"
     28- `[year from="2020" mode="short"]` displays "2020-26" (shortened current year)
     29- `[year from="1995" mode="short"]` displays "1995-2026" (not shortened because centuries differ)
    3030
    3131## Installation
     
    7373### What's the 'mode=short' parameter for?
    7474
    75 When using a date range with years in the same century (e.g., 2020-2025), the 'short' mode will abbreviate the end year to just the last digits (2020-25), creating a cleaner look for your copyright statements.
     75When using a date range with years in the same century (e.g., 2020-2026), the 'short' mode will abbreviate the end year to just the last digits (2020-26), creating a cleaner look for your copyright statements.
    7676
    7777## Screenshots
     
    8787
    8888## Changelog
     89
     90### 2.1.1 - 17th December 2025
     91
     92- Bump tested up to 6.9
    8993
    9094### 2.1.0 - 26th March 2025
     
    123127## Additional Notes
    124128
    125 Built by Matthew Harris of runthings.dev, copyright 2021-2025.
     129Built by Matthew Harris of runthings.dev, copyright 2021-2026.
    126130
    127131Visit [runthings.dev](https://runthings.dev/) for more WordPress plugins and resources.
  • runthings-current-year-shortcode/trunk/readme.txt

    r3265011 r3421858  
    22Contributors: runthingsdev
    33Tags: shortcode, year, copyright, date, dynamic-content
    4 Tested up to: 6.8
     4Tested up to: 6.9
    55Requires at least: 6.0
    66Requires PHP: 7.4
    7 Stable tag: 2.1.0
     7Stable tag: 2.1.1
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    2222* Display current year with `[year]`
    2323* Create a dynamic year range with `[year from="2020"]`
    24 * Abbreviated year format with `[year from="2020" mode="short"]`, which shows "2020-25" (if the current year is 2025)
     24* Abbreviated year format with `[year from="2020" mode="short"]`, which shows "2020-26" (if the current year is 2026)
    2525* Automatic fallback shortcode `[runthings_year]` if another plugin already uses the 'year' shortcode
    2626* Filter (`runthings_current_year_shortcode_tag`) to set your own shortcode
    2727
    2828= Usage Examples =
    29 Assuming the current year is 2025:
     29Assuming the current year is 2026:
    3030
    31 * `[year]` displays "2025"
    32 * `[year from="2025"]` displays "2025" (since it's the current year)
    33 * `[year from="1983"]` displays "1983-2025"
    34 * `[year from="2020" mode="short"]` displays "2020-25" (shortened current year)
    35 * `[year from="1995" mode="short"]` displays "1995-2025" (not shortened because centuries differ)
     31* `[year]` displays "2026"
     32* `[year from="2026"]` displays "2026" (since it's the current year)
     33* `[year from="1983"]` displays "1983-2026"
     34* `[year from="2020" mode="short"]` displays "2020-26" (shortened current year)
     35* `[year from="1995" mode="short"]` displays "1995-2026" (not shortened because centuries differ)
    3636
    3737== Installation ==
     
    5757= What's the 'mode=short' parameter for? =
    5858
    59 When using a date range with years in the same century (e.g., 2020-2025), the 'short' mode will abbreviate the end year to just the last digits (2020-25), creating a cleaner look for your copyright statements.
     59When using a date range with years in the same century (e.g., 2020-2026), the 'short' mode will abbreviate the end year to just the last digits (2020-26), creating a cleaner look for your copyright statements.
    6060
    6161== Screenshots ==
     
    6666
    6767== Changelog ==
     68
     69= 2.1.1 - 17th December 2025 =
     70* Update year examples to 2026
     71* Bump tested up to 6.9
    6872
    6973= 2.1.0 - 26th March 2025 =
     
    96100== Upgrade Notice ==
    97101
     102= 2.1.1 =
     103Bump tested up to 6.9. Update year examples to 2026.
     104
    98105= 2.1.0 =
    99106This update moves scripts and styles into externally included files.
     
    116123== Additional Notes ==
    117124
    118 Built by Matthew Harris of runthings.dev, copyright 2021-2025.
     125Built by Matthew Harris of runthings.dev, copyright 2021-2026.
    119126
    120127Visit [runthings.dev](https://runthings.dev/) for more WordPress plugins and resources.
  • runthings-current-year-shortcode/trunk/runthings-current-year-shortcode.php

    r3265011 r3421858  
    33Plugin Name: Current Year Shortcode
    44Plugin URI: https://runthings.dev/wordpress-plugins/current-year-shortcode/
    5 Description: Add a shortcode for displaying the current year as a range, usage: [year from="2025"] or [runthings_year from="2025"] if there's a conflict.
    6 Version: 2.1.0
     5Description: Add a shortcode for displaying the current year as a range, usage: [year from="2026"] or [runthings_year from="2026"] if there's a conflict.
     6Version: 2.1.1
    77Author: runthingsdev
    88Author URI: https://runthings.dev/
    99Requires PHP: 7.4
    1010Requires at least: 6.0
    11 Tested up to: 6.8
     11Tested up to: 6.9
    1212Text Domain: runthings-current-year-shortcode
    1313Domain Path: /languages
     
    1515License URI: http://www.gnu.org/licenses/gpl-3.0.html
    1616
    17 Copyright 2022-2025 Matthew Harris
     17Copyright 2022-2026 Matthew Harris
    1818
    1919This program is free software; you can redistribute it and/or modify
     
    3737}
    3838
    39 define('RUNTHINGS_CYS_VERSION', '2.1.0');
     39define('RUNTHINGS_CYS_VERSION', '2.1.1');
    4040define('RUNTHINGS_CYS_FILE', __FILE__);
    4141define('RUNTHINGS_CYS_DIR', plugin_dir_path(__FILE__));
     
    125125     *
    126126     * @example
    127      * // assuming current year is 2025
    128      * [year] = 2025 (or [runthings_year] if 'year' is taken)
     127     * // assuming current year is 2026
     128     * [year] = 2026 (or [runthings_year] if 'year' is taken)
    129129     * @example
    130      * // assuming current year is 2025
    131      * [year from="2025"] = 2025
     130     * // assuming current year is 2026
     131     * [year from="2026"] = 2026
    132132     * @example
    133      * // assuming current year is 2025
    134      * [year from="1983"] = 1983-2025
     133     * // assuming current year is 2026
     134     * [year from="1983"] = 1983-2026
    135135     * @example
    136      * // assuming current year is 2025
    137      * [year from="2020" mode="short"] = 2020-25
     136     * // assuming current year is 2026
     137     * [year from="2020" mode="short"] = 2020-26
    138138     * @example
    139      * // assuming current year is 2025
    140      * [year from="1995" mode="short"] = 1995-2025
     139     * // assuming current year is 2026
     140     * [year from="1995" mode="short"] = 1995-2026
    141141     *
    142142     * @param array|string $atts Shortcode attributes
Note: See TracChangeset for help on using the changeset viewer.