Adapt an existing Wordpress plugin to make sure it will be indexed by wordpress here : [login to view URL]

Completado Publicado hace 7 años Pagado a la entrega
Completado Pagado a la entrega

We are looking for someone to fix these issues in our WP plugin code:

## Please use wp_enqueue commands

Your plugin is using <style> and/or <link> tags to insert CSS/JS

You should be using the built in functions for this:

[url removed, login to view]

[url removed, login to view]

If you're trying to enqueue on the admin pages you'll want to use the admin enqueues

[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

echo '<script src="[url removed, login to view]"></script>

That should use enqueues.

## Please sanitize, escape, and validate your POST calls

When you include POST/GET/REQUEST 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: All instances where generated content is inserted into the database, or into a file, or being otherwise processed by WordPress, the data MUST be properly sanitized for security. By sanitizing your POST data when used to make action calls or URL redirects, you will lessen the possibility of XSS vulnerabilities. You should never have a raw data inserted into the database, even by a update function, and even with a prepare() call.

VALIDATE: In addition to sanitization, you should validate all your calls. If a $_POST call should only be a number, ensure it's an int() before you pass it through anything. Even if you're sanitizing or using WordPress functions to ensure things are safe, we ask you please validate for sanity's sake. Any time you are adding data to the database, it should be the right data.

ESCAPE: Similarly, when you're outputting data, make sure to escape it 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.

In all cases, using stripslashes or strip_tags is not enough. You need to use the most appropriate method associated with the type of content you're processing. Check that a URL is a URL and don't just be lazy and use sanitize_text please. The ultimate goal is that you should ensure that invalid and unsafe data is NEVER processed or displayed. Clean everything, check everything, escape everything, and never trust the users to always have input sane data.

Please review this document and update your code accordingly: [url removed, login to view]

I know you have a sanitize_slaask() function, but it's only using sanitize_text which is not really appropriate for all things. That's why we have sanitize_key and so on and so forth.

CSS HTML PHP WordPress

Nº del proyecto: #10580334

Sobre el proyecto

11 propuestas Proyecto remoto Activo hace 7 años

Adjudicado a:

Iamdav

Hello. I would like to help you index your wp plugin. Please check my reviews and contact me - I am available right now. Greetings.

$50 USD en 1 día
(24 comentarios)
3.8

11 freelancers están ofertando un promedio de $172 por este trabajo

niravvirani17

Give me chance to prove my ability and also quality work i am waiting your positive replay from your side i am highly interested to work with you We have 8 years experience in this field and completed many project Más

$147 USD en 3 días
(500 comentarios)
7.9
jasbirsaini30

I am Jasbir Singh (Web Professional). I saw your requirement in your job post and i fulfill all those requirement. I can do this job perfectly, so you can discuss more with me and award me the job. i want long term cli Más

$222 USD en 15 días
(126 comentarios)
6.1
fhm29

Hi there, Thanks for posting your project we are interested in your work & have vast experience in blog creation & customization. We will fix out the problems & that all will be done in few hour & you can che Más

$144 USD en 3 días
(21 comentarios)
4.3
webiotech

Hi, Thanks for providing opportunity to apply on your project. My name is jenny from India. We specialize in responsive web , web development , eCommerce and SEO. I read your description carefully & as per your Más

$227 USD en 3 días
(8 comentarios)
3.2
phonegape12

JAYMAN INFOTECH PVT LTD is a contemporary Website design and development company with a focus on user-centered design while helping our clients achieves the desired result. We are a custom software development company Más

$500 USD en 45 días
(0 comentarios)
0.0
niteshieinfotech

Hello I am Nitesh...i have 4 year of professional experience in software web application development .. we believe in work quality ,customer satisfaction and timely delivery projects for better and long time relations Más

$100 USD en 2 días
(0 comentarios)
0.0