I’ve got a special weekend discount for members of WPStudio.com AND potential new members. (And for those that have been around, you know I don’t give these out very often.) This weekend only (starting from the point I publish this post), you can use the coupon SPRING2018 to get 35% off renewals and/or new memberships. Join the community today and get prepared for the upcoming Online and Live 3rd WordPress Developer Camp. Learn more about a WPStudio Membership.
The latest update to the SEO Studio plugin has arrived. Members are able to access the plugins in their account area. For those that have SEO Studio already running on their sites, you should see the auto-update show up now. I encourage all members to watch the “launch” webinar that walks through all the features and enhancements of this updated plugin and its companion addon.
If you develop WordPress plugins professionally or as a side hustle, it is important to recognize security issues. With WordPress powering large swaths of the internet, code security should be a vital part of your development.
In this light, I wanted to share several key areas of security that every WordPress developer should be mindful of during their development of code projects.
Don’t Let Direct Access Occur
While many web hosts are built around allowing access to files that reside on the server, we shouldn’t allow our plugin files to be accessed directly. We need to make sure that its only “WordPress itself” that is accessing the plugin files.
The best way to handle this is to perform a conditional check at the top of the plugin files that makes sure the file isn’t being accessed from outside WordPress.
One of my favorite aspects of WPStudio.com is the incredible community that exists on the private Slack channel and meets up in the real world. Not only does this community support each other with technical and design situations with clients but we support each other as human beings.
A way of giving thanks to current WPStudio.com community members is to give you my word as the Chief Code Breaker in Charge to honor your commitment to the community by guaranteeing you a discounted renewal. All members of WPStudio.com** can always use the coupon code RENEW20 to receive a 20% off your renewal for the life of your membership.
But the thanks to current members extends even further… All members** can take advantage of other coupons that periodically appear (Black Friday for example) to renew and extend their memberships which can sometimes be a larger discount than the standard RENEW20 20% rate.
When the latest version of WordPress (4.9) was released, it also contained a strange little bug that was introduced with some of the modifications to the internal “file editor” in WordPress. This bug caused page templates to either not display properly in the Page Edit screen or to not update until the default WordPress cache was cleared (60 minutes). But there is a quick fix you can place into your theme’s functions.php file that will automatically clear the cache of the theme so you don’t have to wait for the cache to clear or raise your theme’s version number.
Thanks to the WordPress community for sharing variations of this fix. Note: This bug will be fixed in an upcoming version of WordPress, so once that is fixed, you’ll be able to remove this code from your active theme’s functions.php file.