Tag Info

New answers tagged

0

Solved the problem thanks to the guidance of @shanebp: The issue was how the data was being called through PHP and ajax. Instead of using the name attribute in the input field, I used var_dump to see what $_POST was outputting and found that the array created (formdata) in jQuery was what $_POST was retrieving. Instead of using the name attribute, I had to ...


0

What makes you think this will ever be true? if (isset($_POST['submit'])){ In function dav_form_validation the die() is in 2 conditionals. It should be called regardless of whether the conditionals are satisfied. Add 2 else clauses and return error messages. Usually a response of '0', means the ajax hooks are not being found. But your code seems okay ...


0

Sounds like UAC crap. Permissions on windows are always a pain. Have you been logging in as administrator? Are you able to FTP and drop in an up to date version of the core files(everything but wp-config.php and the wp-content folder)? Or do you have RDP access on that box? You might find it easier to get in and delete and replace things that way.


0

Remove the filter wptexturize, which is what's causing your encoding issue: remove_filter( 'the_title', 'wptexturize' ); while ( $loop->have_posts() ) { // Your code }


0

In the latest version of the API (2.0 ) the wp part is the namespace of core, default routes. This means that the core routes have URLs like "wp-json/wp/posts", while a custom route would be something like "/wp-json/woo-comm/sizes". The documentation just hasn't caught up yet. Which version are you using?



Top 50 recent answers are included