[wp-trac] [WordPress Trac] #55152: I thing I've found a bug (Not sure)
WordPress Trac
noreply at wordpress.org
Sat Feb 12 04:54:56 UTC 2022
#55152: I thing I've found a bug (Not sure)
--------------------------+-----------------------------
Reporter: wpdans | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.9
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Hi,
I installed WordPress on my new website at [https://openinghours.co.il/]
I've created a custom theme and custom fields and taxonomies for "post",
in a custom php file, that is called in functions.php.
When I try to test and see if custom fields are saved, I noticed something
interesting: when the WordPress default post title (the_title) is empty,
and the_content and custom fields are filled, I cannot delete the content
that's in "the_content" on update or on save draft.
I can delete content from custom fields and it works, but if the content
is not empty, I try to delete the content and save draft, the content is
still there.
However, after testing, I've found that if "the_title" is not empty, I can
delete the content that's located in "the_content".
The problem accrues only when "the_title" (The default post title) is
empty.
I am not sure, but I think it doesn't have any relation to the custom
fields. However, I I didn't tested it on a site without custom fields.
I hope that I described it clearly, if you have any questions please ask.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55152>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list