Make WordPress Core


Ignore:
Timestamp:
11/26/2008 02:27:37 AM (16 years ago)
Author:
azaozz
Message:

Move Gallery Settings to the Gallery tab in the uploader, split the Upload tab in "From Computer" and "From URL" tabs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-template.php

    r9847 r9894  
    758758 * @return string HTML content.
    759759 */
    760 function wp_get_attachment_link($id = 0, $size = 'thumbnail', $permalink = false, $icon = false, $imgwidth = false) {
     760function wp_get_attachment_link($id = 0, $size = 'thumbnail', $permalink = false, $icon = false) {
    761761    $id = intval($id);
    762762    $_post = & get_post( $id );
     
    770770    $post_title = attribute_escape($_post->post_title);
    771771
    772     $link_text = wp_get_attachment_image($id, $size, $icon, $imgwidth);
     772    $link_text = wp_get_attachment_image($id, $size, $icon);
    773773    if ( !$link_text )
    774774        $link_text = $_post->post_title;
Note: See TracChangeset for help on using the changeset viewer.