[wp-trac] [WordPress Trac] #62946: wp_opcache_invalidate() promises more than it can do

WordPress Trac noreply at wordpress.org
Sun Jul 13 16:00:17 UTC 2025


#62946: wp_opcache_invalidate() promises more than it can do
-----------------------------------+------------------------------
 Reporter:  kkmuffme               |       Owner:  (none)
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Upgrade/Install        |     Version:
 Severity:  minor                  |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+------------------------------
Changes (by oglekler):

 * keywords:  has-patch => has-patch 2nd-opinion


Comment:

 From the function description, it isn't clear what the expected behaviour
 should look like. Of course because opcache and opcache for CLI are
 different features, we can expect that they need to be handled separately,
 but from the whole system integrity perspective CLI should have the same
 file version as FPM. So, it looks like there are different ways: Clarify
 the expectations and make some recommendations/additional things for CLI,
 handle them equally or make a constant that will allow to a developer to
 adjust these behaviours.

 Ideally, the path forward should be clarified before making any PRs, but
 because we have them already, @swissspidy can you please look at PR(s) and
 provide feedback?

 Thank you! 🙏

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62946#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list