Make WordPress Core


Ignore:
Timestamp:
11/21/2014 03:49:43 AM (11 years ago)
Author:
DrewAPicture
Message:

Minor syntactical adjustments to the inline documentation for the revision_text_diff_options hook.

Converts backticked-inline-code to inline @see tags (for the full benefit of Code Reference automagical behavior).

See [30396]. See #24908.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/revision.php

    r30396 r30497  
    7777            'show_split_view' => false
    7878        );
     79
    7980        /**
    8081         * Filter revisions text diff options.
    8182         *
    82          * Filter the options passed to `wp_text_diff()` when viewing a post revision.
     83         * Filter the options passed to {@see wp_text_diff()} when viewing a post revision.
    8384         *
    8485         * @since 4.1.0
    8586         *
    8687         * @param array   $args {
    87          *     Associative array of options to pass to `wp_text_diff()`.
     88         *     Associative array of options to pass to {@see wp_text_diff()}.
    8889         *
    8990         *     @type bool $show_split_view False for split view (two columns), true for
     
    9596         */
    9697        $args = apply_filters( 'revision_text_diff_options', $args, $field, $compare_from, $compare_to );
     98
    9799        $diff = wp_text_diff( $content_from, $content_to, $args );
    98100
Note: See TracChangeset for help on using the changeset viewer.