Plugin Directory

Changeset 1198868


Ignore:
Timestamp:
07/14/2015 04:09:53 PM (11 years ago)
Author:
deshack
Message:

Add disabled attribute to first format option

Location:
linux-day
Files:
13 added
2 edited

Legend:

Unmodified
Added
Removed
  • linux-day/trunk/linux-day.php

    r1198654 r1198868  
    55 * Description: This plugin adds a widget for Linux Day banners.
    66 * Author: Mattia Migliorini
    7  * Version: 1.2.0
     7 * Version: 1.2.1
    88 * Author URI: http://www.deshack.net
    99 * License: GPLv2 or later
     
    7878            <label for="<?php echo $this->get_field_id('format'); ?>"><?php _e( 'Banner format:', 'ld' ); ?></label>
    7979            <select class="widefat" id="<?php echo $this->get_field_id('format'); ?>" name="<?php echo $this->get_field_name('format'); ?>">
    80                 <option <?php selected( $format, '' ); ?>><?php _e( 'Select format', 'ld' ); ?></option>
     80                <option <?php selected( $format, '' ); ?> disabled><?php _e( 'Select format', 'ld' ); ?></option>
    8181                <?php foreach( $sizes as $size ) : ?>
    8282                    <option <?php selected( $size, $format ); ?> value="<?php echo esc_attr($size); ?>"><?php echo $size; ?></option>
  • linux-day/trunk/readme.txt

    r1198654 r1198868  
    55Requires at least: 2.8
    66Tested up to: 4.3
    7 Stable tag: 1.2.0
     7Stable tag: 1.2.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.txt
     
    2929== Changelog ==
    3030
     31= 1.2.1 =
     32* Add disabled attribute to "Select format" option, so that you cannot select an unuseful option.
     33
    3134= 1.2.0 =
    3235* Add new banners for Linux Day 2015.
Note: See TracChangeset for help on using the changeset viewer.