Skip to content

Commit

Permalink
Credit where credit’s due.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterwilsoncc committed Mar 2, 2024
1 parent 8b8e709 commit 6dc83dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inc/namespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ function bootstrap() {
* Without a primed cache, `wp_get_upload_dir()` would trigger the a call
* to `wp_get_font_dir()` which would trigger a call to `wp_get_upload_dir()`.
*
* @see https://github.com/pantheon-systems/pantheon-mu-plugin/blob/main/inc/fonts.php for inspiration.
*
* @return array Result of wp_get_upload_dir().
*/
function cached_wp_get_upload_dir() {
Expand Down

0 comments on commit 6dc83dc

Please sign in to comment.