294 posts
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Has been part of the Envato Community for over 2 years
  • Sells items exclusively on Envato Market
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

3667 posts Ruben Bristian
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+9 more
KrownThemes says

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

294 posts
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Has been part of the Envato Community for over 2 years
  • Sells items exclusively on Envato Market
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

1506 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+2 more
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.

294 posts
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Has been part of the Envato Community for over 2 years
  • Sells items exclusively on Envato Market
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

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by