Skip to content

Instantly share code, notes, and snippets.

@billerickson
Created October 11, 2012 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save billerickson/3873308 to your computer and use it in GitHub Desktop.
Save billerickson/3873308 to your computer and use it in GitHub Desktop.
Change line 133 FROM:
$perm = 'edit_' . ( 'page' == $post->post_type ? 'post' : $post->post_type ) . 's';
TO:
$perm = 'edit_' . ( 'page' == $post->post_type ? 'page' : 'post' ) . 's';
@ahtashamilyas
Copy link

now what?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment