memcached port and csf
Actually, you do not want to open memcached port in your firewall.
#ref: http://serverfault.com/questions/530051/memcached-ports-and-csf
Actually, you do not want to open memcached port in your firewall.
#ref: http://serverfault.com/questions/530051/memcached-ports-and-csf
Queries are only available after “wp” action hook, so ‘init’ is too early to check for it.
Türkçe veya diğer özel -multibyte- karakterler için malesef PHP str_word_count(), strlen() gibi fonksiyonlarda yanlış sayım veriyor, her özel karakter 2 kelime / karakter sayılıyor. Bunu aşmak için iconv() transliteration da denedim ama kâr etmedi. Araştırmalarımda da tek -garanti- çözümün şüpheli karakterleri replace etmek olduğunu buldum ama her Türkçe karakteri (ve muhtemel diğer yabancı karakterleri) hardcode…
*facepalm* $_POST is always set, it can only be empty.
So I wasn’t able to add new items to wordpress menu and found out that the reason is the POST limit but adding max_input_vars = 2000 did not solve the problem (default is 1000). If you have suhosin and cant add new menu items or save your menu, you have to add the below to your…
Sorry, this entry is only available in English. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language. Just use javascript:void(0) instead of # for href You might encounter this error most likely in Firefox Console
Always check for local time Despite the fact that my server timezone was set correctly, somehow time() was giving wrong ( UTC) hour. So i ended up using wp’s functions to make sure. $now = current_time( ‘timestamp’, 0 ) ;$local_ts = get_the_time(‘U’,$post->ID);