WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/28/2008 09:57:58 PM (12 years ago)
Author:
ryan
Message:

Use settings_fields()

File:
1 edited

Legend:

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

    r9903 r9954  
    2222
    2323<form action="options.php" method="post">
    24 <input type="hidden" name="action" value="update" />
    25 <?php wp_nonce_field( 'media-options' ); ?>
    26 <input type='hidden' name='option_page' value='media' />
    27 <input type="hidden" name="page_options" value="thumbnail_size_w,thumbnail_size_h,thumbnail_crop,medium_size_w,medium_size_h,image_default_size,image_default_align,image_default_link_type,large_size_w,large_size_h" /> <!-- is this needed anymore TODO -->
     24<?php settings_fields('media'); ?>
    2825
    2926<p><?php _e('The setting below determines where images, documents, and other media files will be linked to when inserted into the body of a post.'); ?></p>
Note: See TracChangeset for help on using the changeset viewer.