245 posts
  • Sold between 10 000 and 50 000 dollars
  • Has been a member for 1-2 years
  • Exclusive Author
  • Bought between 1 and 9 items
PersianArt says

hi, my theme reject for this reason

The WordPress theme should make use of the following inbuilt functions to validate or santize content on input or escape any questionable content for put. http://codex.wordpress.org/Data_Validation

I do this orders for front-end inputs but not on my admin panel, I want know, I must put for all input in my admin also?

if you have some information about it please guide me

also I received this error from reviewer

WARNING: wp-includes/functions.php:932 – Cannot modify header information – headers already sent by (output started at /Users/.../Sites/wordpress/wp-content/themes/royaldesign/includes/misc/all-inline.php:85) WARNING: wp-includes/functions.php:945 – Cannot modify header information – headers already sent by (output started at /Users/.../Sites/wordpress/wp-content/themes/royaldesign/includes/misc/all-inline.php:85) WARNING: wp-includes/functions.php:3725 – Cannot modify header information – headers already sent by (output started at /Users/.../Sites/wordpress/wp-content/themes/royaldesign/includes/misc/all-inline.php:85) WARNING: wp-admin/admin-header.php:9 – Cannot modify header information – headers already sent by (output started at /Users/.../Sites/wordpress/wp-content/themes/royaldesign/includes/misc/all-inline.php:85)

I have not this error on my host or localhost!

thank you

3249 posts Nice Guy
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 6-7 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
+6 more
RubenBristian says

Do you have PHP error reporting on and also WP_Debug on?

245 posts
  • Sold between 10 000 and 50 000 dollars
  • Has been a member for 1-2 years
  • Exclusive Author
  • Bought between 1 and 9 items
PersianArt says

Do you have PHP error reporting on and also WP_Debug on?

I have not any error while “WP_DEBUG” and “SAVEQUERIES” is set to “true” on localhost and webhost both

please also if you have any info about my first question guide me

thanks

1399 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 1 and 9 users
  • Croatia
OriginalEXE says


Do you have PHP error reporting on and also WP_Debug on?

I have not any error while “WP_DEBUG” and “SAVEQUERIES” is set to “true” on localhost and webhost both

please also if you have any info about my first question guide me

thanks
Yes, you should sanitize both frontend and backend. Just because a user is validated (logged in) does not mean he does not have bad intentions.

Regarding your second error abour header already sent, from experience I believe this is due to an extra space left after closing php tags at the end of the document. If so, to avoid that, don’t close php tags at the end. It is not required and helps avoiding such problems.

245 posts
  • Sold between 10 000 and 50 000 dollars
  • Has been a member for 1-2 years
  • Exclusive Author
  • Bought between 1 and 9 items
PersianArt says



Do you have PHP error reporting on and also WP_Debug on?

I have not any error while “WP_DEBUG” and “SAVEQUERIES” is set to “true” on localhost and webhost both

please also if you have any info about my first question guide me

thanks
Yes, you should sanitize both frontend and backend. Just because a user is validated (logged in) does not mean he does not have bad intentions. Regarding your second error abour header already sent, from experience I believe this is due to an extra space left after closing php tags at the end of the document. If so, to avoid that, don’t close php tags at the end. It is not required and helps avoiding such problems.

If I must do this, then I have many thing for do. and for secont I try to find extra space

thank you

by
by
by
by
by
by