Developer's blog

All You Need to Know about Backward Compatibility

All You Need to Know about Backward Compatibility
5 min read
266

Backward compatibility is a product property that allows for interoperability with an older legacy system. WordPress CMS attentively cares about backward compatibility, and you can easily update your website from any version without risk. However, we can’t say the same about themes and plugins. Often, some functionality stops working after updating a plugin or theme. It’s disappointing and time-consuming. The excellent tone is to deprecate code before removing or breaking…

How to deal with Date and Time in WordPress

How to deal with Date and Time in WordPress
4 min read
1141

If you want to shake the developer’s faith, ask them to do something with the dates. It’s always challenging. In WordPress, it’s in twice tricky. WordPress has many settings related to date and time. These settings allow site owners easily modify timezone, date and time formats, and the first day of the week. Further, I will explain how to deal with these settings in different cases. Translations Some date formats…

How to use WordPress StyleSheets(Stylelint) Coding Standards

How to use WordPress StyleSheets(Stylelint) Coding Standards
2 min read
1155

The WordPress coding standards for style sheets use the Stylelint tool which makes your code consistent, elegant, and more readable. Stylelint has a bunch of rules (more than 170), a vast community, and excellent documentation. Get started with WordPress coding standards Use npm (or yarn) to install the WordPress Stylelint configuration package: The package supports SCSS and CSS syntax. Following, I show examples with SCSS files, but you can easily…

Best guide to security output for WordPress

Best guide to security output for WordPress
6 min read
1734

Although we’ve already talked about code injection, we’re carrying on this topic from a slightly different angle today. More recently, cross-site-scripting(XSS) has become part of the code injection category, but this particular vulnerability has its peculiarity, so let’s not waste time and get started. Cross-site scripting Cross-site scripting (XSS) is a type of security vulnerability that can be found in some web applications. XSS attacks enable attackers to inject client-side…

Sanitizing is a great way to protect WordPress code

Sanitizing is a great way to protect WordPress code
8 min read
5879

It’s no secret that security is an essential part of any software. In this article, I will tell you about data sanitization and how a few small rules can help you greatly secure your codebase. If sanitization is the antidote, then what is the poison? Code injection is one of the most popular vulnerabilities in web development. Let’s take a deeper look at the problem. Let’s get started. Sanitizing is…

Husky is an excellent way to raise your development process

Husky is an excellent way to raise your development process
2 min read
1551

Every developer can’t even imagine life without a version control system. I’m sure that you know a bunch of them, however, at the moment, the monopolist here is git. Git Hooks is one of the grateful things which provide git. As a WordPress developer, you already know that hooks are the greatest bestowed upon us by the supermind. Most importantly, Git Hooks allow the firing of custom scripts when certain…

Subscribe to news. I promise not to spam :)
Follow me, don't be shy