Make WordPress Core

Ticket #32647: 32647.diff

File 32647.diff, 964 bytes (added by amcreative, 10 years ago)

32647.diff

  • src/wp-admin/includes/ms.php

     
    814814                        echo "N/A";
    815815                }
    816816                ?>
     817                <input type="hidden" name="action" value="updateblogsettings" />
     818                <?php wp_nonce_field( 'update-my-sites' ); ?>
     819                <?php submit_button( null, 'primary', null, false, null ); ?>
    817820                </td>
    818821        </tr>
    819822        <?php if ( in_array( get_site_option( 'registration' ), array( 'all', 'blog' ) ) ) : ?>
  • src/wp-admin/my-sites.php

     
    133133                echo "</tr>";
    134134        }?>
    135135        </table>
    136         <input type="hidden" name="action" value="updateblogsettings" />
    137         <?php wp_nonce_field( 'update-my-sites' ); ?>
    138         <?php submit_button(); ?>
    139136        </form>
    140137<?php endif; ?>
    141138        </div>