| @@ -134,13 +134,14 @@ | ||
| 134 | 134 | // Also skip our copy entirely when Live Copy Paste is providing the same feature, |
| 135 | 135 | // since both provide the same duplicate-post admin action. |
| 136 | 136 | if ( $duplicator == 'on' |
| 137 | 137 | && ! class_exists( '\\UltimatePostKit\\Includes\\BdThemes_Duplicator' ) |
| 138 | - && ! class_exists( '\\ElementPack\\Includes\\BdThemes_Duplicator' ) ) { | |
| 138 | + && ! class_exists( '\\ElementPack\\Includes\\BdThemes_Duplicator' ) | |
| 139 | + && ! class_exists( '\\BdThemes_Duplicator' ) ) { | |
| 139 | 140 | require BDTUPK_PATH . 'includes/class-duplicator.php'; |
| 140 | 141 | } |
| 141 | 142 | |
| 142 | - if ( ! class_exists( 'BdThemes_Live_Copy' ) ) { | |
| 143 | + if ( ! class_exists( '\\UltimatePostKit\\Includes\\LiveCopy\\BdThemes_Live_Copy' ) ) { | |
| 143 | 144 | if ( ( $live_copy == 'on' ) && ( ! is_plugin_active( 'live-copy-paste/live-copy-paste.php' ) ) ) { |
| 144 | 145 | require_once BDTUPK_PATH . 'includes/live-copy/class-live-copy.php'; |
| 145 | 146 | } |
| 146 | 147 | } |