Plugin Directory

Changeset 1223261


Ignore:
Timestamp:
08/18/2015 04:07:29 AM (11 years ago)
Author:
pglewis
Message:

1.0.1

Location:
wp-liveracers/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-liveracers/trunk/includes/wp-liveracers-widget.php

    r935503 r1223261  
    9494            <label for="<?= $this->get_field_id( 'theme' ); ?>"><?php esc_html_e( 'Theme', 'wp-liveracers' ); ?></label>
    9595            <select class="widefat" id="<?= $this->get_field_id( 'theme' ); ?>" name="<?= $this->get_field_name( 'theme' ); ?>">
    96                 <option value="light" <?= ( $theme == 'light' ) ? 'selected="selected"' : ''; ?>><?php esc_html_x( 'Light', 'theme name', 'wp-liveracers' ); ?></option>
    97                 <option value="dark" <?= ( $theme == 'dark' ) ? 'selected="selected"' : ''; ?>><?php esc_html_x( 'Dark', 'theme name', 'wp-liveracers' ); ?></option>
     96                <option value="light" <?= ( $theme == 'light' ) ? 'selected="selected"' : ''; ?>><?php echo esc_html_x( 'Light', 'theme name', 'wp-liveracers' ); ?></option>
     97                <option value="dark" <?= ( $theme == 'dark' ) ? 'selected="selected"' : ''; ?>><?php echo esc_html_x( 'Dark', 'theme name', 'wp-liveracers' ); ?></option>
    9898            </select>
    9999        </p>
     
    101101            <label for="<?= $this->get_field_id( 'orientation' ); ?>"><?php esc_html_e( 'Orientation', 'wp-liveracers' ); ?></label>
    102102            <select class="widefat" id="<?= $this->get_field_id( 'orientation' ); ?>" name="<?= $this->get_field_name( 'orientation' ); ?>">
    103                 <option value="vertical" <?= ( $orientation == 'vertical' ) ? 'selected="selected"' : ''; ?>><?php esc_html_x( 'Vertical', 'orientation', 'wp-liveracers' ); ?></option>
    104                 <option value="horizontal" <?= ( $orientation == 'horizontal' ) ? 'selected="selected"' : ''; ?>><?php esc_html_x( 'Horizontal', 'orientation', 'wp-liveracers' ); ?></option>
     103                <option value="vertical" <?= ( $orientation == 'vertical' ) ? 'selected="selected"' : ''; ?>><?php echo esc_html_x( 'Vertical', 'orientation', 'wp-liveracers' ); ?></option>
     104                <option value="horizontal" <?= ( $orientation == 'horizontal' ) ? 'selected="selected"' : ''; ?>><?php echo esc_html_x( 'Horizontal', 'orientation', 'wp-liveracers' ); ?></option>
    105105            </select>
    106106        </p>
  • wp-liveracers/trunk/readme.txt

    r935503 r1223261  
    33Tags: LiveRacers, simracing
    44Requires at least: 3.4
    5 Tested up to: 3.9.1
    6 Stable tag: 1.0
     5Tested up to: 4.2.4
     6Stable tag: 1.0.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
    99
    10 Support for the LiveRacers "Live Widget" as a WordPress plugin.  Insert the LiveRacers Live Widget on your site via a WordPress widget or shortcode.
     10Insert the LiveRacers Live Widget on your site via a WordPress widget or shortcode.
    1111
    1212== Description ==
     
    2222Example: `[lr_livewidget url="http://efnetsimracing.liveracers.com" theme="dark"]`
    2323
    24 Supported attributes:
    25 * `url`: Required, the full URL to your LiveRacers domain
    26 * `theme`: String, `light` (default) and `dark`
    27 * `orientation`: String, `vertical` (default) and `horizontal`
    28 * `width`: Numeric, width of the widget in pixels (default = 200)
    29 * `canjoin`: String, `true` (default) or `false`; whether or not to show the "Join" link
     24= Shortcode attributes =
     25
     26* `url` -  String, required: the full URL to your LiveRacers domain
     27* `theme` - String: `"light"` (default) or `"dark"`
     28* `orientation` - String: `"vertical"` (default) or `"horizontal"`
     29* `width` - Numeric: width of the widget in pixels (default = 200)
     30* `canjoin` - String: `"true"` (default) or `"false"`; whether or not to show the "Join" link
    3031
    3132== Installation ==
     
    4445== Changelog ==
    4546
     47= 1.0.1 =
     48* Fix missing output for theme and orientation drop-downs in the widget
     49
    4650= 1.0 =
    4751* Initial release
  • wp-liveracers/trunk/wp-liveracers.php

    r935503 r1223261  
    44Plugin URI: https://github.com/pglewis/wp-liveracers
    55Description: Support for the LiveRacers "Live Widget" in WordPress
    6 Version: 1.0
     6Version: 1.0.1
    77Author: Phil Lewis
    88License: GPLv2 or later
     
    1010Domain Path: /languages/
    1111
    12 Copyright 2014 Phil Lewis
     12Copyright 2014-2015 Phil Lewis
    1313
    1414This file is part of WordPress LiveRacers
Note: See TracChangeset for help on using the changeset viewer.