Skip to content

Instantly share code, notes, and snippets.

@ironicmoka
ironicmoka / gist:44b1b8d0b4aed341351bb4e2e2c17e39
Created December 16, 2021 17:29 — forked from gigorok/gist:3798538
HTML: Autosubmit form through POST request
<form name="myform">
<input type="hidden" name="var1" value="5" />
</form>
<script type="text/javascript">
document.myform.submit();
</script>
@ironicmoka
ironicmoka / roles.md
Created December 11, 2019 00:28 — forked from octalmage/roles.md
Default WordPress user roles and capabilities.

WordPress v4.3.1

Admin wp_capabilities wp_user_level 10

a:1:{s:13:"administrator";b:1;}

Contributor wp_capabilities wp_user_level 1