Title: Another minor PHP Warning in debug mode on diff screen
Last modified: August 22, 2016

---

# Another minor PHP Warning in debug mode on diff screen

 *  [Jon Brown](https://wordpress.org/support/users/jb510/)
 * (@jb510)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/another-minor-php-warning-in-debug-mode-on-diff-screen/)
 * Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback
   instead in /srv/www/wordpress-default/wp-content/plugins/duplicate-and-merge-
   posts/admin/php_diff/Diff/Renderer/Html/Array.php on line 180
    [https://cloudup.com/cG4TOvaaHpL](https://cloudup.com/cG4TOvaaHpL)
 * Note, this raises the questions as to why your using your own diff library instead
   of WP Core’s revision’s API? I’m not saying there isn’t a reason to do so, just
   wondering what that reason might be?
 * [https://wordpress.org/plugins/duplicate-and-merge-posts/](https://wordpress.org/plugins/duplicate-and-merge-posts/)

The topic ‘Another minor PHP Warning in debug mode on diff screen’ is closed to 
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/duplicate-and-merge-posts_fbf4f2.
   svg)
 * [Duplicate and Merge Posts](https://wordpress.org/plugins/duplicate-and-merge-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicate-and-merge-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicate-and-merge-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicate-and-merge-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicate-and-merge-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicate-and-merge-posts/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Jon Brown](https://wordpress.org/support/users/jb510/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/another-minor-php-warning-in-debug-mode-on-diff-screen/)
 * Status: not resolved