Make WordPress Core

Ticket #34414: export.diff

File export.diff, 666 bytes (added by kkarpieszuk, 9 years ago)

Proposed patch

  • export.php

     
    530530<?php           endforeach; ?>
    531531                </wp:comment>
    532532<?php   endforeach; ?>
     533<?php
     534/**
     535 * Add extra item fields to exported WXR file
     536 *
     537 * When exporting WXR files sometimes it's needed to include additional
     538 * informations about exported items, handled by for example plugins or
     539 * theme. Use this action to echo well formatted XML elements here.
     540 *
     541 * @since 4.4.0
     542 *
     543 * @param WP_Post $post WordPress post object
     544 */
     545do_action('wxr_export_item_extra_fields', $post);
     546?>
    533547        </item>
    534548<?php
    535549        }