Excluding private/protected posts via IP

Bypass Password Protected Posts You are, unfortunately right about the lack of filters, and hacking the core is inevitable. One solutions that seems to work revolves around the sanitize_post_field() function which fires off a number of interesting filters if its $context argument is not set to raw. The template function that is responsible for deciding … Read more

Protecting uploads not working

And the culprit was… my apache config. Please do not forget to edit the apache configuration in /etc/apache2/apache2.conf and add the lines <Directory /var/www/html/> AllowOverride All </Directory> I still have a question. It seems (but it may be related to the fact that the site is still in localhost) that this method does not prevent … Read more

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