[wp-trac] [WordPress Trac] #39108: Media: can't leave an image "untitled" from the "Edit Media" menu
WordPress Trac
noreply at wordpress.org
Wed Aug 4 13:09:16 UTC 2021
#39108: Media: can't leave an image "untitled" from the "Edit Media" menu
-------------------------------------------------+-------------------------
Reporter: dromero20 | Owner: junaidkbr
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.9
Component: Media | Version: 4.6.1
Severity: normal | Resolution:
Keywords: good-first-bug has-patch needs- | Focuses:
testing has-testing-info |
-------------------------------------------------+-------------------------
Comment (by aadilali):
WordPress set image name as the default post title if it is empty or post
blank. Following function written in "wp-admin\includes\media.php" handle
this scenario.
"function image_attachment_fields_to_save()"
You can remove this function to get the (no title) by default.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39108#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list