WordPress.org

Plugin Directory

Changeset 822883


Ignore:
Timestamp:
12/16/13 04:24:57 (4 months ago)
Author:
wet
Message:

wet_maintenance 2.2

Location:
wet-maintenance/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wet-maintenance/trunk/readme.txt

    r767248 r822883  
    33Tags: admin, maintenance, under construction, development, 503, seo, offline 
    44Requires at least: 2.5 
    5 Tested up to: 3.7-alpha 
     5Tested up to: 3.8.1-alpha 
    66Stable tag: trunk 
    77 
     
    2525== Changelog == 
    2626 
     27= 2.2 = 
     28 
     291. Compatibility check with WordPress 3.8.1-alpha. 
     30 
    2731= 2.1 = 
    2832 
  • wet-maintenance/trunk/wet_maintenance.php

    r767248 r822883  
    55Description: Puts the site into maintenance mode by sending a '503 Service Unavailable' status to all unauthenticated clients. 
    66Author: Robert Wetzlmayr 
    7 Version: 2.1 
     7Version: 2.2 
    88Author URI: http://wetzlmayr.com/ 
    99License: GPL 2.0, @see http://www.gnu.org/licenses/gpl-2.0.html 
     
    2222    if ( !is_user_logged_in() ) { 
    2323        $page = <<<EOT 
     24<!DOCTYPE html> 
    2425<html> 
    2526<head> 
    2627<title>Service unavailable.</title> 
     28<style> 
     29body { 
     30    font-family: Verdana, Arial, Helvetica, sans-serif; 
     31    background-color: #F7FCFE; 
     32} 
     33</style> 
    2734</head> 
    2835<body> 
     
    4148    if ( !is_user_logged_in() ) { 
    4249        die('<?xml version="1.0" encoding="UTF-8"?>'. 
    43             '<status>Service unavailable</status>'); 
     50            '<status>Service unavailable.</status>'); 
    4451    } 
    4552} 
Note: See TracChangeset for help on using the changeset viewer.