Make WordPress Core

Ticket #14390: 14390.diff

File 14390.diff, 380 bytes (added by coffee2code, 14 years ago)

Alternative approach.

  • wp-includes/media.php

     
    781781                'columns'    => 3,
    782782                'size'       => 'thumbnail',
    783783                'include'    => '',
    784                 'exclude'    => ''
     784                'exclude'    => get_post_thumbnail_id()
    785785        ), $attr));
    786786
    787787        $id = intval($id);