HEX
Server: Apache
System: Linux webd001.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: mciraet (192513)
PHP: 8.2.31
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/mciraet/www/wp-content/plugins/polylang-pro/src/modules/duplicate/load.php
<?php
/**
 * @package Polylang-Pro
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Don't access directly.
}

if ( $polylang->model->has_languages() ) {
	if ( $polylang instanceof PLL_Admin ) {
		new PLL_Admin_Loader( $polylang, 'duplicate' );
		$polylang->duplicate_action = new PLL_Duplicate_Action( $polylang );
	} elseif ( $polylang instanceof PLL_REST_Request ) {
		$polylang->duplicate = new PLL_Duplicate_REST( $polylang );
	}
}