Codex

Template:Trac

{{{1}}}

Contents

Description

Link to the source code on http://core.trac.wordpress.org/browser/.

Usage

{{Trac| $file_path | $branch_tag_trunk }}

Parameters

$file_path
(string) (required) Path to file.
Default: None
$branch_tag_trunk
(string) (optional) Path to 'branch version', 'tag version' or 'trunk'.
Default: tags/{{CurrentVersion}}

Usage

Link to the latest stable version:

{{Trac|wp-includes/version.php}}

Link to trunk:

{{Trac|wp-includes/version.php|trunk}}

Link to branch 2.9:

{{Trac|wp-includes/version.php|branches/2.9}}

Link to tag 3.0.1:

{{Trac|wp-includes/version.php|tags/3.0.1}}