Make WordPress Core

Opened 8 years ago

Closed 7 years ago

#45061 closed defect (bug) (fixed)

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

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

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 8 years ago.
wp_insert_site() Documentation Update

Download all attachments as: .zip

Change History (9)

@codemascot
8 years ago

wp_insert_site() Documentation Update

#1 @sebastienserre
8 years ago

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

#2 @pento
8 years ago

  • Milestone 5.15.2
  • Version trunk

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


7 years ago

#4 @jeremyfelt
7 years ago

  • Owner set to jeremyfelt
  • Status newreviewing

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


7 years ago

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


7 years ago

#7 @JeffPaul
7 years ago

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

#8 @jeremyfelt
7 years ago

  • Resolutionfixed
  • Status reviewingclosed

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.