Changeset 2681741
- Timestamp:
- 02/19/2022 11:12:09 AM (4 years ago)
- Location:
- revision-manager-tmc/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (1 diff)
-
revision-manager-tmc.php (modified) (2 diffs)
-
src/Components/Revisions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
revision-manager-tmc/trunk/readme.txt
r2681740 r2681741 6 6 Tested up to: 5.9.0 7 7 Requires PHP: 5.6 8 Stable tag: 2.8.1 18 Stable tag: 2.8.12 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
revision-manager-tmc/trunk/revision-manager-tmc.php
r2681740 r2681741 4 4 Description: Clone your post, page or custom post type to a draft. Draft up revisions of live, published content. 5 5 Tags: revisions, revisionize, admin, wiki, accept, revision, revisionary, revision control, revision, manager, notify, draft manager, authors reviser, admin, post, revisions, permissions, post permit, submit changes 6 Version: 2.8.1 16 Version: 2.8.12 7 7 Author: JetPlugs.com 8 8 Author URI: https://jetplugs.com … … 34 34 // ---------------------------------------- 35 35 36 App::initShellPress( __FILE__, 'rm_tmc', '2.8.1 1', 'plugin' );36 App::initShellPress( __FILE__, 'rm_tmc', '2.8.12', 'plugin' ); 37 37 38 38 // ---------------------------------------- -
revision-manager-tmc/trunk/src/Components/Revisions.php
r2681579 r2681741 969 969 if( $linkedPostTitle !== $originalPostTitle ){ 970 970 971 echo sprintf( '<div class="rm_tmc_diff">%1$s</div>', wp_text_diff( $linkedPostTitle, $originalPostTitle) );971 echo wp_kses_post( sprintf( '<div class="rm_tmc_diff">%1$s</div>', wp_text_diff( $linkedPostTitle, $originalPostTitle ) ) ); 972 972 973 973 } … … 999 999 if( $linkedPostContent !== $originalPostContent ){ 1000 1000 1001 echo sprintf( '<div class="rm_tmc_diff">%1$s</div>', wp_text_diff( $linkedPostContent, $originalPostContent) );1001 echo wp_kses_post( sprintf( '<div class="rm_tmc_diff">%1$s</div>', wp_text_diff( $linkedPostContent, $originalPostContent ) ) ); 1002 1002 1003 1003 } … … 1062 1062 } 1063 1063 1064 echo $diffEl;1064 echo wp_kses_post( $diffEl ); 1065 1065 1066 1066 },
Note: See TracChangeset
for help on using the changeset viewer.