Reputation
589
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
2 12 38
Impact
~153k people reached

  • 0 posts edited
  • 3 helpful flags
  • 91 votes cast
Apr
1
awarded  Popular Question
Mar
14
awarded  Popular Question
Feb
8
awarded  Notable Question
Feb
3
comment How would you detect if WordPress is installed in a subdirectory (not root)?
thanks I also thought of that and should have mentioned in OP question -- however, do you think it's reliable in 100% of the cases?
Feb
3
accepted How would you detect if WordPress is installed in a subdirectory (not root)?
Feb
2
asked How would you detect if WordPress is installed in a subdirectory (not root)?
Nov
20
accepted Rewrite rule to prettify two $_GET variables while in a new endpoint from a page
Nov
20
comment Rewrite rule to prettify two $_GET variables while in a new endpoint from a page
thanks cybmeta while you were answering I also found a solution - not only I had to write add_rewrite_endpoint( 'my-endpoint', EP_PAGES, false ); but in my case the false arg was very important - there is a third parameter in add_rewrite_endpoint and that tells whether adding a query var for the endpoint or not in my case I didn't need it and it was messing up with the rest of the url with the rewrite rule (passing the rest of the url as query var value) - please edit your answer
Nov
20
comment Rewrite rule to prettify two $_GET variables while in a new endpoint from a page
yes it was, sorry I deleted it while editing the snippet for stackoverflow
Nov
20
revised Rewrite rule to prettify two $_GET variables while in a new endpoint from a page
edit typo
Nov
20
comment Rewrite rule to prettify two $_GET variables while in a new endpoint from a page
partially, query vars are working, rewrite rules for the part after the endpoint are not - if I head over /page-slug/my-endpoint/123/some-string and check for isset( $wp_query->query_vars['some_id'] ) it returns false (but no 404), if I do the same with /page-slug/my-endpoint/?some_id=123&some_string=some-string it returns true
Nov
20
revised Rewrite rule to prettify two $_GET variables while in a new endpoint from a page
I'm running this at init time
Nov
19
asked Rewrite rule to prettify two $_GET variables while in a new endpoint from a page
Oct
28
awarded  Notable Question
Sep
15
accepted Using WordPress gettext functions in a library outside plugin or theme scope
Sep
15
comment Using WordPress gettext functions in a library outside plugin or theme scope
thanks, I thought so too but would have valued other people thoughts on this - btw one of the articles mentioned was yours, Rarst :)
Sep
15
asked Using WordPress gettext functions in a library outside plugin or theme scope
Aug
17
awarded  Popular Question
Jun
29
comment wp cron job fires at every second or so, if callback is wrapped with DOING_CRON check it never fires at all
edited with code snippets
Jun
29
revised wp cron job fires at every second or so, if callback is wrapped with DOING_CRON check it never fires at all
added 628 characters in body