Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've installed wordpress onto a fresh VPS with nginx + php-fpm, the installation works fine apart from whenever I post something with a ’ the post ends there.

It's looks to be some sort of escape error or something but I've not being able to track it down.

  • We are using a custom theme but it still happens when we switch to a standard one
  • There are no plugins installed

I'm not sure how I can track down the problem, has anyone had any similar experiences?

EDIT::

Okay narrowed it down to

if the post contains ’ then it will stop at the content

if the post contains ' then it will be fine and carry on

share|improve this question
1  
I have not encountered such a bug before (though you should note that I have little experience with Wordpress on NGIX), but I do have some questions. Is WP_DEBUG enabled? Are any debug messages being recorded? In tracking the bug down, I would recommend creating a function to record the value of a posts' post_content and executing it on various action hooks surrounding (and including) the publish event to identify just where in the script's execution that the post's contents are becoming jumbled. –  boscho Apr 23 '13 at 22:56
    
have updated the post a bit, I was wrong with my initial assumptions –  Puzzled by wordpress Apr 23 '13 at 23:12
    
Probably the same problem like this one. –  toscho Apr 23 '13 at 23:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.