Sanitização plugin WordPress

Em Andamento Postado há 4 anos Pago na entrega
Em Andamento

Desenvolvemos um plugin para WordPress e precisamos realizar alguns ajustes apontado no processo de code review.

When you include POST/GET/REQUEST/FILE calls in your plugin, it's important to sanitize, validate, and escape them. The goal here is to prevent a user from accidentally sending trash data through the system, as well as protecting them from potential security issues.

SANITIZE: Data that is input (either by a user or automatically) must be sanitized. This lessens the possibility of XSS vulnerabilities and MITM attacks where posted data is subverted.

VALIDATE: All data should be validated as much as possible. Even when you sanitize, remember that you don’t want someone putting in ‘dog’ when the only valid values are numbers.

ESCAPE: Data that is output must be escaped properly, so it can't hijack admin screens. There are many esc_*() functions you can use to make sure you don't show people the wrong data.

To help you with this, WordPress comes with a number of sanitization and escaping functions. You can read about those here:

* [login to view URL]

* [login to view URL]

Remember: You must use the MOST appropriate functions for the context. If you’re sanitizing email, use sanitize_email(), if you’re outputting HTML, use esc_html(), and so on.

Clean everything, check everything, escape everything, and never trust the users to always have input sane data.

Some examples from your plugin:

$orderStatuses = $_POST[$this->plugin_id . $this->id . '_order_statuses'];

$wcStatusName = $_POST['woocommerce_allvorpay_order_statuses'][$cgStatusName];

HTML MySQL PHP Arquitetura de software WordPress

ID do Projeto: #18967913

Sobre o projeto

6 propostas Projeto remoto Ativo em há 4 anos

Concedido a:


Hi, my name is Eduardo and i WordPress specialist. Have a look at my work: - [login to view URL] - [login to view URL] - [login to view URL] - [login to view URL] - WordPress Plugin: https:/ Mais

$11 USD / hora
(0 Comentários)

6 freelancers estão ofertando em média $15/hora nesse trabalho


Hello, We have extensive expertise at custom WordPress development and can help you with this regard. Kindly check our portfolio at which has 500+ WP sites. Please come over Mais

$18 USD / hora
(801 Comentários)

Hi Please have a look at some of our WordPress skills WORDPRESS SKILLS : 1) Fresh theme development 2) Customizing and module development for premium themes 3) Fresh plugin development (eg: QuickBooks integration Mais

$10 USD / hora
(67 Comentários)

Olá meu nome é Lucas de Oliveira Neitzke e eu sou programador e desenvolvedor Web, tenho interesse no seu projeto e tenho as habilidades necessárias para realiza-lo, caso deseje me contratar por favor entre em contato Mais

$33 USD / hora
(7 Comentários)