WP-Optimize to release new Minify feature

We are happy to share with you that WP-Optimize will soon be adding an all new feature to our popular WordPress optimization plugin. In an upcoming release, users will soon be able to use an all-new Minify feature that will help make their websites run even faster.

How does minification work?

The minify process works by removing all the unnecessary characters from a piece of code, such as line breaks, white spaces etc. The minified code still works exactly the same as it did before the minification process, but the files now take up less space due to the removal of unnecessary information. This process has proved to have been very popular when being used on scripts, stylesheets and and other components on your website which can benefit from faster loading times. The Minify feature will further reduce HTTP requests to help speed up your site. This works by merging CSS and Javascript files into a group of files and attempting to use as few of these files as possible.

Our new Minify feature will be simple to use and intuitive. Most users just need to set it to default settings and let it do it’s thing. This new feature will be launched soon, so be sure to keep an eye out for it in an upcoming release of WP-Optimize

 

The post WP-Optimize to release new Minify feature appeared first on UpdraftPlus. UpdraftPlus – Backup, restore and migration plugin for WordPress.

How to integrate Slack reminder notification with WordPress

With so many different demands vying for your attention in modern life, it can be easy to lose track of the many important tasks you are supposed to carry out and hopefully be reminded of. After all, there is only so much a desk full of scribbled post-it notes can do to ensure you are reminded about something important, so there is a good chance you have forgotten about something recently. However, there is a way to get Slack to remind you of all these tasks as and when you require, and the good news is we are going to show you how to set it up!   

There can be a large number of things you may need Slack to remind you of. The who, what, when and why of a reminder is hugely important and can cover anything from setting a reminder of a meeting with your bank manager, submitting your travelling expenses on time or a reminder for a deadline of an important project coming up. The reminder example we will be using in this blog is setting up a “blog post Slack reminder” message. Though feel free to substitute this for any kind of reminder that is more appropriate to you and your situation.     

Given the importance of SEO, most people who run websites are aware of vital regularly updating and posting new blogs is. While the tasks needed to succeed at SEO are a closely guarded secret, we do know that regularly posting a new blog is a great way to move up the Google SEO ranking. As such, website owners may be interested in an app for Slack that will send a notification to your Slack channel if you have not posted a new article on your blog within the last 7 days. These reminders will hopefully help you manage your articles and blogs better and also help to remind you to publish them on time.

In this article, we show you how you can integrate Slack notification with your WordPress blog using an app you can create yourself.

Getting started – Create a Slack application

To get started, you first need to create an application within your Slack account. To do this, go to the Slack API page and hit the ‘Create New App’ button.

This will create a popup window. Complete your details requested and you will be redirected to a ”settings page”. In this settings page, click on the ‘Incoming Webhooks’ from the left section. Toggle this option to “On”.

Scroll down to the bottom and click on the ‘Request to Add New Webhook’ button. If you are not an Admin then you need to get admin approval to access this option.

Once the app is approved, click on the ‘Install APP’ from the left side menu. And then press the ‘Install App to Workspace’ button.

Choose the desired channel on the next page and click on the ‘Allow’ button. You will then be redirected to a page where you will get your Webhook URL. Copy this URL as you will require it shortly.

Send notification on Slack channel from WordPress

You are now ready to proceed as you have the Webhook URL and have also configured the Slack channel, where the notification will be sent. Next, you need to write a code that sends a POST request along with a message to the webhook URL. This webhook URL will automatically post the received message to the chosen Slack channel. 

So, let’s do some coding.

Calculate days when last article is posted

When sending a notification to the Slack channel, you first need to calculate days from when the last article was posted. The below code will go inside your active themes:functions.php file.

<?php

function get_daycount_of_last_blog_posted(){
   $args=array(
        'post_type' => 'post',
        'post_status' => 'publish',
        'posts_per_page' => 1,       
    );  

    $datediff = 0;
    $blog_posts = new WP_Query( $args );
    if ( $blog_posts->have_posts() ) :
 
 while ( $blog_posts->have_posts() ) : $blog_posts->the_post();

   $datediff = time() - strtotime(get_the_date());
      endwhile;
        wp_reset_postdata();
    endif;

    if ($datediff) return round($datediff / (60 * 60 * 24));

   return $datediff;
}

This code and method will get the last added post from the WordPress database and calculate the days between when you requested it and when the last article was posted.

Send POST request to Webhook

WordPress provides a function wp_remote_post() that performs an HTTP request and receives the response. Using this method we will send our custom message to the webhook.

Create a file notification.php in the root directory of your WordPress project and add the below code to it.

<?php 
require_once('wp-load.php');
$slack_webhook_url = 'YOUR_WEBHOOK_URL';
$last_blog_day_count = get_daycount_of_last_blog_posted();
if($last_blog_day_count > 5) {

 $msg = 'Hey team, our app found that we have not added new article on UpdraftPlus
 for more than 5 days. Please look into it.';

    // Prepare the data / payload to be posted to Slack
  $data = array(
        'payload'   => json_encode( array(
                "text" =>  $msg,
            )
        )
    );

    // Post our data via the slack webhook endpoint using wp_remote_post
  wp_remote_post( $slack_webhook_url, array(
            'method' => 'POST',
            'body' => $data,
        )
    );
}

This code will post a message to Webhook URL if a new article is not added for more than 5 days on your blog. As a result, you get a notification on your selected Slack channel.

Set cron on your server

Our goal is to create an automated system which will notify the team about this task on a specific Slack channel. Because of this, we created a PHP file in the root folder of the WordPress project. By setting cron with this file on your server, you can set up your Slack app to run automatically.

Setting cron on the server may differ on the basis of your hosting provider. For the sake of this tutorial, we will give an example on how to set cron on Media Temple web hosting’s CPanel.

Login to your CPanel. Select ‘Cron Jobs’ under the “Advanced” section.

On the next page, choose the ‘Once Per Day(0 0 * * *)’ option from the ‘Common Settings’ dropdown. This means the cron will execute the script once a day.

Finally, in the Command field add the below statement by adjusting your notification.php file path.

<pre>/usr/local/bin/php /home/xyz/public_html/notification.php</pre>

That’s it! 

By following this tutorial, you are now able to create your own Slack app for you and your team. This will certainly help everyone keep up to date with scheduled blogs and ensure you do not miss out on any important dates. 

The post How to integrate Slack reminder notification with WordPress appeared first on UpdraftPlus. UpdraftPlus – Backup, restore and migration plugin for WordPress.

Easy Updates Manager 9.0.0 and 9.0.1 released

We are pleased to announce an updated version of Easy Updates Manager with the releases of 9.0.0 and 9.0.1. The new updates includes a range of new features, tweaks and fixes.

As part of the update you will see that we have developed the main admin user interface. This gives the user a much more clear and easier way to use and make the most of all the features of Easy Updates Manager. The update also lets Premium users check for unmaintained plugins, so there will be no nasty surprises when a plugin that you rely on stops updating and potentially becomes unsecured.

We recommend the update for all Easy Updates Manager users.

9.0.1

  • FIX: (Premium feature) UpdraftPlus will only take one backup during the auto-update process.
  • FIX: Update translations after an auto-update has completed.

9.0.0

  • FEATURE: Admin user interface has been cleaned up, providing more straightforward options.
  • FEATURE: (Premium) Check for unmaintained plugins.
  • TWEAK: Constants can now be used to disable the outdated browser warning (EUM_ENABLE_BROWSER_NAG), the WordPress version in the footer (EUM_ENABLE_WORDPRESS_FOOTER_VERSION), and the ratings prompt on the General screen (EUM_ENABLE_RATINGS_NAG).
  • FIX: Prevent Force Updates from deactivating plugins.
  • FIX: (Premium feature) UpdraftPlus will now take a backup during an auto-update
  • FIX: (Premium feature) Fix cron schedules so they are run at the correct time.

Easy Updates Manager 9.0.0 and 9.0.1 released

We are pleased to announce an updated version of Easy Updates Manager with the releases of 9.0.0 and 9.0.1. The new updates includes a range of new features, tweaks and fixes.

As part of the update you will see that we have developed the main admin user interface. This gives the user a much more clear and easier way to use and make the most of all the features of Easy Updates Manager. The update also lets Premium users check for unmaintained plugins, so there will be no nasty surprises when a plugin that you rely on stops updating and potentially becomes unsecured.

We recommend the update for all Easy Updates Manager users.

9.0.1

  • FIX: (Premium feature) UpdraftPlus will only take one backup during the auto-update process.
  • FIX: Update translations after an auto-update has completed.

9.0.0

  • FEATURE: Admin user interface has been cleaned up, providing more straightforward options.
  • FEATURE: (Premium) Check for unmaintained plugins.
  • TWEAK: Constants can now be used to disable the outdated browser warning (EUM_ENABLE_BROWSER_NAG), the WordPress version in the footer (EUM_ENABLE_WORDPRESS_FOOTER_VERSION), and the ratings prompt on the General screen (EUM_ENABLE_RATINGS_NAG).
  • FIX: Prevent Force Updates from deactivating plugins.
  • FIX: (Premium feature) UpdraftPlus will now take a backup during an auto-update
  • FIX: (Premium feature) Fix cron schedules so they are run at the correct time.

The post Easy Updates Manager 9.0.0 and 9.0.1 released appeared first on UpdraftPlus. UpdraftPlus – Backup, restore and migration plugin for WordPress.

Easy Updates Manager 9.0.0 an 9.0.1 released

We are pleased to announce an updated version of Easy Updates Manager with the releases of 9.0.0 and 9.0.1. The new updates includes a range of new features, tweaks and fixes.

As part of the update you will see that we have developed the main admin user interface. This gives the user a much more clear and easier way to use and make the most of all the features of Easy Updates Manager. The update also lets Premium users check for unmaintained plugins, so there will be no nasty surprises when a plugin that you rely on stops updating and potentially becomes unsecured.

We recommend the update for all Easy Updates Manager users.

9.0.1

  • FIX: (Premium feature) UpdraftPlus will only take one backup during the auto-update process.
  • FIX: Update translations after an auto-update has completed.

9.0.0

  • FEATURE: Admin user interface has been cleaned up, providing more straightforward options.
  • FEATURE: (Premium) Check for unmaintained plugins.
  • TWEAK: Constants can now be used to disable the outdated browser warning (EUM_ENABLE_BROWSER_NAG), the WordPress version in the footer (EUM_ENABLE_WORDPRESS_FOOTER_VERSION), and the ratings prompt on the General screen (EUM_ENABLE_RATINGS_NAG).
  • FIX: Prevent Force Updates from deactivating plugins.
  • FIX: (Premium feature) UpdraftPlus will now take a backup during an auto-update
  • FIX: (Premium feature) Fix cron schedules so they are run at the correct time.

The post Easy Updates Manager 9.0.0 an 9.0.1 released appeared first on UpdraftPlus. UpdraftPlus – Backup, restore and migration plugin for WordPress.

UpdraftPlus CCPA privacy notice

On January 1st 2020, the California Consumer Privacy Act (CCPA) introduced new data privacy rights for California residents – forcing companies that conduct business in the state of California to implement structural changes to their privacy programs. The new law is a response to the increasing role personal data plays in business practices and the personal privacy implications surrounding the collection, use, and protection of personal information.

Though UpdraftPlus may not necessarily meet the criteria necessary in order to comply with the CCPA law (1. Have $25 million or more in annual sales – 2. Buys, sells, or shares information on 50,000 or more individuals, households, or devices – 3. Derives more than half of our annual revenue from selling personal information), we have made every effort to meet and achieve CCPA compliance for the privacy rights of our California based customers. As such, we are providing this CCPA-specific privacy notice to supplement the information and disclosures already contained in our Data Protection and Privacy Centre. This notice applies only to individuals residing in California with an UpdraftPlus account from whom we collect personal information.

What is the CCPA?

The CCPA allows any California consumer to demand to see all the information a company has saved on them, as well as a full list of all the third parties that data is shared with. In addition, the California law allows consumers to sue companies if the privacy guidelines are violated, even if there is no breach.

Much like the GDPR law that was enacted in May 2018, many of the same rules on the use of customer data are represented in the CCPA. However the CCPA does takes a broader view than the GDPR of what constitutes private data.

How does CCPA differ from GDPR?

GDPR applies to the processing of all personal data, regardless of what that data is intended for or how it will be processed.

The CCPA is more specific regarding what kinds of data are protected and under what circumstances. While GDPR has strict user “opt-in” consent options before companies can access any of your data, CCPA only requires companies to supply the option to “opt-out” when user information is going to be actively sold or shared.

The CCPA does not provide the same protection to a wider range of user data types that the GDPR does. These include:

  • Data that is already legally available to the public
  • Medical information that’s protected under California’s Confidentiality of Medical Information Act (CMIA) or the federal Health Insurance Portability and Accountability Act (HIPPA)
  • Personal information covered by California’s Driver’s Privacy Protection Act

And other similar data sets.

UpdraftPlus does not sell personal information

The following categories of personal information have been defined by the CCPA. This information may have been collected and/or disclosed for a business purpose by ourselves in the last twelve months. The examples of the personal information provided in each category are taken from the CCPA and are included so you can better understand the specific information contained within a category. More information about the specific information UpdraftPlus gathers and how that information is used and processed can be found here.

 

Category We Collect We Sell
A. Identifiers Yes                                No                               
Examples: Name, alias, postal address, unique personal identifier, online identifier, internet protocol address, email address, account name, social security number, driver’s license number, passport number, or other similar identifiers.                                                              
B. Categories of personal information in Cal. Civ. Code 1798.80(e) Yes                                No                               
Examples: Name, signature, social security number, physical characteristics or description, address, telephone number, passport number, driver’s license or state identification card number, insurance policy number, education, employment, employment history, bank account number, credit card number, debit card number, or any other financial information, medical information, or health insurance information.                                                              
C. Characteristics of protected classifications under California or Federal law No                                N/A                               
Examples: Race or color, ancestry or national origin, religion or creed, age (over 40), mental or physical disability, sex (including gender and pregnancy, childbirth, breastfeeding or related medical conditions), sexual orientation, gender identity or expression, medical condition, genetic information, marital status, military and veteran status.                                                              
D. Commercial information Yes                                No                               
Examples: Records of personal property, products or services purchased, obtained, or considered, or other purchasing or consuming histories or tendencies.                                                              
E. Biometric information No                                N/A                               
Examples: Physiological, biological, or behavioral characteristics, including DNA, that can be used, singly or in combination with each other or with other identifying data, to establish individual identity, such as imagery of the iris, retina, fingerprint, face, hand, palm, vein patterns, and voice recordings, from which an identifier template, such as a faceprint, a minutiae template, or a voiceprint, can be extracted, and keystroke patterns or rhythms, gait patterns or rhythms, and sleep, health, or exercise data that contain identifying information.                                                              
F. Internet or other electronic network activity information Yes                                No                               
Examples: Browsing history, search history, and information regarding a consumer’s interaction with an internet website, application or advertisement.                                                              
G. Geolocation data Yes                                No
Example: Precise physical location.                                                              
H. Sensory information No                                N/A                               
Examples: Audio, electronic, visual, thermal, olfactory, or similar information.                                                              
I. Professional or employment-related information No                                N/A
Examples: Job application or resume information, past and current job history, and job performance information.                                                              
J. Non-Public education information (as defined in 20 U.S.C. 1232g; 34 C.F.R. Part 99) No                                N/A                               
Examples: Records that are directly related to a student maintained by an educational agency or institution or by a party acting for the agency or institution.                                                              
K. Inferences drawn from personal information No                                N/A
Examples: Consumer profiles reflecting a consumer’s preferences, characteristics, psychological trends, preferences, predispositions, behavior, attitudes, intelligence, abilities, and aptitudes.                                                              


Use of personal information

As the new CCPA has now come into force we wanted to clarify that UpdraftPlus meets the criteria necessary to be in accordance with the specific CCPA business and commercial purposes, as detailed below:

  1. Auditing related to a current interaction with you and concurrent transactions, including, but not limited to auditing compliance with this specification and other standards.
  2. Detecting security incidents, protecting against malicious, deceptive, fraudulent, or illegal activity, and prosecuting those responsible for that activity.
  3. Debugging to identify and repair errors that impair existing intended functionality.
  4. Short-term, transient use.
  5. Contracting with service providers to perform services on our behalf, including maintaining or servicing accounts, providing customer service, processing or fulfilling orders and transactions, verifying customer information, processing payments, providing advertising or marketing services, providing analytic services, or providing similar services on behalf of the business or service provider.
  6. Undertaking internal research for technological development and demonstration.
  7. Undertaking activities to verify or maintain the quality or safety of our services, and to improve, upgrade, or enhance our services.
  8. Otherwise enabling or effecting, directly or indirectly, a commercial transaction.
  9. For other purposes for which we provide specific notice at the time the information is collected.

UpdraftPlus’ collection and disclosure of personal information

In the last year UpdraftPlus have collected personal information from general sources including you, your use of our services, your devices, our affiliates, our vendors, and our service providers. More specific information about the personal information we collect is laid out in this in our GDPR and  Data Protection and Privacy Centre.

Your California privacy rights

If you are a California resident, the CCPA allows you to exercise the following rights. 

Right to know and access. You may submit a verifiable request for information regarding the: (1) categories of personal information collected or disclosed by us; (2) purposes for which categories of personal information are collected by us; (3) categories of sources from which we collect personal information; and (4) specific pieces of personal information we have collected about you during the past twelve months.

Right to Delete. Subject to certain exceptions, you have the option to delete personal information about you that we have collected from you.

Verification. Requests for access to or deletion of personal information are subject to our ability to reasonably verify your identity in light of the information requested and pursuant to relevant CCPA requirements, limitations, and regulations.

Right to Equal Service and Price. You have the right not to receive discriminatory treatment for the exercise of your CCPA privacy rights, subject to certain limitations.

Shine the Light. We do not rent, sell, or share your personal information with non affiliated companies for their direct marketing purposes, unless we have your permission.

Submit Requests. To exercise your rights under the CCPA, you can deactivate and purge your account (similar to the GDPR “right to erasure” – “right to be forgotten”) by sending us a customer support request under “This is a GDPR/CCPA-related query” in the “What kind of support request is this?” option. 

If you have any further questions or queries, please leave a comment below and we will get back to you as soon as possible.

The post UpdraftPlus CCPA privacy notice appeared first on UpdraftPlus. UpdraftPlus – Backup, restore and migration plugin for WordPress.