Reputation
581
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
2 12 36
Impact
~137k people reached

  • 0 posts edited
  • 3 helpful flags
  • 91 votes cast
Dec
9
revised While doing ajax, WordPress returning internal server error 500 and stating that my theme functions are undefined
added 340 characters in body
Dec
9
revised While doing ajax, WordPress returning internal server error 500 and stating that my theme functions are undefined
added 103 characters in body
Dec
9
comment While doing ajax, WordPress returning internal server error 500 and stating that my theme functions are undefined
the function used as ajax callback is the simplest ever: $stuff = some_php_function(); wp_send_json_success($stuff); I don't think I can post the whole php function as it's very very long - but this function is also used server side and doesn't return any error
Dec
9
comment While doing ajax, WordPress returning internal server error 500 and stating that my theme functions are undefined
the ajax url is in a variable printed after using wp localize script immediately after my script is enqueued - I double checked that from console.log and it's fine
Dec
9
asked While doing ajax, WordPress returning internal server error 500 and stating that my theme functions are undefined
Nov
18
answered Can't get a JSON object in response to an ajax request with wp_ajax
Nov
17
revised Can't get a JSON object in response to an ajax request with wp_ajax
added 32 characters in body
Nov
17
asked Can't get a JSON object in response to an ajax request with wp_ajax
Nov
6
awarded  Notable Question
Oct
11
awarded  Notable Question
Sep
26
awarded  Popular Question
Aug
26
awarded  Popular Question
Jul
31
awarded  Popular Question
Jun
26
awarded  Popular Question
May
27
awarded  Citizen Patrol
May
22
awarded  Notable Question
May
10
awarded  Notable Question
Apr
23
awarded  Notable Question
Mar
10
comment Best pratice to make taxonomy terms translatable without changing slugs?
thanks Simon, I think #1 works best; WPML has something close to #2 but creating new terms is probably redundant and furthermore will impose creating new slugs. I will go for option #1.
Mar
10
accepted Best pratice to make taxonomy terms translatable without changing slugs?