[wp-trac] [WordPress Trac] #63240: footnotes problem

WordPress Trac noreply at wordpress.org
Sat Apr 5 10:48:18 UTC 2025


#63240: footnotes problem
--------------------------+------------------------------
 Reporter:  kamago        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Database      |     Version:  6.7.2
 Severity:  major         |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by kamago):

 To go further, i just tried to modify the footnotes, save my post (with
 original id 1574).
 I reloaded the post, the footnotes were broken.
 I went to phpmyadmin, on the `postmeta` table, to the last `meta_id` line
 :
  ||= meta_id =||= post_id =||= meta_key =||= meta_value     =||
  || 1809      || 1637      || footnotes  || [{[{"id":"dec3263b-55...]  ||
 I copied the `meta_value` on this line and pasted in `meta_value` on the
 line with original `post_id` (1574) :
  ||= meta_id =||= post_id =||= meta_key =||= meta_value     =||
  || 1746      || 1574      || footnotes  || [{[{"id":"28a53cea-6a...]  ||
 I reloaded my post again in wordpress, and **it worked, the footnotes were
 working**.

 There's more than a hundred lines with //wrong// `post_id` in the table,
 because of the automatic incrementation of `post_id` everytime we save a
 post with footnotes. At least, this doesn't seem to conflict with any
 other post, but it sure creates unnecessary lines (and break footnotes).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63240#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list