Changeset 2870501
- Timestamp:
- 02/24/2023 09:48:16 AM (3 years ago)
- Location:
- bring-back-the-get-shortlink-button
- Files:
-
- 4 added
- 2 edited
-
tags/2.0.0 (added)
-
tags/2.0.0/bring-back-the-get-shortlink-button.php (added)
-
tags/2.0.0/license.txt (added)
-
tags/2.0.0/readme.txt (added)
-
trunk/bring-back-the-get-shortlink-button.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bring-back-the-get-shortlink-button/trunk/bring-back-the-get-shortlink-button.php
r2497379 r2870501 1 1 <?php 2 2 /** 3 * Bring Back the Get Shortlink Button 4 * 5 * @package BringBackTheGetShortlinkButton 6 * @author Thorsten Frommen 7 * @copyright 2023 Thorsten Frommen 8 * @license GPL-3.0-or-later 9 * 10 * @wordpress-plugin 3 11 * Plugin Name: Bring Back the Get Shortlink Button 4 12 * Plugin URI: https://wordpress.org/plugins/bring-back-the-get-shortlink-button/ 5 * Description: This plugin brings back the Get Shortlink button, which is hidden by default since WordPress 4.4.6 * Version: 1.2.013 * Description: This plugin brings back the Get Shortlink button, which is hidden by default since WordPress 4.4. 14 * Version: 2.0.0 7 15 * Requires at least: 4.4 8 * Requires PHP: 5.316 * Requires PHP: 7.4 9 17 * Author: Thorsten Frommen 10 18 * Author URI: https://tfrommen.de … … 18 26 } 19 27 20 add_filter( 'get_shortlink', function ( $shortlink ){28 add_filter( 'get_shortlink', function ( string $shortlink ): string { 21 29 22 30 return $shortlink; -
bring-back-the-get-shortlink-button/trunk/readme.txt
r2497379 r2870501 3 3 Tags: link, short, shortlink 4 4 Requires at least: 4.4 5 Tested up to: 5.76 Requires PHP: 5.37 Stable tag: 1.2.05 Tested up to: 6.1 6 Requires PHP: 7.4 7 Stable tag: 2.0.0 8 8 License: GPL v3 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.txt … … 15 15 As of WordPress 4.4, the _Get Shortlink_ button is hidden by default. This plugin brings it back. Yay. 16 16 17 Please note that the button does not exist at all in a Block Editor context. It will only show up when using the Classic Editor, for example, when editing a single attachment. 18 17 19 == Installation == 18 20 19 This plugin requires PHP 5.3.21 This plugin requires PHP 7.0. 20 22 21 23 1. Upload the `bring-back-the-get-shortlink-button` folder to the `/wp-content/plugins/` directory on your web server. … … 24 26 25 27 == Changelog == 28 29 = 2.0.0 = 30 * Add type declarations. 31 * Add code quality tooling and config. 32 * **BREAKING:** Require PHP 7.4 or higher. 33 * Bump "Tested up to" header. 26 34 27 35 = 1.2.0 =
Note: See TracChangeset
for help on using the changeset viewer.