Make WordPress Core

Ticket #23973: 23973.patch

File 23973.patch, 685 bytes (added by c3mdigital, 12 years ago)
  • wp-includes/revision.php

     
    6565 *
    6666 * @since 3.6
    6767 * @access private
     68 * @uses apply_filters() Calls '_wp_post_revision_meta_keys'
    6869 * @return array An array of meta keys that should be revisioned.
    6970 */
    7071function _wp_post_revision_meta_keys() {
    71         return array(
     72        $meta_keys = array(
    7273                '_wp_format_url',
    7374                '_wp_format_quote',
    7475                '_wp_format_quote_source',
     
    7778                '_wp_format_audio',
    7879                '_wp_format_video',
    7980        );
     81        return apply_filters( '_wp_post_revision_meta_keys', $meta_keys );
    8082}
    8183
    8284/**