[wp-trac] [WordPress Trac] #54140: Display is broken when wp_text_diff() is used in the admin screen
WordPress Trac
noreply at wordpress.org
Fri Sep 17 01:10:54 UTC 2021
#54140: Display is broken when wp_text_diff() is used in the admin screen
--------------------------+-----------------------------
Reporter: mt8.biz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
If I use the following code, the output will be different between 5.6.5
and later versions.
{{{#!php
<?php
add_action( 'wp_dashboard_setup', function () {
wp_add_dashboard_widget(
'wp_text_diff_test',
'Test of wp_text_diff()',
function() {
print wp_text_diff( 'a' , 'b' );
}
);
});
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54140>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list