PluginProbe
Nooz / 1.5.0
Nooz v1.5.0
1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.5.0 1.5.1 1.6.0 1.7.0 1.7.2 trunk 0.1.0 0.10.0 0.11.0 0.12.0 0.12.1 0.13.0 0.14.0 0.14.1 0.2.0 0.3.0 0.4.0 0.4.1 0.4.2 0.5.0 All 46 releases
nooz / nooz.php

nooz.php in Nooz 1.5.0, at nooz.php

28 lines 951 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /*
4 Plugin Name: Nooz
5 Plugin URI: http://www.mightydev.com/nooz/
6 Description: Simplified press release and media coverage management for business websites.
7 Version: 1.5.0
8 Author: Mighty Digital
9 Author URI: http://www.mightydev.com
10 Text Domain: mdnooz
11 */
12
13 // exit if accessed directly.
14 defined( 'ABSPATH' ) || exit;
15
16 if ( version_compare( PHP_VERSION, '5.6', '<' ) ) {
17 add_action( 'admin_notices', 'mdnooz_php_version_notice' );
18 function mdnooz_php_version_notice() {
19 /* translators: 1: Required PHP version 2: Current PHP version */
20 echo '<div class="update-nag">' . sprintf( __( 'The Nooz plugin requires PHP version %1$s, the current PHP version is %2$s', 'mdnooz' ), '5.6+', PHP_VERSION ) . '</div>';
21 }
22 } else {
23 // @since 1.0.0
24 define( 'MDNOOZ_PLUGIN_FILE', __FILE__ );
25 define( 'MDNOOZ_PLUGIN_VERSION', '1.5.0' );
26 require_once( plugin_dir_path( MDNOOZ_PLUGIN_FILE ) . 'index.php' ); // bootstrap
27 }
28