Plugin Directory

Changeset 1559420


Ignore:
Timestamp:
12/22/2016 01:09:29 AM (9 years ago)
Author:
miqrogroove
Message:

Beta version that should not conflict with my other new plugin.

Location:
fix-admin-contrast/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • fix-admin-contrast/trunk/admin-contrast.php

    r1129763 r1559420  
    1111 *
    1212 * @author: Robert Chapin
    13  * @version: 1.6
    14  * @copyright Copyright © 2010-2015 by Robert Chapin
     13 * @version: 1.6.1 beta
     14 * @copyright Copyright © 2010-2016 by Robert Chapin
    1515 * @license GPL
    1616 *
     
    4848    $newest = 42;
    4949
     50    $color_scheme = get_user_option( 'admin_color' );
     51    if (substr($color_scheme, 0, 5) == 'high_') return; // This user has a high contrast scheme selected.  Do nothing for this user.
     52   
    5053    $wpversion = get_bloginfo('version');
    5154    if (strlen($wpversion) < 3) return;
     
    7275    $newest = 31;
    7376
     77    if (function_exists('miqro_high_contrast_login')) return; // High Contrast Admin is active.  Do nothing.
     78
    7479    $wpversion = get_bloginfo('version');
    7580    if (strlen($wpversion) < 3) return;
     
    8287
    8388/**
    84  * Tested and working on 4.2-beta3.
     89 * Tested and working on 4.2 through 4.7.
    8590 * Corrects the styles found in:
    8691 *  wp-admin/css/common.css
     
    370375
    371376/**
    372  * Tested and working on 3.1 through 4.1-RC1.
     377 * Tested and working on 3.1 through 4.7.
    373378 * Corrects login.css or wp-admin.css.
    374379 */
  • fix-admin-contrast/trunk/readme.txt

    r1557850 r1559420  
    1717Without this plugin, the administrative table colors can look the same as the background color.
    1818
     19If you need even more contrast, then also consider my plugin called [High Contrast Admin](https://wordpress.org/plugins/high-contrast-admin/)
     20
    1921== Installation ==
    2022
    21 1. Upload the `admin-contrast` directory to your `/wp-content/plugins/` directory
     231. Upload the `fix-admin-contrast` directory to your `/wp-content/plugins/` directory
    22241. Activate the plugin through the 'Plugins' menu in WordPress
    2325
     
    3436
    3537== Changelog ==
     38
     39= 1.6.1 =
     40* Compatibility update...
     41* Minimized conflicts with my new plugin, High Contrast Admin.
    3642
    3743= 1.6 =
Note: See TracChangeset for help on using the changeset viewer.