Bird
0
0

You want to improve your WordPress site's security by disabling file editing from the dashboard. Which wp-config.php setting should you add or modify?

hard📝 Application Q9 of 15
Wordpress - WordPress Settings and Configuration
You want to improve your WordPress site's security by disabling file editing from the dashboard. Which wp-config.php setting should you add or modify?
Adefine('AUTOSAVE_INTERVAL', 300);
Bdefine('DISALLOW_FILE_EDIT', true);
Cdefine('WP_DEBUG', false);
Ddefine('WP_ALLOW_REPAIR', true);
Step-by-Step Solution
Solution:
  1. Step 1: Identify the setting for disabling file editing

    DISALLOW_FILE_EDIT set to true disables the theme and plugin editor in the dashboard.
  2. Step 2: Understand other options

    WP_DEBUG controls debugging, AUTOSAVE_INTERVAL changes autosave timing, and WP_ALLOW_REPAIR enables database repair.
  3. Final Answer:

    define('DISALLOW_FILE_EDIT', true); -> Option B
  4. Quick Check:

    Disable file edit = DISALLOW_FILE_EDIT true [OK]
Quick Trick: Use DISALLOW_FILE_EDIT to block dashboard file edits [OK]
Common Mistakes:
MISTAKES
  • Confusing debug mode with file editing
  • Changing autosave interval for security
  • Using WP_ALLOW_REPAIR for editing control

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Wordpress Quizzes