- Timestamp:
- 11/05/2013 09:51:03 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/inc/widgets.php
r25979 r26020 3 3 * Custom Widget for displaying specific post formats 4 4 * 5 * Displays posts from Aside, Quote, Video, Image, Gallery, and Link formats.5 * Displays posts from Aside, Quote, Video, Audio, Image, Gallery, and Link formats. 6 6 * 7 7 * @link http://codex.wordpress.org/Widgets_API#Developing_Widgets … … 21 21 * @var array 22 22 */ 23 private $formats = array( 'aside', 'image', 'video', ' quote', 'link', 'gallery' );23 private $formats = array( 'aside', 'image', 'video', 'audio', 'quote', 'link', 'gallery' ); 24 24 25 25 /** … … 42 42 parent::__construct( 'widget_twentyfourteen_ephemera', __( 'Twenty Fourteen Ephemera', 'twentyfourteen' ), array( 43 43 'classname' => 'widget_twentyfourteen_ephemera', 44 'description' => __( 'Use this widget to list your recent Aside, Quote, Video, Image, Gallery, and Link posts', 'twentyfourteen' ),44 'description' => __( 'Use this widget to list your recent Aside, Quote, Video, Audio, Image, Gallery, and Link posts', 'twentyfourteen' ), 45 45 ) ); 46 46 47 47 /* 48 * @todo http://core.trac.wordpress.org/ticket/23257 48 * @todo http://core.trac.wordpress.org/ticket/23257: Add plural versions of Post Format strings 49 49 */ 50 50 $this->format_strings = array( … … 52 52 'image' => __( 'Images', 'twentyfourteen' ), 53 53 'video' => __( 'Videos', 'twentyfourteen' ), 54 'audio' => __( 'Audio', 'twentyfourteen' ), 54 55 'quote' => __( 'Quotes', 'twentyfourteen' ), 55 56 'link' => __( 'Links', 'twentyfourteen' ),
Note: See TracChangeset
for help on using the changeset viewer.