Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#46729 closed defect (bug) (fixed)

Site Health: use `wp_get_upload_dir` instead of `wp_upload_dir`

Reported by: m_uysl Owned by: SergeyBiryukov
Priority: normal Milestone: 5.2
Component: Site Health Version: 5.2
Severity: normal Keywords: has-patch site-health
Cc: Focuses:

Description

I think using the lightweight edition of the wp_upload_dir can be more accurate in WP_Debug_Data::debug_data()

Attachments (1)

46729.patch (971 bytes ) - added by m_uysl 7 years ago.
this patch also removes an unnecessary call to wp_upload_dir

Download all attachments as: .zip

Change History (6)

@m_uysl
7 years ago

this patch also removes an unnecessary call to wp_upload_dir

#1 @m_uysl
7 years ago

  • Keywords has-patch added

#2 @xkon
7 years ago

  • Keywords site-health added

#3 @SergeyBiryukov
7 years ago

  • Milestone Awaiting Review5.2

#4 @SergeyBiryukov
7 years ago

  • Owner set to SergeyBiryukov
  • Resolutionfixed
  • Status newclosed

In 45108:

Site Health: Use wp_get_upload_dir() instead of wp_upload_dir(), remove duplicate call.

Props m_uysl.
Fixes #46729.

#5 @spacedmonkey
7 years ago

  • Component AdministrationSite Health
Note: See TracTickets for help on using tickets.