Changeset 922315
- Timestamp:
- 05/28/2014 09:29:49 AM (12 years ago)
- Location:
- f2-tumblr-widget
- Files:
-
- 6 edited
- 1 copied
-
tags/0.2.1 (copied) (copied from f2-tumblr-widget/trunk)
-
tags/0.2.1/README.txt (modified) (2 diffs)
-
tags/0.2.1/css/widget.css (modified) (1 diff)
-
tags/0.2.1/f2-tumblr.php (modified) (2 diffs)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/css/widget.css (modified) (1 diff)
-
trunk/f2-tumblr.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
f2-tumblr-widget/tags/0.2.1/README.txt
r918021 r922315 5 5 Requires at least: 3.3 6 6 Tested up to: 3.9 7 Stable tag: 0.2. 07 Stable tag: 0.2.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 45 45 == Changelog == 46 46 47 = 0.2.1 = 48 * Added CSS to ensure that media posts with short text are properly separated. 49 * Improved handling of the provided Tumblr URL to be less picky. 50 47 51 = 0.2.0 = 48 52 * First public release. -
f2-tumblr-widget/tags/0.2.1/css/widget.css
r918021 r922315 6 6 .f2-tumblr-post h3 { 7 7 margin-bottom: 5px; 8 clear: both; 8 9 } 9 10 -
f2-tumblr-widget/tags/0.2.1/f2-tumblr.php
r918021 r922315 246 246 // Clean up user text inputs 247 247 $instance['title'] = strip_tags( $new_instance['title'] ); 248 $instance['tumblr'] = strip_tags( $new_instance['tumblr'] );249 248 $instance['post_tag'] = strip_tags( $new_instance['post_tag'] ); 250 249 … … 258 257 $instance['slide_speed'] = intval( $new_instance['slide_speed'] ); 259 258 } 259 260 // The provided URL needs to be free of things like protocol 261 if ( 'http' == mb_substr( $new_instance['tumblr'], 0, 4 ) ) { 262 $entered_url = $new_instance['tumblr']; 263 } else { 264 $entered_url = 'http://' . $new_instance['tumblr']; 265 } 266 $instance['tumblr'] = parse_url( $entered_url, PHP_URL_HOST ); 260 267 261 268 // And selections -
f2-tumblr-widget/trunk/README.txt
r918021 r922315 5 5 Requires at least: 3.3 6 6 Tested up to: 3.9 7 Stable tag: 0.2. 07 Stable tag: 0.2.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 45 45 == Changelog == 46 46 47 = 0.2.1 = 48 * Added CSS to ensure that media posts with short text are properly separated. 49 * Improved handling of the provided Tumblr URL to be less picky. 50 47 51 = 0.2.0 = 48 52 * First public release. -
f2-tumblr-widget/trunk/css/widget.css
r918021 r922315 6 6 .f2-tumblr-post h3 { 7 7 margin-bottom: 5px; 8 clear: both; 8 9 } 9 10 -
f2-tumblr-widget/trunk/f2-tumblr.php
r918021 r922315 246 246 // Clean up user text inputs 247 247 $instance['title'] = strip_tags( $new_instance['title'] ); 248 $instance['tumblr'] = strip_tags( $new_instance['tumblr'] );249 248 $instance['post_tag'] = strip_tags( $new_instance['post_tag'] ); 250 249 … … 258 257 $instance['slide_speed'] = intval( $new_instance['slide_speed'] ); 259 258 } 259 260 // The provided URL needs to be free of things like protocol 261 if ( 'http' == mb_substr( $new_instance['tumblr'], 0, 4 ) ) { 262 $entered_url = $new_instance['tumblr']; 263 } else { 264 $entered_url = 'http://' . $new_instance['tumblr']; 265 } 266 $instance['tumblr'] = parse_url( $entered_url, PHP_URL_HOST ); 260 267 261 268 // And selections
Note: See TracChangeset
for help on using the changeset viewer.