Changeset 16191 for trunk/wp-includes/post.php
- Timestamp:
- 11/04/2010 06:33:50 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r16121 r16191 5213 5213 } 5214 5214 5215 /** 5216 * Returns an array of post format slugs to their translated and pretty display versions 5217 * 5218 * @return array The array of translations 5219 */ 5220 function get_post_format_strings() { 5221 $strings = array( 5222 '0' => _x( 'Default', 'Post format' ), 5223 'aside' => _x( 'Aside', 'Post format' ), 5224 'chat' => _x( 'Chat', 'Post format' ), 5225 'gallery' => _x( 'Gallery', 'Post format' ), 5226 'link' => _x( 'Link', 'Post format' ), 5227 'image' => _x( 'Image', 'Post format' ), 5228 'quote' => _x( 'Quote', 'Post format' ), 5229 'status' => _x( 'Status', 'Post format' ), 5230 'video' => _x( 'Video', 'Post format' ) 5231 ); 5232 return apply_filters( 'post_format_strings', $strings ); 5233 } 5234 5215 5235 ?>
Note: See TracChangeset
for help on using the changeset viewer.