Making WordPress.org

Ticket #1206: 1206.diff

File 1206.diff, 1.9 KB (added by abiralneupane, 9 years ago)

I have added Microsoft Edge block in the group.

  • browsehappy.com/public_html/functions.php

    diff --git browsehappy.com/public_html/functions.php browsehappy.com/public_html/functions.php
    index 9411dfa..905d9e4 100644
    function browsehappy_get_browser_data( $browser = false ) { 
    5151                        'url' => 'http://windows.microsoft.com/ie',
    5252                        'info' => __( '“Designed to help you take control of your privacy and browse with confidence. Free from Microsoft.”', 'browsehappy' ),
    5353                ),
     54                'ie-edge' => (object) array(
     55                        'name' => 'Microsoft Edge',
     56                        'long_name' => 'Microsoft Edge',
     57                        'wikipedia' => 'Microsoft_Edge',
     58                        'normalized' => 1, // just first number
     59                        'facebook' => 'MicrosoftEdge',
     60                        'url' => 'https://www.microsoft.com/en-us/windows/microsoft-edge',
     61                        'info' => __( '“Microsoft Edge ranks first when put to real world page load tests. Whether you use the web to search, watch or play, this browser won\'t slow you down..”', 'browsehappy' ),
     62                ),
     63
     64
    5465        );
    5566        if ( false === $browser )
    5667                return $data;
  • browsehappy.com/public_html/style.css

    diff --git browsehappy.com/public_html/imgs/browsehappy-sprite.png browsehappy.com/public_html/imgs/browsehappy-sprite.png
    index 14cab44..61b20e9 100644
    Binary files browsehappy.com/public_html/imgs/browsehappy-sprite.png and browsehappy.com/public_html/imgs/browsehappy-sprite.png differ
    diff --git browsehappy.com/public_html/style.css browsehappy.com/public_html/style.css
    index 5bdaeff..5d587e8 100644
    header h2 em { 
    268268#browserlist li {
    269269        width: 192px;
    270270        float: left;
    271         margin: 0;
     271        margin: 12px 0 0;
    272272}
    273273
    274274#browserlist li .icon {
    header h2 em { 
    298298        background-position: -500px 0;
    299299}
    300300
     301#browserlist li#ie-edge .icon {
     302        background-position: -628px 0;
     303}
     304
    301305#browserlist h2 {
    302306        font: 140%/1 Impact, Helvetica, sans-serif;
    303307        text-align: center;