Making WordPress.org

Opened 13 years ago

Closed 13 years ago

Last modified 2 months ago

#70 closed defect (bug) (fixed)

Titles of make blogs are messed up

Reported by: samuelsidler's profile samuelsidler Owned by:
Milestone: Priority: trivial
Component: Make (Get Involved) / P2 Keywords: has-patch has-unit-tests
Cc:

Description

The titles of all make blogs are duplicated. e.g.:

"Make WordPress CoreMake WordPress Core"

Attachments (1)

70-meta.diff (563 bytes) - added by iandunn 13 years ago.

Download all attachments as: .zip

Change History (7)

@iandunn
13 years ago

#1 @iandunn
13 years ago

  • Keywords has-patch added

#2 @samuelsidler
13 years ago

  • Cc Otto42 added

Otto, can you review this?

#3 @Otto42
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Looks good to me. Fixed in [61].

This ticket was mentioned in PR #10930 on WordPress/wordpress-develop by @adamsilverstein.


2 months ago
#5

  • Keywords has-unit-tests added

## Summary

Register the _wp_note_reactions comment meta in wp_create_initial_comment_meta(), alongside the existing _wp_note_status meta. This meta stores emoji reaction data for the block editor's collaborative Notes feature.

### Data Model

Each emoji key (e.g., "👍", "❤️") maps to an array of reaction objects:

{
  "👍": [
    { "userId": 1, "date": "2025-01-15T10:30:00" },
    { "userId": 2, "date": "2025-01-15T11:00:00" }
  ],
  "❤️": [
    { "userId": 1, "date": "2025-01-15T10:35:00" }
  ]
}

### REST Schema

  • Type: object
  • Single: true
  • Default: [] (empty array)
  • additionalProperties: Each property is an array of objects with:
    • userId (integer) — The reacting user's ID
    • date (string|null, date-time format) — When the reaction was added

### Auth

Uses the same edit_comment capability check as _wp_note_status.

## References

---

This is a code-review-only PR. The corresponding Trac ticket will be created and linked.

@adamsilverstein commented on PR #10930:


2 months ago
#6

I have updated this backport PR to apply the custom comment type approach for storage used in https://github.com/WordPress/gutenberg/pull/75549 which replaces the meta based approach in https://github.com/WordPress/gutenberg/issues/75144.

Note: See TracTickets for help on using tickets.