CoreFiles by mySites.guru
options-head.php24 lines, 536 bytes, from wordpress-2.0.9.zip
Raw History Compare with 2.0.8
md5
236ef80a5c59206f2ba6192cc6c206dd
sha1
fe44039f9c3115d8c4e66dc55876eca6be5564a8
sha256
98a5c50a08b49137a3c5aed37c17d3dc2133b60778a4a32cb592cb4076bec422
<?php

$wpvarstoreset = array('action','standalone', 'option_group_id');
for ($i=0; $i<count($wpvarstoreset); $i += 1) {
	$wpvar = $wpvarstoreset[$i];
	if (!isset($$wpvar)) {
		if (empty($_POST["$wpvar"])) {
			if (empty($_GET["$wpvar"])) {
				$$wpvar = '';
			} else {
				$$wpvar = $_GET["$wpvar"];
			}
		} else {
			$$wpvar = $_POST["$wpvar"];
		}
	}
}
?>

<br clear="all" />

<?php if (isset($_GET['updated'])) : ?>
<div id="message" class="updated fade"><p><strong><?php _e('Options saved.') ?></strong></p></div>
<?php endif; ?>

The same content is in 27 releases, WordPress 2.0 to 2.0.11. See them all, or every version of this file.