As WordPress allow you to edit the theme files?

Apparently the theme developer has banned the edit via FTP the theme files that are at the root of the theme.
How can this be turned off?

Searched the wp_config file the line
define( 'DISALLOW_FILE_EDIT', true );
define( 'DISALLOW_FILE_MODS', true );

There are no such rows
August 19th 19 at 22:42
1 answer
August 19th 19 at 22:44
Solution
define( 'DISALLOW_FILE_EDIT', true );
define( 'DISALLOW_FILE_MODS', true );

These constants are forbidden to edit files in the editor in the admin and updates. To edit FTP have no influence and cannot have.

In your case, most likely, your FTP user does not have sufficient rights to edit (write) files.

And look in the config constants:
FS_CHMOD_DIR
FS_CHMOD_FILE
: Of course. Right 755/644 - Sebastian88 commented on August 19th 19 at 23:02
OK, thank you. I will then in the other direction to dig. Although, the user is created, the rights he has as far as possible. However, in the folder Themes/ edit anything, and for the Themes/parts and you can upload and edit - era95 commented on August 19th 19 at 22:47
: check the permissions on the themes folder and wp-content - Sebastian88 commented on August 19th 19 at 22:50
"And look in the config constants". Nothing - era95 commented on August 19th 19 at 22:53
: then exactly right, the problem is on the server side - Sebastian88 commented on August 19th 19 at 22:56
rights 555. I understand they matter. I apologize for the stupid question)
It is necessary to put 755? - era95 commented on August 19th 19 at 22:59
: 755, for files 644 for directories. - Sebastian88 commented on August 19th 19 at 23:05

Find more questions by tags WordPress