[wp-docs] Source file links for theme/plugin functions
michael.d.beckwith at gmail.com
Wed Nov 9 07:04:16 UTC 2011
I was wondering if it were feasible to link to the specific line where a
function is declared when saying "foo function is located in
wp-includes/bar.php". Instead of just linking to
to the actual destination, and then copy/paste in the link + line number.
For example from get_userdata():
Current source link =
Proposed source link =
The #L94 anchor pulls them straight to the start of the comment block for
Thoughts? Issues that I wasn't around for the first time someone thought
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wp-docs