WordPress.org

Make WordPress Core

Opened 7 months ago

Closed 7 months ago

#51380 closed defect (bug) (fixed)

@global $wpdb is not used but defined in documentation

Reported by: ravivaddweb Owned by: SergeyBiryukov
Milestone: 5.6 Priority: normal
Severity: normal Version: 5.5
Component: Networks and Sites Keywords: has-patch
Focuses: docs, multisite Cc:

Description

@global $wpdb is defined in documentation but not used in this get_site_by_path() function.

Attachments (2)

51380.patch (473 bytes) - added by ravivaddweb 7 months ago.
Attached patch for this issue
51380.2.patch (553 bytes) - added by mukesh27 7 months ago.
improve the patch. Remove an extra single star*

Download all attachments as: .zip

Change History (5)

@ravivaddweb
7 months ago

Attached patch for this issue

#1 @ravivaddweb
7 months ago

  • Keywords has-patch added

@mukesh27
7 months ago

improve the patch. Remove an extra single star*

#2 @SergeyBiryukov
7 months ago

  • Component changed from Comments to Networks and Sites
  • Focuses multisite added
  • Milestone changed from Awaiting Review to 5.6
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#3 @SergeyBiryukov
7 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 49038:

Docs: Remove obsolete $wpdb global reference from get_site_by_path().

Follow-up to [37628].

Props ravivaddweb, mukesh27.
Fixes #51380.

Note: See TracTickets for help on using tickets.