mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Add settings registration and whitelisting. Props donncha. see #7277
git-svn-id: https://develop.svn.wordpress.org/trunk@8802 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -18,7 +18,8 @@ include('./admin-header.php');
|
||||
<div class="wrap">
|
||||
<h2><?php _e('General Settings') ?></h2>
|
||||
<form method="post" action="options.php">
|
||||
<?php wp_nonce_field('update-options') ?>
|
||||
<?php wp_nonce_field('general-options') ?>
|
||||
<input type='hidden' name='option_page' value='general' />
|
||||
<table class="form-table">
|
||||
<tr valign="top">
|
||||
<th scope="row"><label for="blogname"><?php _e('Blog Title') ?></label></th>
|
||||
@@ -120,7 +121,6 @@ endfor;
|
||||
|
||||
<p class="submit"><input type="submit" name="Submit" value="<?php _e('Save Changes') ?>" />
|
||||
<input type="hidden" name="action" value="update" />
|
||||
<input type="hidden" name="page_options" value="<?php if ( ! defined( 'WP_SITEURL' ) ) echo 'siteurl,'; if ( ! defined( 'WP_HOME' ) ) echo 'home,'; ?>blogname,blogdescription,admin_email,users_can_register,gmt_offset,date_format,time_format,start_of_week,comment_registration,default_role" />
|
||||
</p>
|
||||
</form>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user