- Timestamp:
- 10/11/2013 10:01:14 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/inc/widgets.php
r25743 r25769 1 1 <?php 2 2 /** 3 * Makes a custom Widget for displaying Aside, Quote, Video, Image, Gallery, 4 * and Link posts, available with Twenty Fourteen. 3 * Custom Widget for displaying specific post formats 5 4 * 6 * Learn more: http://codex.wordpress.org/Widgets_API#Developing_Widgets 5 * Displays posts from Aside, Quote, Video, Image, Gallery, and Link formats. 6 * 7 * @link http://codex.wordpress.org/Widgets_API#Developing_Widgets 7 8 * 8 9 * @package WordPress 9 10 * @subpackage Twenty_Fourteen 11 * @since Twenty Fourteen 1.0 10 12 */ 11 13 … … 15 17 * The supported post formats. 16 18 * 19 * @since Twenty Fourteen 1.0 20 * 17 21 * @var array 18 22 */ … … 22 26 * Pluralized post format strings. 23 27 * 28 * @since Twenty Fourteen 1.0 29 * 24 30 * @var array 25 31 */ … … 28 34 /** 29 35 * Constructor. 36 * 37 * @since Twenty Fourteen 1.0 30 38 * 31 39 * @return Twenty_Fourteen_Ephemera_Widget … … 37 45 ) ); 38 46 39 /* *47 /* 40 48 * @todo http://core.trac.wordpress.org/ticket/23257 41 49 */ … … 55 63 56 64 /** 57 * Outputs the HTML for this widget. 65 * Output the HTML for this widget. 66 * 67 * @since Twenty Fourteen 1.0 58 68 * 59 69 * @param array $args An array of standard parameters for widgets in this theme. … … 192 202 193 203 /** 194 * Deals with the settings when they are saved by the admin. Here is where 195 * any validation should be dealt with. 204 * Deal with the settings when they are saved by the admin. Here is where 205 * any validation should happen. 206 * 207 * @since Twenty Fourteen 1.0 196 208 * 197 209 * @param array $new_instance … … 211 223 212 224 /** 213 * Deletes the transient. 225 * Delete the transient. 226 * 227 * @since Twenty Fourteen 1.0 214 228 * 215 229 * @return void … … 220 234 221 235 /** 222 * Displays the form for this widget on the Widgets page of the Admin area. 236 * Display the form for this widget on the Widgets page of the Admin area. 237 * 238 * @since Twenty Fourteen 1.0 223 239 * 224 240 * @param array $instance
Note: See TracChangeset
for help on using the changeset viewer.