Make WordPress Core


Ignore:
Timestamp:
11/14/2008 11:01:16 PM (17 years ago)
Author:
ryan
Message:

Notice fixes from DD32. see #7509

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/async-upload.php

    r8998 r9699  
    2626
    2727// just fetch the detail form for that attachment
    28 if ( ($id = intval($_REQUEST['attachment_id'])) && $_REQUEST['fetch'] ) {
     28if ( isset($_REQUEST['attachment_id']) && ($id = intval($_REQUEST['attachment_id'])) && $_REQUEST['fetch'] ) {
    2929    if ( 2 == $_REQUEST['fetch'] ) {
    3030        add_filter('attachment_fields_to_edit', 'media_single_attachment_fields_to_edit', 10, 2);
Note: See TracChangeset for help on using the changeset viewer.