[wp-trac] [WordPress Trac] #34976: Plug ins fail to update after WP 4.4 installed
WordPress Trac
noreply at wordpress.org
Sat Dec 12 21:24:10 UTC 2015
#34976: Plug ins fail to update after WP 4.4 installed
----------------------------+--------------------
Reporter: patdundee | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.4.1
Component: Filesystem API | Version: 4.4
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+--------------------
Comment (by mensmaximus):
Replying to [comment:64 Cornwell]:
> Replying to [comment:61 mensmaximus]:
> > [...]
> > This is the reason why removing the -a option from 4.4 fails on the
.maintenance while it works in 4.3.1.
>
> I don't think that's always the case. After I had this problem I ended
up in maintenance mode, but I deleted the .maintenance file and the site
became live again.
It was a guess. I just checked the code and the .maintenance file is
handled by WP_Upgrader:maintenance_mode which handsover the deletion to
$wp_filesystem->delete(). This function does not rely on
$wp_filesystem->exist()
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34976#comment:65>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list