Don’t Upgrade To WordPress 3.8!

wordpress_hexThis was a mess. I did not expect WordPress 3.8 to slow down my blog site. As in literally! The admin console takes too long to load and so do my blog posts.

I tried to look in the web for a solution but it seems people are blaming the hosting provider or possible WordPress plugins. Unbelievable!

Everything was in good condition until I pressed that update button. And it is quite a hassle downgrading so it totally sucks. If you have not upgraded to WordPress 3.8, DON’T!!!

Sure, the visuals look appealing but who surfs the web in their phones in the first place? Just go download the WordPress app.

If you upgrade to WordPress 3.8, it will be hell for you. Load time is slow and you will see connection timed out messages quite often especially while you compose a new post.

Now my monetization chances are getting slimmer because if the advertiser sees your site as loading at a snail pace, they will ignore your website.

So if you are still with version 3.7, stick with it! It won’t hurt you.

How To Check If Array Element Exists In Another Array In PHP

This is the best 1 liner answer I found in the Internet to check if an array’s item or value or however you may call it exists in another array.

Using the function array_intersect(), you can achieve this. User lorenzo-s from Stack Overflow gave this 1 liner code that did the trick.

Do note that array_intersect() is case sensitive.

How To Fix Deprecated: Function eregi_replace() is deprecated In PHP

Well, if it says it is deprecated it does not work that it does not work anymore. Just that PHP advises developers to steer away from deprecated code and/or functions and use the new ones.

However, if you are still motivated to use the eregi_replace() function even though it is deprectead, just add @ to it so that the warning message for this will not appear.

Remember, just add @. So it will be @eregi_replace().

Related Posts Plugin for WordPress, Blogger...