Archive | Functions by letter v RSS feed for this section

validate_plugin

Validate the plugin path.Checks that the file exists and is valid file.

3327

Continue reading

validate_file_to_edit

Make sure that the file that was requested to edit, is allowed to be editedFunction will die if if you are not allowed to edit the file

3325

Continue reading

validate_file

File validates against allowed set of defined rules.A return value of ‘1’ means that the $file contains either ‘..’ or ‘./’. A return value of ‘2’ means that the $file contains ‘:’ after the first character. A return value of ‘3’ means that the file is not in the allowed files list.

3323

Continue reading

validate_current_theme

Checks that current theme files ‘index.php’ and ‘style.css’ exists.Does not check the default theme, which is the fallback and should always exist. Will switch theme to the fallback theme if current theme does not validate. You can use the ‘validate_current_theme’ filter to return FALSE to disable this functionality.

3319

Continue reading