Make WordPress Core

Opened 7 years ago

Closed 6 years ago

#45061 closed defect (bug) (fixed)

Document how args are passed from `wp_insert_site()` to `wp_initialize_site()`

Reported by: jeremyfelt's profile jeremyfelt Owned by: jeremyfelt's profile jeremyfelt
Milestone: 5.2 Priority: normal
Severity: normal Version:
Component: Networks and Sites Keywords: good-first-bug has-patch dev-feedback
Focuses: docs, multisite Cc:

Description

The docs for wp_insert_site() include only the arguments that are used directly in that function. They should also mention how any other arguments passed along to the wp_initialize_site hook. By default, this can include user_id, title, options, and `meta.

Attachments (1)

45061.0.diff (739 bytes) - added by codemascot 7 years ago.
wp_insert_site() Documentation Update

Download all attachments as: .zip

Change History (9)

@codemascot
7 years ago

wp_insert_site() Documentation Update

#1 @sebastienserre
7 years ago

  • Keywords has-patch dev-feedback added; needs-patch removed

#2 @pento
6 years ago

  • Milestone changed from 5.1 to 5.2
  • Version trunk deleted

This ticket was mentioned in Slack in #core by sergey. View the logs.


6 years ago

#4 @jeremyfelt
6 years ago

  • Owner set to jeremyfelt
  • Status changed from new to reviewing

This ticket was mentioned in Slack in #core-multisite by spacedmonkey. View the logs.


6 years ago

This ticket was mentioned in Slack in #core by jeffpaul. View the logs.


6 years ago

#7 @JeffPaul
6 years ago

Per input in today's bugsrub, @jeremyfelt will look to wrap up work here this weekend.

#8 @jeremyfelt
6 years ago

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

In 45236:

Docs: Add arguments passed by wp_insert_site() to wp_initialize_site().

Props codemascot.
Fixes #45061.

Note: See TracTickets for help on using tickets.