HEX
Server: Apache
System: Linux webm006.cluster128.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: slyfwmm (169339)
PHP: 8.1.34
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/slyfwmm/foar/wp-content/plugins/attachments/index.php
<?php

 /**
  * Plugin Name: Attachments
  * Plugin URI:  https://github.com/jchristopher/attachments
  * Description: Attachments gives the ability to append any number of Media Library items to Pages, Posts, and Custom Post Types
  * Author:      Jonathan Christopher
  * Author URI:  http://mondaybynoon.com/
  * Version:     3.5.9
  * Text Domain: attachments
  * Domain Path: /languages/
  * License:     GPLv2 or later
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
  */

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
  exit;
}

$wp_version = get_bloginfo( 'version' );

if ( ( defined( 'ATTACHMENTS_LEGACY' ) && ATTACHMENTS_LEGACY === true ) || version_compare( $wp_version, '3.5', '<' ) ) {
  // load deprecated version of Attachments
  require_once dirname( __FILE__ ) . '/deprecated/attachments.php';
} else {
  define( 'ATTACHMENTS_DIR', plugin_dir_path( __FILE__ ) );
  define( 'ATTACHMENTS_URL', plugin_dir_url( __FILE__ ) );

  // load current version of Attachments
  require_once dirname( __FILE__ ) . '/classes/class.attachments.php';
}