WordPress.org

Plugin Directory

Changeset 648424


Ignore:
Timestamp:
01/05/13 18:49:53 (16 months ago)
Author:
automattic
Message:

Monster Widget: Version 0.3

  • Added test photograph by directly to the plugin. Thanks to Rarst for the bug report.
  • Add a really long select element to the text widget.
  • Add a smiley to the image caption.
  • Remove the "pipe test".
  • Bump version number.
  • Update Changelog.
Location:
monster-widget/trunk
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • monster-widget/trunk/monster-widget.php

    r614263 r648424  
    33Plugin Name:       Monster Widget 
    44Description:       A widget that allows for quick and easy testing of multiple widgets. Not intended for production use. 
    5 Version:           0.2 
     5Version:           0.3 
    66Author:            Automattic 
    77Author URI:        http://automattic.com/ 
     
    262262 
    263263        $html[] = '<strong>' . __( 'Large image: Hand Coded', 'monster-widget' ) . '</strong>'; 
    264         $html[] = '<img src="http://wpthemetestdata.files.wordpress.com/2008/09/test-image-landscape-900.jpg">'; 
     264        $html[] = '<img src="' . esc_url( plugin_dir_url( __FILE__ ) . 'images/bikes.jpg' ) . '">'; 
    265265 
    266266        $html[] = '<strong>' . __( 'Large image: linked in a caption', 'monster-widget' ) . '</strong>'; 
    267         $html[] = '<div class="wp-caption alignnone"><a href="#"><img src="http://wpthemetestdata.files.wordpress.com/2008/09/test-image-landscape-900.jpg" class="size-large" height="598" width="900"></a><p class="wp-caption-text">' . __( 'This image is 900 by 598 pixels.', 'monster-widget' ) . '</p></div>'; 
     267        $html[] = '<div class="wp-caption alignnone"><a href="#"><img src="' . esc_url( plugin_dir_url( __FILE__ ) . 'images/bikes.jpg' ) . '" class="size-large" height="720" width="960"></a><p class="wp-caption-text">' . __( 'This image is 960 by 720 pixels.', 'monster-widget' ) . ' ' . convert_smilies( ':)' ) . '</p></div>'; 
    268268 
    269269        $html[] = '<strong>' . __( 'Meat!', 'monster-widget' ) . '</strong>'; 
    270270        $html[] = __( 'Hamburger fatback andouille, ball tip bacon t-bone turkey tenderloin. Ball tip shank pig, t-bone turducken prosciutto ground round rump bacon pork chop short loin turkey. Pancetta ball tip salami, hamburger t-bone capicola turkey ham hock pork belly tri-tip. Biltong bresaola tail, shoulder sausage turkey cow pork chop fatback. Turkey pork pig bacon short loin meatloaf, chicken ham hock flank andouille tenderloin shank rump filet mignon. Shoulder frankfurter shankle pancetta. Jowl andouille short ribs swine venison, pork loin pork chop meatball jerky filet mignon shoulder tenderloin chicken pork.', 'monster-widget' ); 
    271271 
    272         $html[] = '<strong>' . __( 'Pipe Test', 'monster-widget' ) . '</strong>'; 
    273         $html[] = '||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||'; 
    274  
    275272        $html[] = '<strong>' . __( 'Smile!', 'monster-widget' ) . '</strong>'; 
    276273        $html[] = convert_smilies( ';)' ) . ' ' . convert_smilies( ':)' ) . ' ' . convert_smilies( ':-D' ); 
     274 
     275        $html[] = '<strong>' . __( 'Select Element with long value', 'monster-widget' ) . '</strong>'; 
     276 
     277        $html[] = '<form method="get" action="">'; 
     278        $html[] = '<select name="monster-widget-just-testing">'; 
     279        $html[] = '<option value="0">' . __( 'First', 'monster-widget' ) . '</opiton>'; 
     280        $html[] = '<option value="1">' . __( 'Second', 'monster-widget' ) . '</opiton>'; 
     281        $html[] = '<option value="2">' . __( 'Third', 'monster-widget' ) . ' OMG! How can one option contain soooo many words? This really is a lot of words.</opiton>'; 
     282        $html[] = '</select>'; 
     283        $html[] = '</form>'; 
    277284 
    278285        $html = implode( "\n", $html ); 
  • monster-widget/trunk/readme.txt

    r614263 r648424  
    55License: GPLv2 or later 
    66Requires at least: 3.2.0 
    7 Tested up to: 3.5-beta2-22252 
     7Tested up to: 3.5 
    88Stable tag: trunk 
    99 
     
    2727 
    2828==Changelog== 
     29 
     30= v0.3 - January 5th, 2013 = 
     31* Added test photograph by directly to the plugin. Thanks to [Rarst](http://profiles.wordpress.org/rarst) for the bug report. 
     32* Add a really long select element to the text widget. See [_s issue #99](https://github.com/Automattic/_s/pull/99). 
     33* Add a smiley to the image caption. 
     34* Remove the "pipe test". 
     35* Bump version number. 
     36* Update Changelog. 
    2937 
    3038= v0.2 - October 18th, 2012 = 
     
    54624. Locate "Monster Widget" in the list and click the "Activate" link. 
    55635. Navigate to Appearance &rarr; Widgets and [create a new instance](http://codex.wordpress.org/WordPress_Widgets#Activate_Widgets). 
     64 
     65==Frequently Asked Questions== 
     66 
     67= Why was the pipe test removed in version 0.3 = 
     68 
     69A couple members of the Theme Team at Automattic had a discussion about the relevance of this test and we came to the conclusion that it is rather unnatural. Moving forward it would be best to only include markup and data that best represent actual use cases. 
Note: See TracChangeset for help on using the changeset viewer.