Changeset 16679 for trunk/wp-includes/post.php
- Timestamp:
- 12/02/2010 03:19:14 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r16670 r16679 529 529 if ( !empty($format) ) { 530 530 $format = sanitize_key($format); 531 $empty_formats = array( 'post', ' default' );531 $empty_formats = array( 'post', 'standard' ); 532 532 if ( in_array( $format, $empty_formats ) ) 533 533 $format = ''; … … 5054 5054 function get_post_format_strings() { 5055 5055 $strings = array( 5056 ' default' => _x( 'Default', 'Post format' ), // Special case. any value that evals to false will be considered default5057 'aside' => _x( 'Aside','Post format' ),5058 'chat' => _x( 'Chat','Post format' ),5059 'gallery' => _x( 'Gallery','Post format' ),5060 'link' => _x( 'Link','Post format' ),5061 'image' => _x( 'Image','Post format' ),5062 'quote' => _x( 'Quote','Post format' ),5063 'status' => _x( 'Status','Post format' ),5064 'video' => _x( 'Video','Post format' ),5065 'audio' => _x( 'Audio','Post format' ),5056 'standard' => _x( 'Standard', 'Post format' ), // Special case. any value that evals to false will be considered standard 5057 'aside' => _x( 'Aside', 'Post format' ), 5058 'chat' => _x( 'Chat', 'Post format' ), 5059 'gallery' => _x( 'Gallery', 'Post format' ), 5060 'link' => _x( 'Link', 'Post format' ), 5061 'image' => _x( 'Image', 'Post format' ), 5062 'quote' => _x( 'Quote', 'Post format' ), 5063 'status' => _x( 'Status', 'Post format' ), 5064 'video' => _x( 'Video', 'Post format' ), 5065 'audio' => _x( 'Audio', 'Post format' ), 5066 5066 ); 5067 5067 return $strings;
Note: See TracChangeset
for help on using the changeset viewer.