#50354 closed enhancement (fixed)
Call opcache_invalidate() after saving PHP files in Theme/Plugin editor
Reported by: | nextendweb | Owned by: | kirasong |
---|---|---|---|
Milestone: | 5.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | has-dev-note |
Focuses: | Cc: |
Description (last modified by )
In Theme Editor and Plugin Editor, you can edit PHP file. After you save such file, there should be an opcache_reset()
call on the saved file if its extension matches to .php
or .phtml
.
opcache_reset related ticket for theme/plugin/core update: #36455
Change History (6)
#3
in reply to:
↑ 2
@
4 years ago
- Summary changed from Call opcache_reset() after saving PHP files in Theme/Plugin editor to Call opcache_invalidate() after saving PHP files in Theme/Plugin editor
Replying to mikeschroder:
Hi @nextendweb!
I believe core runs
opcache_invalidate()
on files that are written with the plugin or theme editors.
The current patch for #36455 replaces those two calls with the new function we're working on there.
Do you think more needs to be done than that?
Yes, your patch fixes these too.
#4
@
4 years ago
- Owner set to mikeschroder
- Resolution set to fixed
- Status changed from new to closed
In 48160:
Note: See
TracTickets for help on using
tickets.
Hi @nextendweb!
I believe core runs
opcache_invalidate()
on files that are written with the plugin or theme editors.The current patch for #36455 replaces those two calls with the new function we're working on there.
Do you think more needs to be done than that?