mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-09 11:40:04 +00:00
Enclosure cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@2288 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -37,9 +37,6 @@ if ('' != $pinged) {
|
||||
|
||||
$saveasdraft = '<input name="save" type="submit" id="save" tabindex="6" value="' . __('Save and Continue Editing') . '" />';
|
||||
|
||||
$form_enclosure = '<p><label for="enclosure"><a href="http://www.thetwowayweb.com/payloadsforrss" title="' . __('Help on enclosures') . '">' . __('<strong>Enclosures</strong></a>') . '</label> ' . __('(Separate multiple <abbr title="Universal Resource Identifier">URI</abbr>s with spaces.)') . '<br />
|
||||
<input type="text" name="enclosure_url" style="width: 415px" id="enclosure" tabindex="8" value="'. str_replace("\n", ' ', $enclosure_url) .'" /></p>';
|
||||
|
||||
if (empty($post_status)) $post_status = 'draft';
|
||||
|
||||
?>
|
||||
|
||||
@@ -386,7 +386,7 @@ case 'editpost':
|
||||
if ($post_status == 'publish') {
|
||||
do_action('publish_post', $post_ID);
|
||||
do_trackbacks($post_ID);
|
||||
do_enclose( $content, $post_ID );
|
||||
do_enclose( $content, $post_ID );
|
||||
if ( get_option('default_pingback_flag') )
|
||||
pingback($content, $post_ID);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user