LinkedIn WordPress Skill Quiz Answers

In your wp-config.php file, you’ve added the following line of code. What does it do?

Latest Update on 31st December, 2021 by Certification Course Answers

In your wp-config.php file, you’ve added the following line of code. What does it do?

define( 'DISALLOW_fiLE_EDIT', true );

  1.  prevents any non-admin user from directly editing theme or plugin files
  2.  disables the theme and plugin editor in the WordPress admin
  3.  disables the ability to edit core WordPress files from either within the WordPress admin or via direct file access
  4.  sets read-only permissions on all files in the WordPress install

Explanation: More WordPress Security: Disallow file Edit Setting In WordPress. Setting all files to read-only would make auto-updates impossible.

Correct Answer:

  •  disables the theme and plugin editor in the WordPress admin

Latest Updates

No posts found in this category.