Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: caption to description + alt

Discussion in 'Misc WordPress Requests' started by meravjon, Oct 30, 2017.

  1. meravjon

    Guest

    Reply To: caption to description + alt, by meravjon

    I found out that if I change wp-admin\includes\media.php to:

    $attachment = array_merge( array(
    'post_mime_type' => $type,
    'guid' => $url,
    'post_parent' => $post_id,
    'post_title' => $title,
    'post_content' => $excerpt,
    'post_excerpt' => $excerpt,
    ), $post_data );

    I get the description IPTC to the description field in woordpress.
    however I don’t want to change this file I’m looking for a hook that can make it throw functions.php

    Reply To: caption to description + alt
     
    #1

Share This Page

Web Hosting