139 reputation
12
bio website
location UK
age
visits member for 2 years, 7 months
seen 12 hours ago

Just another SE user. I like asking questions, posting answers, and writing comments. Sometimes I vote.


1d
comment Enable revisions for custom post type
Something to consider - the Revisions box won't appear after enabling Revisions on your CPT unless you make some changes and save a few times first. This threw me, I thought my code wasn't working but (of course) there were no revisions to display.
1d
comment How to let contributors to create a new revision(draft) editing their published posts
I'm not certain but I think the line if ($data['post_status'] = "publish"){ should read if ($data['post_status'] == "publish"){ - otherwise it's not testing it's assigning. Can you update your answer if I'm right?
Jul
9
awarded  Popular Question
Jul
7
comment How can you check if you are in a particular page in the WP Admin section? For example how can I check if I am in the Users > Your Profile page?
+1 for using built-ins, this helped me
Jul
7
awarded  Popular Question
Jun
27
awarded  Popular Question
Jun
24
awarded  Excavator
Jun
24
revised How to add a Capability to a User Role?
the original link was broken, have suggested a link to the function reference for get_role() instead
Jun
24
suggested suggested edit on How to add a Capability to a User Role?
May
5
comment Hide certain pages / posts on wp-admin, show custom filter
this did the trick, I based my solution on this and then used another hook to add a filter link to the wp-admin page, with a GET param that I tested against. Thanks!
May
5
accepted Hide certain pages / posts on wp-admin, show custom filter
Apr
30
revised Hide certain pages / posts on wp-admin, show custom filter
edited tags
Apr
30
asked Hide certain pages / posts on wp-admin, show custom filter
Dec
10
revised Proper way to secure certain uploaded files
flagged as duplicate, edited to show link to duplicate
Dec
10
awarded  Citizen Patrol
Dec
10
asked Proper way to secure certain uploaded files
Nov
20
accepted Change type of permalinks on TinyMCE link dialogue
Nov
20
comment Change type of permalinks on TinyMCE link dialogue
Ah I didn't realise that it took care of that - that's brilliant :) thanks!
Nov
19
asked Change type of permalinks on TinyMCE link dialogue
Jun
13
awarded  Popular Question