WordPress.org

Make WordPress Core

Ticket #5851: 5851.noTopSave.diff

File 5851.noTopSave.diff, 4.4 KB (added by hansengel, 10 years ago)

Removes the top Save Changes button, so there is only one on each page

  • wp-admin/options-general.php

     
    1111<h2><?php _e('General Settings') ?></h2>
    1212<form method="post" action="options.php">
    1313<?php wp_nonce_field('update-options') ?>
    14 <p class="submit"><input type="submit" name="Submit" value="<?php _e('Save Changes &raquo;') ?>" /></p>
    1514<table class="niceblue">
    1615<tr valign="top">
    1716<th scope="row"><?php _e('Blog title:') ?></th>
  • wp-admin/options-misc.php

     
    1212<h2><?php _e('Miscellaneous Settings') ?></h2>
    1313<form method="post" action="options.php">
    1414<?php wp_nonce_field('update-options') ?>
    15 <p class="submit"><input type="submit" name="Submit" value="<?php _e('Save Changes &raquo;') ?>" /></p>
    1615<fieldset class="options">
    1716<legend><?php _e('Uploading'); ?></legend>
    1817<table class="niceblue">
  • wp-admin/options-discussion.php

     
    1111<h2><?php _e('Discussion Settings') ?></h2>
    1212<form method="post" action="options.php">
    1313<?php wp_nonce_field('update-options') ?>
    14 <p class="submit"><input type="submit" name="Submit" value="<?php _e('Save Changes &raquo;') ?>" /></p>
    1514<fieldset class="options">
    1615<legend><?php echo __('Usual settings for an article:').'<br /><small><em>('.__('These settings may be overridden for individual articles.').')</em></small>'; ?></legend>
    1716<ul>
  • wp-admin/options.php

     
    4848  <form name="form" action="options.php" method="post" id="all-options">
    4949  <?php wp_nonce_field('update-options') ?>
    5050  <input type="hidden" name="action" value="update" />
    51         <p class="submit"><input type="submit" name="Update" value="<?php _e('Save Changes &raquo;') ?>" /></p>
    5251  <table width="98%">
    5352<?php
    5453$options = $wpdb->get_results("SELECT * FROM $wpdb->options ORDER BY option_name");
  • wp-admin/options-reading.php

     
    1111<h2><?php _e('Reading Settings') ?></h2>
    1212<form name="form1" method="post" action="options.php">
    1313<?php wp_nonce_field('update-options') ?>
    14 <p class="submit"><input type="submit" name="Submit" value="<?php _e('Save Changes &raquo;') ?>" /></p>
    1514<?php if ( get_pages() ): ?>
    1615<fieldset class="options">
    1716<legend><?php _e('Front Page') ?></legend>
  • wp-admin/options-permalink.php

     
    112112  <h2><?php _e('Customize Permalink Structure') ?></h2>
    113113<form name="form" action="options-permalink.php" method="post">
    114114<?php wp_nonce_field('update-permalink') ?>
    115 <p class="submit"><input type="submit" name="submit" value="<?php _e('Update Permalink Structure &raquo;') ?>" /></p>
    116115  <p><?php _e('By default WordPress uses web <abbr title="Universal Resource Locator">URL</abbr>s which have question marks and lots of numbers in them, however WordPress offers you the ability to create a custom URL structure for your permalinks and archives. This can improve the aesthetics, usability, and forward-compatibility of your links. A <a href="http://codex.wordpress.org/Using_Permalinks">number of tags are available</a>, and here are some examples to get you started.'); ?></p>
    117116
    118117<?php
  • wp-admin/options-writing.php

     
    1111<h2><?php _e('Writing Settings') ?></h2>
    1212<form method="post" action="options.php">
    1313<?php wp_nonce_field('update-options') ?>
    14 <p class="submit"><input type="submit" name="Submit" value="<?php _e('Update Settings &raquo;') ?>" /></p>
    15 
    1614<table class="niceblue">
    1715<tr valign="top">
    1816<th width="33%" scope="row"> <?php _e('Size of the post box:') ?></th>