Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Commit

Permalink
Add proxy main file, and adapt requirements check. #164
Browse files Browse the repository at this point in the history
  • Loading branch information
tfrommen committed Sep 4, 2015
1 parent 70761c6 commit 62181d2
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
18 changes: 18 additions & 0 deletions index.php
@@ -1 +1,19 @@
<?php # -*- coding: utf-8 -*-
/**
* Plugin Name: MultilingualPress
* Plugin URI: https://wordpress.org/plugins/multilingual-press/
* Description: Create a fast translation network on WordPress multisite. Run each language in a separate site, and connect the content in a lightweight user interface. Use a customizable widget to link to all sites.
* Author: Inpsyde GmbH
* Author URI: http://inpsyde.com
* Version: 2.2.2
* Text Domain: multilingualpress
* Domain Path: /src/languages
* License: GPLv3
* Network: true
*/

defined( 'ABSPATH' ) or die();

define( 'MLP_PLUGIN_FILE', __FILE__ );

require dirname( __FILE__ ) . '/src/multilingual-press.php';
3 changes: 3 additions & 0 deletions src/inc/installation/Mlp_Requirements_Check.php
Expand Up @@ -49,6 +49,9 @@ public function __construct(

$this->current_wp_version = $current_wp_version;

if ( defined( 'MLP_PLUGIN_FILE' ) ) {
$current_plugin_file = MLP_PLUGIN_FILE;
}
$current_plugin_file = realpath( $current_plugin_file );
$this->current_plugin_file = $this->normalize_path( $current_plugin_file );
}
Expand Down
2 changes: 1 addition & 1 deletion src/multilingual-press.php
@@ -1,4 +1,4 @@
<?php
<?php # -*- coding: utf-8 -*-
/**
* Plugin Name: MultilingualPress
* Plugin URI: https://wordpress.org/plugins/multilingual-press/
Expand Down

0 comments on commit 62181d2

Please sign in to comment.