MonthAugust 2015

cPanel/WHM: Change mail server IP address

I love emails, it fascinates me! I am still frequently surprised and intrigued by the various algorithms and procedures that mail servers follow to look up, identify, read and process emails. Working with emails and making sure that headers, identification, content, etc. are all appropriate can get tricky. At least we can reduce the stress caused by blacklisted IP addresses!

Let’s get started!

Continue reading

git svn Item is out of date

From my experience, git svn is troublesome but sometimes you have no choice.

Using only svn or only git is fine. I used to love svn and switched over to git primarily due to it’s user-friendly structure and interfaces. Unfortunately using git and svn together with a git repository pushing to a subversion trunk branch or some similar setup can get tricky.

I’m not an expert with git svn but I do have some experience with it mainly due to hosting plugins on the WordPress plugins directory and repository.

Continue reading

WordPress 4.3 WP_Widget PHP Notice

WordPress 4.3 “Billie” was just released.

Some plugins that use WordPress widgets may try to access the WP_Widget class method directly in it’s own class method like this:

$this -> WP_Widget()

As a result, WordPress gives the following PHP notice:

Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() instead

The solution is to change…

$this -> WP_Widget()

to…

parent::__construct()

© 2017 Contrid

Theme by Anders NorénUp ↑

Pin It on Pinterest