Make WordPress Core

Opened 2 months ago

Last modified 3 days ago

#47224 assigned defect (bug)

Document the `show_split_view` argument for `wp_text_diff()`

Reported by: jeremyfelt Owned by: adamsilverstein
Milestone: 5.3 Priority: normal
Severity: normal Version: 2.6
Component: Revisions Keywords: good-first-bug has-patch
Focuses: docs Cc:


wp_text_diff() accepts an optional $args array of title, title_left, title_right, and show_split_view. Of these, show_split_view is not documented.

It's possible that other arguments can be passed on to create WP_Text_Diff_Renderer_Table, but this at least covers those that are used in wp_text_diff() itself.

Attachments (1)

47224.diff (1.3 KB) - added by riddhiehta02 6 days ago.
Added description for "show_split_view" in the file

Download all attachments as: .zip

Change History (5)

#1 @jeremyfelt
2 months ago

  • Focuses docs added

#2 @adamsilverstein
2 months ago

  • Owner set to adamsilverstein
  • Status changed from new to assigned

6 days ago

Added description for "show_split_view" in the file

#3 @riddhiehta02
6 days ago

  • Keywords has-patch added; needs-patch removed

#4 @SergeyBiryukov
3 days ago

  • Milestone changed from Awaiting Review to 5.3
Note: See TracTickets for help on using tickets.