Open zzap opened 1 year ago
Heads up @WordPress/docs-issues-coordinators, we have a new issue open. Time to use 'em labels.
Hi @costdev, thank you so much for writing the Dev note. I'd say we only miss a few things right now:
wp_opcache_invalidate_directory()
functionThe last one will be added once the Dev note is published. Would you mind adding the first two links to the note? Thanks
Hi @zzap! I have updated the draft to include the two ticket numbers 🙂
Thank you so much @costdev ❤
Second review completed. Thanks @zzap and @costdev .
It just needs an excerpt needed, if it does not have this already which improves the summary which appears when it is added to the Field Guide, and what people see in search.
If it needs props added at the end, I understand we are italicising these and right justifying them.
This function will be a useful improvement for users.
@abhansnuk Does this work as an excerpt? (52 words)
Move a directory quickly and easily, with a choice of whether to overwrite an existing directory. Fall back to
copy_dir()
should moving fail, and receive informative error messages should something go wrong along the way. Save on time, memory and diskspace usage. Includes recursive OPcache invalidation for PHP files inside the directory.
Hello @costdev , I have tested it in Google preview and on mobile. It helps to include a reference to WordPress 6.2 in the excerpt, where there is space as the title does not give that information.
So perhaps incorporating this, or an even shorter variation: 'Move a directory quick and easily in WordPress 6.2. Fall back to copy_dir() if moving fails, and get useful informative error messages if anything goes wrong. Save on time, memory and disk space usage.'
@abhansnuk The shorter version sounds good to me!
Excerpt and props copied over. Ready to publish.
https://core.trac.wordpress.org/ticket/57375
Dev Note in progress: https://make.wordpress.org/core/?p=102401&preview=1&_ppp=a366238db0
Related: https://core.trac.wordpress.org/ticket/57557