Make WordPress Core


Ignore:
Timestamp:
03/01/2004 06:13:32 AM (20 years ago)
Author:
saxmatt
Message:

Migration to get_settings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form.php

    r955 r956  
    33<?php
    44
    5 $allowed_users = explode(" ", trim($fileupload_allowedusers));
     5$allowed_users = explode(" ", trim(get_settings('fileupload_allowedusers')));
    66
    77$submitbutton_text = 'Blog this!';
     
    99$form_action = 'post';
    1010$form_extra = '';
    11 if ($use_pingback) {
     11if (get_settings('use_pingback')) {
    1212    $form_pingback = '<input type="checkbox" class="checkbox" name="post_pingback" value="1" ';
    1313    if ($post_pingback) $form_pingback .= 'checked="checked" ';
     
    1616    $form_pingback = '';
    1717}
    18 if ($use_trackback) {
     18if (get_settings('use_trackback')) {
    1919    $form_trackback = '<p><label for="trackback"><a href="http://wordpress.org/docs/reference/post/#trackback" title="Help on trackbacks"><strong>TrackBack</strong> an <acronym title="Uniform Resource Locator">URL</acronym></a>:</label> (Separate multiple <acronym title="Uniform Resource Locator">URL</acronym>s with spaces.)<br />
    2020    <input type="text" name="trackback_url" style="width: 360px" id="trackback" tabindex="7" /></p>';
Note: See TracChangeset for help on using the changeset viewer.