Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Trac Ticket Shortcode

Links directly to a ticket ("bug") on a Trac site.

Self-explanatory, like most plugins.

This plugin can also be used as a must-use plugin by placing trac-ticket-shortcode.php into the wp-content/mu-plugins directory.

How to use constants

The Trac site that the plugin links to can be overridden by defining TRAC_TICKET_URL as the absolute URL to the root of the Trac site. Put a line like this into wp-config.php:

define('TRAC_TICKET_URL', 'http://plugins.trac.wordpress.org/');

to use the plugin site.

The name of the shortcode can be customized (within reason -- i.e. lowercase alphabetical characters and underscores) by defining TRAC_TICKET_SHORTCODE. The default shortcode is [bug] but other reasonable names might include [ticket]:

define('TRAC_TICKET_SHORTCODE', 'ticket');

(Whatever string is supplied will be lowercased. Only alphanumeric characters and the underscore will remain. For example, if you define TRAC_TICKET_SHORTCODE as ticket-#, the shortcode will actually be hooked for ticket.)

Note that changing either of these constants will affect all shortcodes.

Requires: 3.0 or higher
Compatible up to: 3.5.2
Last Updated: 4 years ago
Active Installs: Less than 10


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.