Fix ref check.
git-svn-id: https://develop.svn.wordpress.org/trunk@3942 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e28eccfd05
commit
3f6483df00
|
@ -64,7 +64,7 @@ edCanvas = document.getElementById('content');
|
||||||
<?php if ('bookmarklet' != $mode) {
|
<?php if ('bookmarklet' != $mode) {
|
||||||
echo '<input name="advanced" type="submit" id="advancededit" tabindex="7" value="' . __('Advanced Editing »') . '" />';
|
echo '<input name="advanced" type="submit" id="advancededit" tabindex="7" value="' . __('Advanced Editing »') . '" />';
|
||||||
} ?>
|
} ?>
|
||||||
<input name="referredby" type="hidden" id="referredby" value="<?php if (isset(wp_get_referer())) echo urlencode($_SERVER['HTTP_REFERER']); ?>" />
|
<input name="referredby" type="hidden" id="referredby" value="<?php if ( wp_get_referer() ) echo urlencode(wp_get_referer()); ?>" />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<?php do_action('simple_edit_form', ''); ?>
|
<?php do_action('simple_edit_form', ''); ?>
|
||||||
|
|
Loading…
Reference in New Issue