Bring Back the Get Shortlink Button

February 24, 2023

Bring Back the Get Shortlink Button Plugin

This plugin brings back the Get Shortlink button, which is hidden by default since WordPress 4.4.

As of WordPress 4.4, the Get Shortlink button is hidden by default. This plugin brings it back. Yay.

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.

Installation

This plugin requires PHP 7.0.

  1. Upload the bring-back-the-get-shortlink-button folder to the /wp-content/plugins/ directory on your web server.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Find the Get Shortlink button just where it was before WordPress 4.4.

Changelog

2.1.0

  • Add unit tests.
  • Split main plugin file into multiple functions to allow for better testability.
  • Rename folder including WordPress.org assets.

2.0.0

  • Add type declarations.
  • Add code quality tooling and config.
  • BREAKING: Require PHP 7.4 or higher.
  • Bump “Tested up to” header.

1.2.0

  • Bump “Tested up to” header.

1.1.0

WordPress.org release.

1.0.0

Initial release.

Details

  • Version: 2.1.0
  • Active installations: 1,000
  • WordPress Version: 4.4
  • Tested up to: 6.1.7
  • PHP Version: 7.4

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars