WordPress.org

Make WordPress Core

Changeset 15171


Ignore:
Timestamp:
06/08/10 14:02:16 (4 years ago)
Author:
ryan
Message:

Use admin_url() for the media-upload.php url. see #13685

File:
1 edited

Legend:

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

    r15132 r15171  
    7171    <h2><?php echo esc_html( $title ); ?></h2> 
    7272 
    73     <form enctype="multipart/form-data" method="post" action="media-upload.php?inline=&amp;upload-page-form=" class="media-upload-form type-form validate" id="file-form"> 
     73    <form enctype="multipart/form-data" method="post" action="<?php echo admin_url('media-upload.php?inline=&amp;upload-page-form='); ?>" class="media-upload-form type-form validate" id="file-form"> 
    7474 
    7575    <?php media_upload_form(); ?> 
Note: See TracChangeset for help on using the changeset viewer.