Skip to content

Instantly share code, notes, and snippets.

@ryanhellyer
Created October 21, 2012 12:38
Show Gist options
  • Save ryanhellyer/3926864 to your computer and use it in GitHub Desktop.
Save ryanhellyer/3926864 to your computer and use it in GitHub Desktop.

Revisions

  1. ryanhellyer created this gist Oct 21, 2012.
    3 changes: 3 additions & 0 deletions update-option-without-user-check
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    <?php
    update_option( 'random_option', $_POST['random_option'] );
    ?>