[wp-trac] [WordPress Trac] #15392: Allow custom post formats
WordPress Trac
noreply at wordpress.org
Fri Aug 8 03:48:21 UTC 2014
#15392: Allow custom post formats
--------------------------+----------------------
Reporter: ptahdunbar | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version: 3.1
Severity: normal | Resolution: wontfix
Keywords: has-patch | Focuses:
--------------------------+----------------------
Comment (by Stagger Lee):
New 3.9.2 upgrade just ruined 5 of my websites. Need to put in config file
to disable automatic updates. Seems as core upgrade doesnt touch post-
formats.php file, but language files do it in some way, and all custom
post formats are gone.
It would be very nice if we could overide in functions.php, and add new
ones formats.
{{{
function get_post_format_strings() {
$strings = array(
'standard' => _x( 'Standard', 'Post format' ), // Special
case. any value that evals to false will be considered standard
'aside' => _x( 'Aside', 'Post format' ),
'chat' => _x( 'Chat', 'Post format' ),
'gallery' => _x( 'Gallery', 'Post format' ),
'link' => _x( 'Link', 'Post format' ),
'image' => _x( 'Image', 'Post format' ),
'quote' => _x( 'Quote', 'Post format' ),
'status' => _x( 'Status', 'Post format' ),
'video' => _x( 'Video', 'Post format' ),
'audio' => _x( 'Audio', 'Post format' ),
);
return $strings;
}
}}}
Is it to much to ask ?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/15392#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list