[wp-trac] [WordPress Trac] #42609: Regression: WordPress 4.9 plugin/theme editor cannot edit files when running on a Windows based server
WordPress Trac
noreply at wordpress.org
Wed Nov 22 23:17:15 UTC 2017
#42609: Regression: WordPress 4.9 plugin/theme editor cannot edit files when
running on a Windows based server
--------------------------------------------------+--------------------
Reporter: Otto42 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.9.1
Component: Editor | Version: 4.9
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion good-first-bug | Focuses:
--------------------------------------------------+--------------------
Comment (by platinumshore):
Confirmed.. have same problem on cloudlinux. but we seem to be getting
ignored by the community :-( And temporary patch supplied didn't fix the
problem either.
Replying to [comment:5 247pinger]:
> I just wanted to add that this is not Windows specific... I am unable to
edit new files added to my theme. But I am able to edit files that were a
part of my theme prior to upgrading to 4.9.
>
> I just created a new file called "page-giftcards.php" using the touch
("page-giftcards.php") php code in one of my other theme files (which
worked until updating to 4.9).
>
> And not only does the file not show up in the list of theme files as
seen through the dashboard (I have verified it's existence by logging into
the server via SSH)... but when I hack the URL of my theme editor to try
and edit page-giftcards.php specifically...
>
> I am told "Sorry, that file cannot be edited."
>
> And yes I have checked all of the permissions. The file permissions for
the new page-giftcards.php is exactly the same as every other file in the
theme folder (that is editable).
>
> Did wordpress security implement a new method of verifying theme files
or something? And it won't let me edit a file that it does not consider
part of it's theme?
>
> I am very stumped over this.
>
> Running Debian 8.6 and NGINX.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42609#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list