Invalid characters in user name when registered

It’s WordPress. You could hack into wp-includes/formatting.php and comment out the contents of the sanitize_user() function. However, I don’t think that’s a good idea – it may compromize your site’s security, and special characters can always cause trouble… And it’s never a good idea to hack into the core (maybe you can do it also … Read more

What’s the Max character limit for a post in WordPress?

If you check the database description you’ll see that the post content column is longtext, which is: A TEXT column with a maximum length of 4,294,967,295 or 4GB (232 − 1) characters. The effective maximum length is less if the value contains multibyte characters. The effective maximum length of LONGTEXT columns also depends on the … Read more

Icons (non-Latin symbols) displaying incorrectly

Okay… so just as I was completing this question I figured out the cause. Using Firebug (in Firefox) I would see a lot of errors regarding access to svg and woff and ttf files under /wp-content/ was blocked. Errors like: “NetworkError: 403 Forbidden – https://www.domainname.com/wp-content/plugins/sg-cachepress/css/logo-white.svg” “NetworkError: 403 Forbidden – https://www.domainname.com/wp-content/themes/genesis/lib/css/fonts/genesis-icon.woff” Seeing this, I realised when … Read more

Greek characters only showing in certain circumstances

wp-config.php includes scope for settings for “DB_CHARSET” and DB_COLLATE. Are those settings operative? How do they correspond to the your actual database settings. If the config settings are operative, it might you might try it with them commented out. Edit: On reflection/research, I would set the db_charset and db_collate settings. There are other possibilities (such … Read more

(un)wptexturize() — is it possible?

Don’t think so after skimming through the wptexturize() code, but what about using the run_wptexturize filter (untested): // Turn off wptexturize add_filter( ‘run_wptexturize’, ‘__return_false’ ); // Your text handling here … $text = apply_filters( ‘the_content’, $text ); // Remove filter remove_filter( ‘run_wptexturize’, ‘__return_false’ ); i.e. just turn off the wptexturize only for your text handling?

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)