The latest WordPress version (September 2020) 

wordpress latest version

WordPress is one of the most popular open-source projects in the world, with 70 developers contributing 4,969 commits to the core in 2019. Knowing that, it’s probably not surprising to learn that there’s usually a new WordPress release every single month (if not more like two or three)! 

Some of these releases are full new versions or critical security patches, in which we recommend updating all your sites to the latest version fairly quickly. Others are minor fixes or even release candidates that are less critical to update right away or even optional (in the case of beta releases). 

How to update WordPress

If your sites are on a managed WordPress host, updates are probably automatically taken care of for you. The Core Hosting, for example, updates major versions two weeks after release and security updates  24-72 hours after release. Of course, you can always manually update your site yourself or opt-out of major version updates if you need more time for testing. 

Click here for more information about how The Hosting Guy handles updates to the WordPress core. 

If you’re not working with a managed provider yet, you’ll likely have to manually update your sites to the latest version via the WordPress admin panel. This is very easy to do, but can be time-consuming if you manage lots of client sites. 

To update WordPress manually, simply log into wp-admin and look for a notification at the top of the homepage prompting you to update. Click that, and you’re good to go!

Even if your hosting provider takes care of updates for you, it’s still a good idea to be in the know about the latest WordPress version. Then you can make sure your sites are ready for the upgrade and can take advantage of any important new features (like the recent Gutenberg Editor)!

To help you stay up to date with the most current WordPress version, we’ve created this changelog where we’ll publish the details of major version updates, security releases, and maintenance releases. 

The latest WordPress version is 5.5.1 “Eckstine” that came out on August 11th, 2020. Other recent versions include:


WordPress 5.5.1 Maintenance Release

Released on September 1, 2020.

This maintenance release features 34 bug fixes and five enhancements. Nothing too exciting in this short-cycle maintenance release except for improvements in user interface functionality. The WordPress core team is working around the clock to ready WordPress 5.6 for its target release in December!

Highlights of this maintenance release include: 

  • Fixing an issue so you can now check your site health by using the [site-status-tests] filter.
  • Fixing an issue with XML sitemaps since they were incorrectly paginated in the previous release (woohoo!).
  • Removing the ability to change the list of environment types with a new wp_get_environment_type() function.

For more information about this update, check out the official release post or the documentation page


WordPress 5.5 “Eckstine”

Released on August 12th, 2020.

This new version of WordPress, named after Billy Eckstine, is bringing improvements to three primary areas of your sites: speed, search, and security.

Speed improvements

Posts and pages now use lazy loading to feel like they load faster to users. This means images won’t load until they’re about to scroll into view, which should give image-heavy sites a nice boost in performance. (In fact, this is one of our recommended steps when optimizing images for the web!)

Search improvements

By default, WordPress 5.5 will include an XML sitemap from the moment you go live. This will help search engines discover your content sooner, and therefore help more people find your content sooner.

Security improvements

Outdated themes and plugins are one of the most common reasons sites get hacked, but it’s also easy to miss an update (especially if you’re using lots or managing several sites). WordPress 5.5 gives you the new option to set themes and plugins to automatically update when a new version releases, so you can automate the process on a per plugin or per theme basis.

A word of caution: Sometimes an update can cause problems on a site, which is why we usually recommend either making updates on a staging site first or using a service like The Hosting Guy’s Managed Plugin Updates Add-on (in which we’ll review the site and roll back updates if anything breaks).

A few other highlights of WordPress 5.5:

  • Create stunning site layouts combining text and media with new block patterns.
  • Looking for a new block? Search the directory right from the editor, so you never have to leave your screen to find what you’re looking for!
  • Edit images right in the image block. You can now crop, rotate, and zoom without leaving the post or page. Plus you can edit images with an assistive device!
  • Copy links in media screens and modals with a button (without trying to highlight the text).
  • Move meta boxes with the keyboard.

To learn more about Eckstine and see what it brings for developers, check out the official release post or the documentation page.

For more information about this release, check out the announcement post.


WordPress 5.4.2 Security and Maintenance Release

Released on June 10th, 2020.

WordPress 5.4.2 features 23 bug fixes and 6 security patches, so it’s recommended you update to the latest version. If you haven’t updated to version 5.4, there’re also updated versions of 5.3 and earlier that fix the bugs for you!

Highlights of the WordPress 5.4.2 security updates include:

  • Fixing an issue where authenticated users with low privileges are able to add JavaScript to posts in the block editor.
  • Fixing an issue where authenticated users with upload permissions are able to add JavaScript to media files.
  • Fixing an open redirect issue in wp_validate_redirect().
  • Fixing an authenticated XSS issue via theme uploads.
  • Fixing an issue where set-screen-option can be misused by plugins leading to privilege escalation.
  • Fixing an issue where comments from password-protected posts and pages could be displayed under certain conditions.

For more information about this release, check out the official release post or the documentation page


WordPress 5.4.1 Security and Maintenance Release

Released on April 29th, 2020.

WordPress 5.4.1 features 17 bug fixes and 7 security patches, so it’s highly recommended you update to the latest version if you haven’t already.

Highlights of the WordPress 5.4.1 security updates include:

  • Fixing an issue where password reset tokens weren’t properly invalidated.
  • Fixing an issue where certain private posts could be be unauthenticated.
  • Fixing XSS issues in the Customizer, search block, wp-object-cache, and file uploads.

For more information about this release, check out the official release post or the documentation page


WordPress 5.4 “Adderley”

Released on March 31st, 2020.

This major release, named after American jazz trumpeter Nat Adderley, is all about giving you more ways to make your pages come to life without sacrificing speed (in your workflow or your page load time). Let’s start with block updates.

Naturally, enhancements to the Gutenberg Editor were a big focus of this release. Here are some of the new things you’ll see!

  • Two new blocks! “Social Icons” and “Buttons,” to increase interactions on your page.
  • New color options, such as gradients for Buttons and Covers and added color functionality for Group and Columns blocks.
  • A streamlined process for placing and replacing media in blocks.
  • The option to have the Media+Text block link to something.

On top of all the block updates, WordPress 5.4 brings cleaner UI and easier navigation. You’ll find things like block breadcrumbs, better tabbing and focus when navigating with the keyboard, and a faster editor load time. (51% faster time to type!)

To round it out, this version also helps with some privacy-related matters (like being able to see progress as you process export and erasure requests), and a number of enhancements specifically for developers.

Here are a few highlights!

  • You can add custom fields to menu items natively, thanks to two new actions.
  • Blocks are easier to style, and no longer have negative margins and default padding.
  • There are two new APIs for block variations and gradients.
  • The block editor now supports TikTok in embeds.

For more information about this update, check out the official release post or the WordPress 5.4 Field Guide


WordPress 5.3.2 Maintenance Release

Released on December 18th, 2019.

This maintenance release features 5 fixes and enhancements. Some high-severity tickets were opened shortly after WordPress 5.3.1 was released, so the team pushed this release to solve those issues.

Highlights of the WordPress 5.3.2 updates include:

  • Ensuring that get_feed_build_date() correctly handles a modified post object with an invalid date.
  • Fixing a file name collision in wp_unique_filename() when uploading a file with upper case extension on non case-sensitive file systems.
  • Fixing PHP warnings in wp_unique_filename() when the destination directory is unreadable.
  • Fixing the colors in all color schemes for buttons with the .active class.
  • Using a proper delta comparison when checking the post date to set future or publish status.

For more information about this update, check out the official release post or the documentation page


WordPress 5.3.1 Security and Maintenance Release

Released on December 13th, 2019.

This update features 46 fixes and enhancements, including a number of security improvements. For this reason, updating is highly recommended!

This security release includes fixes for: 

  • An issue where an unprivileged user could make a post sticky via the REST API.
  • An issue where cross-site scripting (XSS) could be stored in well-crafted links.
  • Hardening wp_kses_bad_protocol() to ensure it’s aware of the named colon attribute.
  • A stored XSS vulnerability using block editor content.

On top of these security updates, WordPress 5.3.1 also introduces several maintenance fixes, such as:

  • Adding Customizer options to show/hide author bio, replace JavaScript-based smooth scroll with CSS, and fix Instagram embed CSS.
  • Fixing Edge scrolling issues and intermittent JavaScript issues.
  • Avoiding thumbnails overwriting other uploads when filename matches, and excluding PNG images from scaling after upload.
  • Ensuring administration email verification uses the user’s locale instead of the site locale.

For more information about this update, check out the official release post or the documentation page


WordPress 5.3 “Kirk”

Released on November 12th, 2019. 

WordPress 5.3, named after jazz multi-instrumentalist Rahsaan Roland Kirk, brings some great improvements to the publishing experience. This version includes the new default theme, Twenty Twenty, which takes full advantage of the block editor to offer new levels of flexibility and design. It also features a variable font for the first time (Inter by Rasmus Andersson), which is easy to read for users and easy to load for browsers.

The block editor was also a major focus of this update, with over 150 new features and usability improvements! 

I won’t list them all, but here are some of the highlights: 

  • Improved image support, specifically for non-optimized, high-resolution photos from a phone or camera. 
  • Accessibility improvements, including a new Navigation mode that will help users jump from block to block when navigating the dashboard with a keyboard (instead of tabbing through every control).
  • Predefined layouts, which makes it easy for content creators to arrange content in advanced designs. 
  • Additional style options, including the ability to control the text and background color of Heading blocks, support for fixed-width columns in the Columns block, and a new Group block that can be used for creating colorful sections throughout the page. 

Beyond the block editor and Twenty Twenty, WordPress 5.3 also introduces some basic improvements that everyone will appreciate. Images will now automatically rotate on upload based on the embedded orientation data – a feature that was first proposed nine years ago! And now when you log into a site as an administrator, you’ll occasionally be asked to verify your email address. This should help reduce the chance of getting locked out in the event that your address changes. 

For more information about WordPress 5.3, check out the official release


WordPress 5.2.4 Security Release

Released on October 14th, 2019.

This security update fixes six bugs that are found in WordPress versions earlier than and including 5.2.3.

This security release includes fixes for: 

  • An issue where stored XSS (cross-site scripting) could be added via Customizer.
  • A method of viewing unauthenticated posts.
  • A way to create a stored XSS to inject JavaScript into style tags.
  • A method to poison the cache of JSON GET requests via the Vary: Origin header.
  • A server-side request forgery in the way that URLs are validated.
  • Issues related to referrer validation in the admin.

For more information about this update, check out the official release post or the documentation page


WordPress 5.2.3 Security and Maintenance Release

Released on September 5th, 2019. 

This security update fixes bugs that are found in WordPress versions earlier than and including 5.2.2, along with a few additional feature enhancements. Updating is highly recommended!

This security release includes fixes for: 

  • Issues where cross-site scripting (XSS) vulnerabilities could be found in post previews by contributors, stored comments, and shortcode previews. 
  • Issues where validation and sanitization of a URL could lead to an open redirect or XSS attacks. 
  • Reflected XSS during media uploads and in the dashboard. 

For more information about this update, check out the official release post or the documentation page


WordPress 5.2.2 Maintenance Release 

Released on June 18th, 2019. 

This maintenance release fixes 13 bugs and includes improvements to the Site Health feature released in WordPress 5.2.

Highlights of the tickets completed in the 5.2.2 Maintenance Release include: 

  • Dashboard elements don’t always have clear focus states or tab order
  • Make Site Health page access be filterable
  • Theme update links show in Customizer but don’t work

For more information about this update, check out the official release post or the documentation page


WordPress 5.2.1 Maintenance Release

Released on May 21st, 2019. 

This maintenance release fixes 33 bugs (nice work, core contributors!) and includes improvements to the block editor, accessibility, internationalization, and the Site Health feature released in WordPress 5.2.

Highlights of the tickets completed in the 5.2.1 Maintenance Release include: 

  • Gutenberg right-to-left (RTL) typing issues
  • At least one function in /wp-includes/sodium_compat/src/Core32 that timed out on 32-bit servers
  • wp_targeted_link_rel filter that shouldn’t be applied to “Custom HTML” widget
  • Editor: Update packages for WordPress 5.2.1

For more information about this update, check out the official release post or the full list of changes


WordPress is constantly evolving and improving thanks to the dedicated team of developers working on the core. For more information about any and all WordPress versions, be sure to check out the Release Archive

Introducing PHP 7.4: Performance, Features, Deprecations

PHP 7.4

PHP 7.4 has finally appeared! This version that is new released November 28, 2019, is now available on all The Hosting Guy servers. Developers can expect improvements in code readability, maintenance, and ease of use. Let’s look at some of the features that are new performance tweaks along with other factors why you need to migrate to PHP 7.4.

Table of Contents: 

What Does PHP 7.4 Mean for You?

PHP continues to evolve, by releasing their newest PHP 7.4 up-date, high in brand new features. Like we’ve observed in past PHP 7 releases – speed and performance keep improving. One of the most exciting features that are new*********************)preloading. It can help script that is speed-up also presenting the capacity to have quicker and cleaner rule, as a result of the simplification of typical lines of rule.

The good individuals in charge of PHP have actually heard their audience’s opinions and needs and replied them in complete force. They’ve since been code that is continuously changing become more intuitive and better to switch between development languages.

PHP can be used in over 78.9% of most web sites. According to W3techs, the most used web sites PHP that is using are, Pinterest, and Twitter to call several.

(we can see a double speed increase****************)If we specifically look at WordPress sites running PHP, comparing PHP 5 and 7. WordPress powered websites definitely gain the most by using the latest PHP version out there. The Hosting Guy users can super-charge their WordPress sites to heights that are new simply a click of a button.

PHP Usage Statistics

See each one of these figures that are cool? This graph is spitting some truth about web sites earnestly making use of PHP. Are 39,191,714 live websites enough to seize your attention? That’s exactly how many are utilizing PHP right now. Plus PHP 7.4 is testing a lot better than PHP 7.3 with enhanced performance along with other well being improvements.

The graph below programs the overall benchmark test on new and old variations of PHP. A few of the requirements tested were simplicity of use, rate, and gratification amongst others.

PHP Geometric Mean of All Results

Changing Your PHP Variation

Ready to upgrade? Thought so. The Hosting Guy causes it to be as simple as ever with your four steps that are simple. You’ll be fiddling around with your new-and-improved version that is PHP virtually no time.

  1. Log into your The Hosting man account and hit the Home switch.
  2. On your house page, scroll down seriously to the Hosting section and then click in the Manage icon.
  3. In the search field, key in PHP setup and then click about it.
  4. Select PHP 7.4 and simply click Save.
Enabling PHP 7.4 in Hostinger hPanel

Congrats! At this point you get the best & most PHP that is up-to-date version there.

To check your overall version that is PHP all you have to do is visit the Hosting tab and check out the remaining part panel for PHP variation. If it is anything significantly less than 7.4, go right ahead and upgrade.

What’s New in PHP 7.4?

Since 2016, PHP7 was releasing updates that are annual fail. Each they deliver on new features, additions, and the possibility to write cleaner code that makes the language more reliable and user-friendly for those who run it on their websites.( year*******************)

Let’s dig in and simply take a better glance at a number of the modifications that have been made out of the addition of PHP 7.4. For a list that is full out their changelog here.

Preloading

Let’s talk about rule. When utilizing a framework or libraries, its files need to be linked and loaded on every request. Preloading is when you can load frameworks and libraries into the OPCache. It allows for the server to load the PHP files and store them in memory during startup and have them available for any requests that are future. Mention getting things going fast!

Preloading is run by a specific php.ini directive: opache.preload.This has got the PHP script compiler and executes once the host starts-up. It’s also utilized to preload more files and choose to either include or compile them.

This rocks !, nevertheless, in the event that way to obtain the files that are preloaded ever changed, the server must be restarted. The files that are preloaded remain cached in OPCache memory forever.

However, these files that are preloaded remain designed for any future needs in the event you ever need certainly to utilize them once again.

Spread Operator in Array Expressions

Back whenever PHP 5.6 premiered, PHP started argument that is supporting (spread operator) nevertheless now, with 7.4, we’re able to utilize this function with a selection phrase. Argument unpacking is a syntax for unpacking arrays and Traversables into argument listings. And, to carry out therefore, it just has to be prepended by … (3 dots.) That’s it.

Let’s understand this example:

$animals = ['dog', 'cat'];
$animalkingdom = ['lion', 'elephant', ...$animals, 'giraffe'];
// [‘lion’, ‘elephant’, ‘dog’, ‘cat’, ‘giraffe’];

We are now able to expand a selection from anywhere we wish an additional array, simply by utilizing the Spread Operator syntax.

$num1 = [1, 2, 3];
$num2 = [...$num1]; // [1, 2, 3]
$num3 = [0, ...$num1]; // [0, 1, 2, 3]
$num4 = array( num1 that is...$ ...$num2, 111); // [1, 2, 3, 1, 2, 3, 111]
$num5 = [...$num1, ...$num1]; // [1, 2, 3, 1, 2, 3]

Not just that, you could additionally utilize it in a function. Consider this example:

function getNum() {
  return ['a', 'b'];
}
$num6 = [...getNum(), 'c']; // ['a', 'b', 'c']
$num7 = [...new NumIterator(['a', 'b', 'c'])]; // ['a', 'b', 'c']
function arrGen() {
    for($i = 11; $i < 15; $i++) {
        yield $i;
    }
}
$num8 = [...arrGen()]; // [11, 12, 13, 14]

In addition, you’re now in a position to unpack arrays and generators which are came back by a function straight into a array that is new

A rule example would appear to be this:

function getAnimals(){
  return ['dog', 'cat', 'elephant'];
}
$num1 = [...getAnimals(), 'lion', 'tiger', 'giraffe'];

And with PHP 7.4, it could print:

array(6) {
  [0]=>
  string(3) "dog"
  [1]=>
  string(3) "cat"
  [2]=>
  string(8) "elephant"
  [3]=>
  string(4) "lion"
  [4]=>
  string(5) "tiger"
  [5]=>
  string(7) "giraffe"
}

With this array that is new, spread operators should have means better performance throughout the 7.3 array_merge. The reason being the spread operator is a language structure while array_merge is a function. Additionally because spread operator supports objects implementing traversable and array_merge only supports arrays.

Some considerations to notice, it is possible to just utilize indexed arrays since sequence tips aren’t supported. If utilized, a error that is recoverable be tossed in the display screen, once a string key is available.

Another glorious benefit to 7.4 may be the elimination of the array_merge. Bid farewell to the dreaded index change!

For instance, let’s understand this long array that is winded below:

$array = [‘banana, ‘orange’];
$array[2] = ‘orange’;
$array[1] = ‘apple’; //shifting
var_dump($array); 
// prints 
array(3) {
  [0]=>
  string(6) "banana"
  [1]=>
  string(5) "apple"
  [2]=>
  string(6) "orange"

Another advantage of 7.4 is utilising the generator function. A generator function works exactly like a function that is normal except in the place of coming back a value, a generator function yields as numerous values because it requires to.

Check out of the instance rule below:

function generator() {
  for ($i = 3; $i <= 5; $i++) {
    yield $i;
  }
}
$num1 = [0, 1, 2, ...generator()];

Weak Recommendations

Now PHP 7.4 has a WeakReference class, that will be not to ever be confused utilizing the class WeakRed or the Weakref extension.

WeakReferences let the programmer remember a guide to an item. This is certainly helpful as it does not avoid the item from being damaged. They have been ideal for applying cache like structures.

WeakReference {
/* Methods */
public __construct ( void )
public static create ( object $referent ) : WeakReference
public get ( void ) : ?object

Contravariant Parameters and Covariant Comes Back

Currently, PHP makes use of parameter that is mostly invariant and return types. Meaning, then the subtype parameter or return type must also be type X.( if a method has a parameter or return type of X*******************)

Now, with PHP 7.4 it proposes to allow covariant (ordered from particular to generic) and contravariant (reversing your order) on parameter and return kinds.

right here is a good example of both:

Covariant return kind example:

interface Factory {
  function make(): object;
}
class UserFactory implements Factory {
  function make(): User;
}

Contravariant parameter kind example:

interface Concatable {
  function concat(Iterator $input); 
}
class Collection implements Concatable {
  // accepts all iterables, not just Iterator
  function concat(iterable $input) {/* . . . */}
}

Typed Characteristics 2.0

Since PHP 5, kind tips are an feature that is available you to specify the type of variable that is expected to be passed to a function or class. The addition of the object data type gave hope that more would be available in the future in the PHP 7.2 migrations. The long run is currently.

In this new 7.4, PHP has the capacity to offer the type list:

bool, int, float, string, array, object, iterable, self, parent
any class or interface name
?type // where "type" may be any of the above

Note that the parent type may be used in classes and doesn’t need to own a moms and dad in keeping with the parameter and return type.

Also, note that void and callable are not supported. Void was eliminated as it had not been helpful and had semantics that are unclear*********************)Callable, because its behavior had been context-dependent.

Let’s browse even more examples.

right here is a course, written for PHP 7.3:

class User {
    /** @var int $id */
    private $id;
    /** @var string $name */
    private $name;
 
    public function __construct(int $id, string $name) {
        $this->id = $id;
        $this->name = $name;
    }
 
    public function getId(): int {
        return $this->id;
    }
    public function setId(int $id): void {
        $this->id = $id;
    }
 
    public function getName(): string {
        return $this->name;
    }
    public function setName(string $name): void {
        $this->name = $name;
    }
}

In PHP 7.4, without having to sacrifice any type-safety, a course are now able to be written since simple as:

class User {
    public int $id;
    public string $name;
 
    public function __construct(int $id, string $name) {
        $this->id = $id;
        $this->name = $name;
    }
}

Check out samples of most of the types 7.4 now supports:

class Example {
  
    public int $scalarType;
    protected ClassName $classType;
    private ?ClassName $nullableClassType;
    // Types are also legal on static properties
    public static iterable $staticProp;
    // Types can also be used with the "var" notation
    var bool $flag;
    // Typed properties may have default values (more below)
    public string $str = "foo";
    public ?string $nullableStr = null;
    // The type applies to all properties in one declaration
    public float $x, $y;
    // equivalent to:
    public float $x;
    public float $y;
}

Arrow Functions 2.0

Anonymous functions in PHP are usually wordy and long, even if they truly are just doing operations that are simple. This is partially due to a amount that is large of boilerplate, and partially as a result of the should manually import utilized factors.

This makes rule that makes use of closures that are simple to learn as well as harder to know.

Let’s appearance at some rule that you’d utilize with PHP 7.3:

function array_values_from_keys($arr, $keys) {
    return array_map(function ($x) use ($arr) { return $arr[$x]; }, $keys);
}

Now, the following is the more syntax that is concise of 7.4:

function array_values_from_keys($arr, $keys) {
    return array_map(fn($x) => $arr[$x], $keys);
}

Therefore, arrow functions are in possession of this form:

fn(parameter_list) = expr

Below you can observe a good example of two functions $fn1 (7.3) and $fn2 (7.4) side by part. They’ve the outcome that is same look various:

$y = 1;
$fn1 = fn($x) => $x + $y;
$fn2 = function ($x) use ($y) 
{
    return $x + $y;
};

This may also work if the arrow functions are nested:

$z = 1;
$fn = fn($x) => fn($y) => $x * $y + $z;

right here the function that is outer*********************)$z. Then, the inner function also captures $z from the function that is outer. With 7.4, the external range becomes obtainable in the function that is inner. This is certainly one thing 7.3 wasn’t in a position to do.

The arrow function syntax enables many different functions such as for example, variadics, standard values, parameter and return kinds, in addition to by-reference moving and coming back. All while maintaining a clean, readable appearance. Here are most of the valid arrow functions ( that is now available*******************)

fn(array $x) => $x;
fn(): int => $x;
fn($x = 42) => $x;
fn(&$x) => $x;
fn&($x) => $x;
fn($x, ...$rest) => $rest;

One thing to notice is the fact that arrow functions have actually the cheapest precedence. Start to see the example:

fn($x) => $x + $y
// is
fn($x) => ($x + $y)
// not
(fn($x) => $x) + $y

Deprecations

There are numerous deprecations occurring utilizing the merge to 7.4. The list that is following a short overview of the functions targeted for deprecation. You can find a more detailed here:|*************) that is explanation (” class=”synonym”>*************) that is explanation (

  • The real type
  • Magic quotes legacy
  • array_key_exists() with objects
  • FILTER_SANITIZE_MAGIC_QUOTES filter
  • Reflection export() methods
  • mb_strrpos() with encoding as 3rd argument
  • implode() parameter order mix
  • Unbinding $this from non-static closures
  • hebrevc() function
  • convert_cyr_string() function
  • money_format() function
  • ezmlm_hash() function
  • restore_include_path() function
  • allow_url_include ini directiv

Some essential ones to notice would be the after two-step deprecations.

Changing the Precedence of a Concatenation Operator

Currently the precedence of ‘.’, ‘+’ and operators that are all equal. Any combination of these operators will be solved from simply left-to-right.

Let’s understand this rule in PHP 7.3:

echo "sum: " . $a + $b; 
// would be evaluated left-to-right
echo ("sum: " . $a) + $b;
// could also look like this

With PHP 7.4, ‘+’ and ‘-’ would simply take precedence over ‘.’ so that the improvements and subtractions would be performed before always the string. This would look like the ( that is following*******************)

echo "sum: " . $a + $b; 
// would be executed as if the code were as follows.
echo "sum :" . ($a + $b);

This two-step proposition aims become less error-prone and more instinctive. PHP 7.4 presently is within the stage that is first a deprecation notice of un-parenthesized expressions of ‘+’, ‘-’ and ‘.’ While waiting for the vote/change that is final in PHP 8.

Left-Associative Ternary Operator

Unlike almost every other languages, the operator that is ternary PHP is left-associative as opposed to right-associative. Not merely being unusual, it’s also confusing for coders whom switch between various languages. PHP 7.4 proposes to get rid of the left-associativity and needs the utilization of parentheses rather.

Let’s take a good look at the rule below:

return $a == 1 ? 'one'
     : $a == 2 ? 'two'
     : $a == 3 ? 'three'
     : $a == 4 ? 'four'
               : 'other';

In almost every other languages it will be interpreted as:

return $a == 1 ? 'one'
     : ($a == 2 ? 'two'
     : ($a == 3 ? 'three'
     : ($a == 4 ? 'four'
               : 'other')))

whilst in PHP, it really is alternatively interpreted as:

return ((($a == 1 ? 'one'
     : $a == 2) ? 'two'
     : $a == 3) ? 'three'
     : $a == 4) ? 'four'
               : 'other';

This can cause mistakes as it’s generally speaking perhaps not that which was meant.

Through a different two-step proposition, PHP 7.4 has implemented the explicit utilization of parentheses as a deprecation caution and certainly will ideally carry a compile runtime error out in future variations.

Conclusion

Just with time for the holiday season, PHP 7.4 brings features that are new well being improvements for several PHP developers.

WordPress web sites will surely take advantage of these improvements and their users can get quicker execution times much less memory use whenever PHP that is using 7.4 with earlier incarnations.

With the addition of first-class home kind declarations and kind hinting, arrow merging functions, and a ridiculously better rate, the 7.4 will certainly enhance both the rate and quality of one’s workflow.

Elements of a Successful Business Website

Gone are the days when a company’s website was only there to inform customers about common information such as store hours and email addresses. Today, a company website needs to pull out all the stops to not only get people to visit their site but also to stay. The following list includes some of the most important elements that a successful business website needs to have in order to be successful.

Visuals

When it comes to visuals, this is as basic as it can get, but implementing the right design can mean a world of difference. The reality is that we are visual creatures. If a consumer looks at a dull website, they are not likely to stick around. People yearn for visually pleasing visuals, from the color of your font to the logo. Customers only need 10 seconds to look at your brand logo before forming an opinion of it. A lively website that is appropriate to your particular business can greatly increase the consumer’s perception of your company and make them take a second look.

Content

Visuals are a great place to start when constructing your website, but it is certainly not the most important. A nice website is only as good as its content. Content, through the use of SEO keywords, can provide you with a positive flow of customers. Content provides your customers a reason to stick around and even interact with your website. Lastly, the right type of content can mean the difference between being the little guy in your industry and being seen as an industry expert.

Navigation

If your customer searches and lands on your page, they are likely searching for something specific. The last thing you want to do is make that search difficult for them. Having clear and fluent navigation throughout your website is critical and can mean the difference between a potential customer leaving or checking out. Note that you should also make navigation convenient for a mobile format, as an overwhelming amount of searches are done through a person’s cell phone.

In today’s world, your first interaction with a customer might not be in person but rather through your website. This is why it is so critical to make sure that your website is ready for them to visit. You may accomplish this by utilizing some of the tips listed above and applying them towards your own business website.

Looking to build a website for your company? Click here for affordable hosting!

Why you should abandon PHP 5.6

PHP 5.6 was a great and very widely used version of PHP. For years developers enjoyed the benefits of the PHP 5 branch and were updated for a long period. But, all good things must come to an end, and as of Jan 1st, 2019, PHP 5.6 has reached E.O.L which stands for End Of Life. This means it is no longer receiving security fixes or updates.

What does this mean for you?

If you’ve been keeping your PHP applications up to date (you should be!) then moving to a new version of PHP should be little to no problem. PHP applications that are being developed on a continual basis, will almost always be supporting the latest in server software. This is especially true for PHP applications.

However, we all have lives away from the screen and we tend to forget about the software we have installed to run our online website/applications. which means they tend to get overlooked when it comes to updates. If you’ve not been keeping your PHP apps up-to-date, then the first thing to do is check with the developer and see if there are updates to the applications you are using. If there are newer versions of your application, then updating your application should be relatively straight forward. Many of today’s PHP applications, such as WordPress, have the ability for automated updates to make moving to a new version fairly straight forward.

No matter what, however, The one thing you should make a top priority is moving away from PHP 5.6. Not moving away from 5.6 could lead to your site and serve being compromised, as security vulnerabilities will, and more than likely already have been found.

Why moving to PHP version 7.1 or higher is the right thing to do.

Speed!

PHP 7 saw a rewrite of the Zend Engine, introducing what is called ZendEngine NextGen, adding one of the largest speed enhancements to PHP applications ever. PHP 7.1 and higher versions add immense performance increases to PHP applications that were running on PHP 5. Most tests conducted show speed improvements of almost double to triple for WordPress and most common CMS applications.

php 5.6

Code compatibility

With a new Major version of PHP (That being 7.x), most application developers will be dropping support for 5.6. In most cases, without upgrading your PHP version, you will be unable to upgrade your application or will have issues if you do. In other words, the transition stage of migrating PHP applications seamlessly from PHP 5 to PHP 7 is closing fast.

Security

As of now, PHP 7.0 has already reached its EOL period and is no longer maintained. But PHP 7.2 does not end its EOL until January 1st, 2021, and PHP 7.3 until January 1st, 2022. This means you will always have security updates and fixes until those times.

How do I move to PHP 7.1 or higher?

That’s the easy part! If you are one of our DIY or Managed WordPress Hosting clients, no need to worry about upgrading because you’re already using the most current version! If you’re hosting with another provider, the best thing to do is to check with their support team to see if they have them available. Alternatively, on Cpanel based systems, you can easily swap version using the build-in MultiPHP version change system.

Motivated to move away from PHP 5.6?

Hopefully, we have helped you to see the benefits of moving away from PHP 5.6. If you want to move away, and either is not able to or do not know how to, then contact us! With our new Managed WordPress Service, we will help maintain, update, secure and optimize your WordPress site, and help the transition process much easier. Or make the migration to us today, We will match or do better than your current pricing! We offer both DIY(Do it Yourself) hosting for those who want to control all aspects of their site, as well as Managed WordPress Hosting where we take care of all the backend work for you! Contact our sales team today!

What is Managed wordpress hosting?

what is managed wordpress hosting

What is Managed WordPress Hosting? There’s no denying that WordPress is a standout among the most amazing site frameworks available today. It offers broad Search engine optimization abilities, strong security, and all the customization a developer may require. WordPress additionally has an overall network of engineers, bloggers, and specialists devoted to developing and enhancing the open-source system. In any case, organizations hoping to embrace WordPress should initially recognize the contrast between Managed WordPress Hosting and unmanaged, or shared hosting, WordPress Hosting. Understanding the nuanced advantages of Managed WordPress Hosting can enable you to settle on the best decision for your business site.

WHAT IS MANAGED WORDPRESS HOSTING?

Managed WordPress hosting is a professional service that controls and maintains the technical elements of a WordPress website. Managed WordPress hosts are a more sophisticated option for businesses and institutions in all industries, offering invaluable advantages, such as cutting-edge security, superior customer support, optimal site speed, improved performance, and a variety of other benefits.

UNMANAGED VS. MANAGED HOSTING

While unmanaged hosting is traditionally less expensive than managed WordPress hosting, unmanaged sites often offer minimal features and require much more work to create and maintain. The minimal nature of unmanaged WordPress hosts can be a great option for individuals, bloggers, or independent contractors looking to create a personal website or establish an online presence. It can also help engineers and other individuals who want to learn more about WordPress development and customization.

For businesses trying to grow their brand and expand their audience reach, however, managed WordPress is a much more effective and reliable option. Why? Because managed WordPress hosts like The Hosting Guy oversee the more challenging and technical aspects of a WordPress business site. For example, managed hosts conduct routine backups, monitor site downtime, and ensure speed and reliability. Managed WordPress sites almost always guarantee faster site speeds, despite the amount of traffic your website receives. And with automatic updates, you’ll always have the most up-to-date version of WordPress — without having to spend time checking for updates and waiting for downloads.

With the specific knowledge and skills required to manage such technical elements, managed WordPress hosts provide business owners with a hassle-free experience and piece of mind. As a result, investing in managed WordPress frees up resources that website owners can dedicate to other key areas of business development.

WHAT ARE THE BENEFITS OF MANAGED WORDPRESS HOSTING?

The number of sites relying on managed WordPress has grown rapidly in the last seven years, and it has become a dominant content management system for companies of all sizes and industries. And if you’re considering a managed WordPress host for your company, it’s important to understand the main differences between managed hosting and unmanaged hosting.

Benefits of Managed wordpress hosting

Here’s a more detailed look into four key benefits of managed WordPress hosting.

SITE SECURITY

One of the most beneficial aspects of managed WordPress hosting is that it offers unparalleled security. With an unmanaged WordPress site, for example, you’re responsible for finding the right tools, scans, and updates you need to keep your site secure. This might work if you’re a one person team who has experience in malware and file scanning and DDoS mitigation. If not, no problem. Managed sites implement the highest level of security on your site, plus they’ll conduct daily backups, malware scans and frequent updates that prevent hackers from disturbing your website.

UPTIME MONITORING

The speed and performance of your WordPress site has a direct impact on your search engine rankings and your user experience. So when your website experiences slow speed, downtime, or other performance issues, it’s important to identify and remedy these issues promptly. Most managed WordPress hosts offer 24/7 website monitoring, so business owners don’t have to worry about checking their site’s performance at every waking moment. For busy business owners who want to maintain a strong reputation and customer experience, performance monitoring is a huge plus of Managed WordPress.

CUSTOMER SUPPORT

When you invest in managed WordPress hosting, you’re paying for highly-skilled support agents that can assist with all your needs 24/7. Managed WordPress hosts train support technicians who can understand the technical nuances of WordPress, helping to solve both common and complex problems. For example, The Hosting Guy equips every member of its support team with a comprehensive skill set and contextual client knowledge. Every person who calls The Hosting Guy support receives consistent, high-quality support tailored to their website’s specific needs. This is just one example of how technical support differs between managed and unmanaged WordPress.

CUSTOMIZABLE HOSTING SOLUTIONS

Most managed WordPress hosts have the customization capacity to support all industries, from higher education, to eCommerce companies, and everything in between. If you’re in the healthcare industry, for example,
The Hosting Guy supports regulatory compliance statues like HIPAA. If you’re an online retailer, you can protect cardholder security through PCI DSS support. Additionally, managed WordPress sites can be a great solution for agencies. By managing critical site elements like server management, speed tuning and caching, agencies can launch creative work confidently and securely.

CHOOSING A MANAGED WORDPRESS HOST

Once you’ve decided that managed WordPress hosting is right for you, it’s time to choose the right provider. And while many managed WordPress hosts are designed to support a variety of industries, every website’s needs are unique and some hosts may meet your needs better than others. This article features reviews of managed WordPress hosts, and it’ll provide you with some industry-specific details. If you’re new to managed WordPress hosting, this is a great place to start learning about the marketplace.

24 Amazing Business plugins for WordPress

business plugins for wordpress

A significant number of our clients are entrepreneurs who regularly approach us for Plugin recommendations. Having the correct arrangement of instruments can enable you to take your business to the sky. In this article, we will share the must have best WordPress plugins for business sites in 2018.

Amazing WordPress Plugins 2018

1. WPForm

business plugins for wordpress

As a business owner, allowing your customers to contact you should be your top priority. WPForms is the most beginner friendly contact form plugin for WordPress. This drag & drop online form builder allows you to easily create contact forms, email subscription forms, order forms, payment forms, and other type of online forms with just a few clicks.

2. MonsterInsights

business plugins for wordpress

MonsterInsights is the best Google Analytics plugin for WordPress. It allows you to connect your website with Google Analytics, so you can learn more about your website visitors such as where are they coming from and what are they doing on your website.

You can then optimize your site accordingly to improve your earnings. We have detailed guides on how to install Google Analytics in WordPress and how to use Google Analytics.

MonsterInsights also has a free version. If you would like to take advantage of the advanced features, then you should get the Pro version.

3. OptinMonster

business plugins for wordpress

OptinMonster is the most popular conversion rate optimization software. It allows you to convert abandoning website visitors into email subscribers. If you want to grow your email list, then this is a must have WordPress plugin in 2017. Read these case studies to see how much success other businesses are having by using OptinMonster.

4. Constant Contact

Constant Contact

Constant Contact is one of the best email marketing service providers. Thus allows you to build an email lists and send emails to your subscribers. It is by far the most beginner friendly platform, with quick and easy setup. It comes with built-in tools to add signup forms and also works well with lead generation software like OptinMonster.

5. Sucuri

Sucuri

Security is going to be a big concern for online business owners in 2017. Sucuri’s web application firewall is probably one of the best protection you can get for your site.

They monitor and protect your site from DDoS, malware threats, XSS attacks, brute force attacks, and basically every other type of attack.

If you don’t have a firewall on your website, then add one today.

6. BackupBuddy

BackupBuddy

While we’re talking about security, there’s no better security than having a reliable backup system.

As a business owner, you cannot afford to lose your business and customer data in case of a hardware failure or an attack on your host’s servers. The first thing you should setup on all your WordPress sites is a backup plugin. We recommend using BackupBuddy because it is one of the most reliable and easiest way to backup and restore your WordPress sites with just a few clicks.

7. Yoast SEO

Yoast SEO

Yoast SEO (formerly known as WordPress SEO by Yoast) is one of the most popular WordPress plugins. It allows you to optimize your WordPress site for search engines.

It not only helps you add meta tags, it optimizes your site as a whole. We have a complete step by step guide on how to install and setup WordPress SEO by Yoast.

8. Baqend

business plugins for wordpress

Speed is one of the most important SEO factors. Faster websites rank higher in Google, this means more visitors for your business website and more conversions.

Here at The Hosting Guy, we partnered with Baqend to provide a fully integrated caching and CDN Hybrid. Cut your Time to first byte (TTFB) down and load everything instantly.

9. SeedProd

SeedProd

SeedProd is the best WordPress coming soon and maintenance page plugin in the market. It comes with a real-time page builder that gives you access to 500,000+ background images, 750+ Google Fonts & 50+ ready-made templates.

You can add your social media profiles and connect it to all popular email service providers to capture emails from day 1. You can also have full control of your website as you work on it or give full or limited access to anyone you want.

10. Envira Gallery

Envira Gallery

While you can easily create image galleries in WordPress without using a plugin, these galleries are fairly basic. Envira Gallery allows you to create beautiful responsive galleries in WordPress.

You can create multiple galleries, add them anywhere on your site, create albums, open images in lightbox popups, and much more. Take a look at our tutorial on how to easily create responsive WordPress image galleries with Envira.

11. MemberPress

MemberPress

MemberPress allows you to build online communities on your WordPress website. It is the best WordPress membership plugin that allows you to easily add membership options to your WordPress website.

You can create subscriptions and restrict content to users based on their subscription plans. It works with all popular payment ways and plays nicely with online stores using WooCommerce.

12. Shared Counts

Shared Counts

Shared Counts is the best WordPress social media plugin. It allows you to easily add social media sharing buttons to your website. Unlike other social sharing plugins, Shared Counts is super-fast and comes with only the social platforms you actually use.

13. LearnDash

business plugins for wordpress

LearnDash is the best WordPress LMS plugin to create and sell online courses from your WordPress website. It has a drag and drop course builder that allows you to quickly add lessons, quizzes, assignments to build your course.

For detailed step by step instructions, see our guide on how to create online courses in WordPress using LearnDash.

14. Quick and Easy FAQs

Adding FAQs section in WordPress

When launching a new product or website, you may need to add a FAQs section in WordPress. You can add a new page with all the frequently asked questions (FAQs), but in most cases FAQs grows as your product evolves and as your customer base grows.

By adding the FAQ section, you can significantly reduce your support overhead and improve conversion. Take a look at how to add a FAQs section in WordPress.

15. Insert Headers and Footers

Insert Header and Footer

While managing your WordPress sites, you may sometimes need to add code snippets to your WordPress site’s header or footer. This means you will have to edit the theme files which could get messy and break up your WordPress theme. Insert Headers and Footer allows you to easily add code snippets to your WordPress site without editing your theme files. Take a look at our tutorial on how to add header and footer code in WordPress.

16. CSS Hero

CSS Hero

WordPress themes rely on CSS for the visual appearance of your website. If you want to make customization to your theme, then you will have to learn CSS. This can be time consuming for a business owner.

CSS Hero is a WordPress plugin that allows you to customize any WordPress theme without writing a single line of code. Check out our review of how CSS Hero makes WordPress customization easy for more information.

17. Beaver Builder

Beaver Builder

As a business owner you may soon realize that placing things differently on your pages can result into more conversions and sales. But how do you create those landing pages without learning to code?

Beaver Builder is a powerful drag and drop page builder tool for WordPress. It allows you to easily create your own page layouts using a simple user interface. See our comparison of the best drag and drop page builders for WordPress for more information.

18. Google Apps for Work

Google Apps for Work

Google Apps for Work is a suite of web applications like email, docs, spreadsheets, etc. Created by Google, this powerful suite of office applications is cheaper, easy to deploy, and hassle free. Most importantly, it allows you to use your own business domain name for emails.

19. Freshbooks

Freshbooks

Freshbooks is a cloud based accounting software for professionals, freelancers, and agencies. It allows you to easily send invoices to clients, receive payments, and manage your finances. Take a look at our article about creating invoices for clients using WordPress.

20. SEMRush

SEMrush

As a business owner, you need data to find out what your competitors are doing for their websites. SEMRush allows you to look at the keywords where your competitors are ranking. You can checkout their paid keywords as well as their organic traffic. This way you can optimize your own content and marketing strategy. Also checkout our list of best WordPress SEO plugins and tools that you should use.

21. All in One Schema.org Rich Snippets

All in One Schema.org Rich Snippets

Rich Snippets are special markup that you can add to your content and describe your content more precisely to search engines. This information is then used by search engines to show your content differently. For example, star ratings below your product listings, maps when someone searches for your business, and so on. All in One Schema.org rich snippets plugin provides you an easy user interface to generate that markup and use it in your WordPress posts and pages.

Check our guide on how to add rich snippets in WordPress.

22. BirchPress

BirchPress

If you need a solution for your business website where your users can book and pay for appointments, then BirchPress is the solution for you. It allows you to easily add a complete online booking system to your WordPress site.

You may also want to see our guide on 5 best WordPress appointment and booking plugins.

23. MaxCDN

MaxCDN

Images and other static content on a website take the longest time to load. If you want to make your website even faster, then you will need to use a CDN to deliver your static files. MaxCDN is the most reliable CDN service, and it integrates easily with WordPress. See our guide on how to install and setup WordPress CDN solution MaxCDN on your site.

24. Slack

Slack

Slack is a team management, productivity and communication tool. We use it to communicate with our team spread across different timezones and locations. Slack is more convenient than email, and it can integrate with tons of other online tools you may be using. See our guide on how to integrate Slack with WordPress for more information.

We hope this article helped you find some of the best WordPress plugins for your business website. You may also want to take a look at our guide on 25 most common WordPress mistakes that you want to avoid.