Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#47224 closed defect (bug) (fixed)

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

Reported by: jeremyfelt's profile jeremyfelt Owned by: adamsilverstein's profile 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 5 years ago.
Added description for "show_split_view" in the file

Download all attachments as: .zip

Change History (6)

#1 @jeremyfelt
5 years ago

  • Focuses docs added

#2 @adamsilverstein
5 years ago

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

5 years ago

Added description for "show_split_view" in the file

#3 @riddhiehta02
5 years ago

  • Keywords has-patch added; needs-patch removed

#4 @SergeyBiryukov
5 years ago

  • Milestone changed from Awaiting Review to 5.3

#5 @SergeyBiryukov
5 years ago

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

In 45778:

Docs: Document the show_split_view argument for wp_text_diff().

Convert $args array documentation to hash notation.

Props riddhiehta02, jeremyfelt, SergeyBiryukov.
Fixes #47224.

Note: See TracTickets for help on using tickets.