mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 18:54:29 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@30497 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -194,6 +194,7 @@ class WP_Text_Diff_Renderer_Table extends Text_Diff_Renderer {
|
||||
foreach ($lines as $line) {
|
||||
if ( $encode ) {
|
||||
$processed_line = htmlspecialchars( $line );
|
||||
|
||||
/** This filter is documented in wp-includes/wp-diff.php */
|
||||
$line = apply_filters( 'process_text_diff_html', $processed_line, $line, 'deleted' );
|
||||
}
|
||||
@@ -220,6 +221,7 @@ class WP_Text_Diff_Renderer_Table extends Text_Diff_Renderer {
|
||||
foreach ($lines as $line) {
|
||||
if ( $encode ) {
|
||||
$processed_line = htmlspecialchars( $line );
|
||||
|
||||
/** This filter is documented in wp-includes/wp-diff.php */
|
||||
$line = apply_filters( 'process_text_diff_html', $processed_line, $line, 'unchanged' );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user