Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#51380 closed defect (bug) (fixed)

@global $wpdb is not used but defined in documentation

Reported by: anonymized_18274256's profile anonymized_18274256 Owned by: sergeybiryukov's profile 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 anonymized_18274256 4 years ago.
Attached patch for this issue
51380.2.patch (553 bytes) - added by mukesh27 4 years ago.
improve the patch. Remove an extra single star*

Download all attachments as: .zip

Change History (5)

@anonymized_18274256
4 years ago

Attached patch for this issue

#1 @anonymized_18274256
4 years ago

  • Keywords has-patch added

@mukesh27
4 years ago

improve the patch. Remove an extra single star*

#2 @SergeyBiryukov
4 years 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
4 years 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.