Media library work from andy. see #5911

git-svn-id: https://develop.svn.wordpress.org/trunk@6974 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-02-22 05:53:47 +00:00
parent c828027c3a
commit 579698f0b1
24 changed files with 264 additions and 540 deletions

View File

@@ -362,8 +362,8 @@ function walk_page_dropdown_tree() {
// Attachments
//
function the_attachment_link($id = 0, $fullsize = false, $max_dims = false) {
echo get_the_attachment_link($id, $fullsize, $max_dims);
function the_attachment_link($id = 0, $fullsize = false, $max_dims = false, $permalink = false) {
echo get_the_attachment_link($id, $fullsize, $max_dims, $permalink);
}
function get_the_attachment_link($id = 0, $fullsize = false, $max_dims = false, $permalink = false) {