Making WordPress.org

Changeset 13029


Ignore:
Timestamp:
12/07/2023 09:19:53 PM (3 months ago)
Author:
coffee2code
Message:

Browse Happy: Replace Opera with Vivaldi.

Vivaldi is showing promise as a privacy conscious, human-first alternative to current browser options. It aims to be the spiritual successor to Opera, and revive many of the features that were lost when Opera migrated to Chromium. Removing Opera helps to avoid overwhelming the visitor with too many choices.

Props iandunn.
See https://github.com/WordPress/browsehappy/pull/34.
Sync with git WordPress/browsehappy@231411d.

Location:
sites/trunk/browsehappy.com/public_html
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/browsehappy.com/public_html/functions.php

    r12502 r13029  
    5353            ),
    5454        ),
    55         'opera' => (object) array(
    56             'name' => 'Opera',
    57             'long_name' => 'Opera',
    58             'wikipedia' => 'Opera',
    59             'wikidata' => 'Q41242',
    60             'normalized' => 1, // just first number
    61             'facebook' => 'Opera',
    62             'url' => 'https://www.opera.com/',
    63             'info' => ( $latest_strings ?
    64                 __( '“Opera is a secure, innovative browser used by millions around the world with a built-in ad blocker, free VPN, and much more - all for your best browsing experience.”', 'browsehappy' )
    65                 : __( '“The fastest browser on Earth—secure, powerful and easy to use, with excellent privacy protection. And it is free.”', 'browsehappy' )
    66             ),
     55        'vivaldi' => (object) array(
     56            'name' => 'Vivaldi',
     57            'long_name' => 'Vivaldi',
     58            'wikipedia' => 'Vivaldi_(web_browser)',
     59            'wikidata' => 'Q18913176',
     60            'normalized' => 1.5, // include second number if non-zero
     61            'facebook' => 'vivaldi.browser',
     62            'url' => 'https://vivaldi.com/',
     63            'info' => __( '“Powerful. Personal. Private. It’s a web browser. But fun, with clever features.', 'browsehappy' ),
    6764        ),
    6865        'edge' => (object) array(
     
    179176    $version = $data->results->bindings[0]->version->value;
    180177
     178    // Remove minor version inside parentheses, like Vivaldi's "6.4 (3160.34)"
     179    $version = preg_replace( '#\(\d+\.\d+\)#', '', $version );
    181180    $version = preg_replace( '/[^0-9\.]/', '', $version );
    182181
  • sites/trunk/browsehappy.com/public_html/style.css

    r12500 r13029  
    312312}
    313313
    314 #browserlist li#opera .icon {
     314#browserlist li#vivaldi .icon {
    315315    background-position: -250px 0;
    316316}
Note: See TracChangeset for help on using the changeset viewer.