First of all: What is WordPress revisions? WordPress saves revisions and stores a record into database for each saved draft. This could be useful to roll back to any previous post or page version; quite interesting uh? This revisions of this system, however, threatens to massively increase your database sizes, thus slowing your website.
As described WordPress revisions can be useful, but it would be interesting to be able to limit them to a maximum number, saving your database health.
In this article we will see how to restrict the maximum number of revisions in a simple way and especially without using plugins.
The HTTPS protocol is the secure version of HTTP, the protocol used to exchange data between your browser and the website you're viewing. https encrypts data during the transit between the server and the client, so you can be safe from attacks like man in the middle. That's great, but then why am I writing this article? 🙂
First of all this article intends to help all admins who are unable to login to WordPress control panel and aren't able to reset the password using the standard WordPress procedure, and so the only way is to add an admin user via database.
Sometimes you may need to add an admin user to a WordPress site via PHPMyAdmin; this short tutorial could help you accomplish this safely, using only a few queries.
Please note, I suggest you to backup your database as first step, so you could restore it if some problems arise.
Ok, do you save the backup in a safe place? Ok, let's go!
First of all log into your PHPMyAdmin interface, click on "SQL" label (on top right panel) and then copy and paste these lines:
WordPress is making great strides in security, but sometimes we need more control over the HTML tags allowed to be used in comment and post content.
Are you ready? Let's take a look to "wp_kses_allowed_html" filter, to add more allowed html tags to use in your WordPress themes and plugins.
KSES is an HTML filtering system used by WordPress to seek through variables looking for HTML, it strip all HTML tags except the allowed ones. This functionality was implemented to prevent intruders can inject malicious code in your WordPress site; great, isn't it? 🙂
Here's our new site, in this section we'll publish our news, articles and much more.
If you need any kind of information about our themes, pre-sale questions or a new apple pie recipe, please, feel free to send us an e-mail through the contact page 🙂