275 reputation
314
bio website
location Turkey
age 23
visits member for 4 years, 5 months
seen yesterday

Jul
16
asked Using in-build Visual Composer param types in custom param types
Apr
14
comment Using the 'draft_to_publish' hook (post status transition)
@bosco , it should my_function( $strNewStatus, $strOldStatus, $post ) not my_function( $strOldStatus, $strNewStatus, $post ). Thank you.
Apr
1
comment Using init hook for register_taxonomy is causing invalid_taxonomy in wp_insert_term()
If I don't want to use AJAX , are there any action to achieve this? If there isn't I'll use ajax.
Apr
1
comment Using init hook for register_taxonomy is causing invalid_taxonomy in wp_insert_term()
Just edited first code sample and wrapper wp_insert_term with add_new_term() function. Can you check please? I need to put it inside of a function because I have a button on my plugin page , when user click to this button I will add a new term to taxonomy . I'll use AJAX request for this and I'll call add_new_term() function inside AJAX method.
Apr
1
revised Using init hook for register_taxonomy is causing invalid_taxonomy in wp_insert_term()
added 165 characters in body
Apr
1
comment Using init hook for register_taxonomy is causing invalid_taxonomy in wp_insert_term()
@PieterGoosen I think you misunderstood my comment. There is a big difference between my problem and that question. In that question it's registering 2 terms on plugin activation, but I need to register terms whenever I need.
Mar
31
comment Using init hook for register_taxonomy is causing invalid_taxonomy in wp_insert_term()
@PieterGoosen I put my create_tax method to plugin activation function (and disabled&enabled plugin) , but still same error . Here my codes : paste.ubuntu.com/10714681
Mar
31
comment Using init hook for register_taxonomy is causing invalid_taxonomy in wp_insert_term()
@PieterGoosen actually they are not the same question, because in that question he want to add terms for one time. I mean he want to create a taxonomy and insert 2 default terms to on plugin activation.Because of this, he is using register_activation_hook(). But I'll use wp_insert_term lots of this, for example there will be a button and everytime it clicked I'll add a new term to taxonomy.
Mar
31
answered All of my wordpress sites showing †Ù¥
Mar
31
comment All of my wordpress sites showing †Ù¥
Somehow your files get broken. It can be UTF8 encoding problem, hacker attack, broken plugin. It's difficult to say what happend without checking your files and log. Delete all unused plugins and themes from your WP installation. Now I'll send an answer so you can choose it as accepted answer :)
Mar
31
comment Combine category AND custom taxonomy in permalink structure
Did you solve your problem @dama_do_bling ? If yes, there are some friends waiting for answer :)
Mar
31
comment All of my wordpress sites showing †Ù¥
It's weird that characters disappering when you refresh page. So it's about sessions which can be a security vulnerability. I recommend you to backing up all files&database , deactivate all plugins and themes and update manually by following this guide : codex.wordpress.org/Updating_WordPress#Manual_Update
Mar
31
comment All of my wordpress sites showing †Ù¥
Hello Steve, Please check your .htaccess file, maybe some attacker forward your requests to any other HTML file with that weird characters. If your .htaccess file is ok , try deactivating all plugins and activating one of the WordPress default themes. If problem is gone after these steps, try enabling plugins one by one so you can catch the plugin which causing this error.
Mar
31
comment Difference between after_setup_theme and init action hooks?
Just an addition to Bainternet's great answer. You can see execution order of hooks in here : codex.wordpress.org/Plugin_API/Action_Reference . And you can see all hooks and differences between after_setup_theme and init
Mar
31
asked Using init hook for register_taxonomy is causing invalid_taxonomy in wp_insert_term()
Jul
2
awarded  Curious
Jun
7
comment Using My Own Classes On Wp Unit Tests
Now I got it @J.D. Thank you for your detailed response.
Jun
7
accepted Using My Own Classes On Wp Unit Tests
Jun
7
revised Using My Own Classes On Wp Unit Tests
added 84 characters in body
Jun
7
asked Using My Own Classes On Wp Unit Tests