The WordPress 7.1 “Mary Lou” version introduces a revolution in internal editorial collaboration through the Notes Feature, a structured feedback system designed to replace traditional comments and enable asynchronous workflows between editors, external experts, and AI review systems. This article analyzes the technical architecture of the feature, the available integrations, and best practices for implementing it in modern editorial environments.
What are the Notes in WordPress 7.1 and Why They Change Editorial Collaboration
Notes represent an alternative feedback system to traditional WordPress comments, optimized for non-synchronous workflows between editorial teams and AI review systems. Unlike comments, which remain public in the database and generate public notifications, Notes are:
- Private by default: visible only to authorized employees and connected systems
- StructuredThey support @mentions, rich text formatting, emoji reactions, and reply threading.
- Asynchronous: they do not interrupt the workflow but remain immediately accessible
- Integrable with AI: The Notes can be processed by autonomous task executors and LLMs for sentiment analysis, priority scoring, and automated triage.
In the context of the’implementation of agentic AI workflows for editorial teams, The Notes become the bridge between human editors and autonomous systems, allowing structured feedback that task executors can process automatically.
Technical Architecture: REST APIs, Database Schema and Data Model
The Notes Feature in WordPress 7.1 relies on a dedicated data structure, separate from the table. wp_comments. The database schema includes:
- wp_notes: main table that stores notes, timestamps, author and status
- wp_note_meta: Extended metadata for mentions, reactions, and attachment references
- wp_note_relationshipsMapping between notes, posts, blocks, and AI workflows
Access to the Notes is done through a dedicated REST API endpoint:
GET /wp-json/wp/v2/notes?post=123&_fields=id,content,author,created,mentions,reactions
POST /wp-json/wp/v2/notes {"post":123,"content":"Testo nota","mentions":["@editor_user"],"type":"feedback"}
DELETE /wp-json/wp/v2/notes/456
The JSON response includes structured metadata for each note:
{
"id": 789,
"post_id": 123,
"author_id": 42,
"author_name": "Editor Principal",
"content": "Verificare dato sulla sezione 3 @fact_checker",
"type": "feedback",
"mentions": ["fact_checker"],
"reactions": {"thumbsup": ["author_42"], "thinking": ["author_53"]},
"created": "2026-08-29T14:32:00Z",
"resolved": false,
"reply_count": 2
}
Practical Implementation: Enabling Notes in the Block Editor
To activate the Notes Feature on a specific post type, the configuration takes place via functions.php:
add_post_type_support('post', 'notes') ; add_post_type_support('page', 'notes') ;
// Advanced configuration for granular control register_post_type_notes( 'post', array( 'notes_enabled' => true,
'notes_visibility' => 'private', // private | team | public 'notes_allow_ai_mentions' => true,
'notes_auto_triage' => true,
'notes_max_length' => 2000
) );
In the Block Editor, the Notes appear in the “Post Info” sidebar under a new section called “Feedback & Collaboration”. Users with capability edit_posts They can create and view notes. To limit access to specific roles:
$role = get_role('editor');
$role->add_cap('view_post_notes');
$role->add_cap('create_post_notes');
$role->add_cap('edit_own_notes');
// Limit the view to the editor only if the post is in draft
if ( get_post_status( $post_id ) === 'draft') {
$notes_visibility = 'private';
}
@Mentions and Structured Notifications
The @mentions system in Notes integrates natively with the WordPress user system and the author roles. When an editor writes @username, The system:
- The user’s existence is validated by a query to the table
wp_users - Record the mention as a relationship in
wp_note_meta - Send email notification if the user has enabled notifications for that type of post
- Creates a direct link in the user’s dashboard for the specific note
For workflows with AI, it is possible to add artificial “mentions” to autonomous task executors:
// Menzionare un AI system nella nota
$note_content = "Analizzare claim nella sezione 2 @ai-fact-checker";
// Mapping tra mentions e webhook callbacks
add_filter( 'notes_mention_detected', function( $mention, $note_id ) {
if ( strpos( $mention, '@ai-' ) === 0 ) {
$ai_system = substr( $mention, 4 );
do_action( 'notes_ai_workflow_trigger', $ai_system, $note_id );
}
return $mention;
}, 10, 2 );
In a context of multi-agent AI governance, With tracking mentions towards autonomous systems, complete audit trails and compliance documentation are possible.
Rich Text Formatting and Embedded Media
Note Editor supports full formatting via the Gutenberg rich text toolbar:
- Markdown-style shortcuts:
**bold**,_italic_,`code`,[link](url) - Block quotes to quote fragments of the post
- Code blocks with syntax highlighting (useful for technical reviews)
- Embedded media: screenshot, video clips embedded via URL
Programmatically, the rich text is stored as Gutenberg Blocks JSON:
$rich_note = array(
array(
'blockName' => 'core/paragraph',
'attrs' => array(),
'innerHTML' => 'Source verification: <a href="https://source.com">article</a>'
( ),
array(
'blockName' => 'core/quote',
'attrs' => array( 'align' => 'none' ),
'innerHTML' => '<blockquote><p>Text quoted from the post</p></blockquote>'
)
);
update_post_meta( $note_id, '_note_blocks', wp_json_encode( $rich_note ));
Emoji Reactions and Rapid Sentiment Analysis
Emoji Reactions allow for quick feedback without having to write a full note. WordPress 7.1 natively supports:
- 👍 Thumbs Up (approval)
- ❤️ Heart (positive)
- 😂 Laughing (light feedback)
- 🤔 Thinking (consideration/doubt)
- 😟 Worried (critical flag)
- 🚀 Rocket (urgent/priority)
The API to add a reaction:
POST /wp-json/wp/v2/notes/789/reactions
{
"emoji": "🤔",
"user_id": 42
}
// Risposta:
{
"note_id": 789,
"reactions": {
"thinking": ["author_42", "author_53"],
"worried": ["author_88"]
},
"reaction_count": 3
}
To implement automatic sentiment analysis on reactions, task executors can process the pattern:
function analyze_note_sentiment( $note_id ) {
$reactions = get_post_meta( $note_id, '_reactions', true );
$sentiment_score = 0;
$sentiment_score += count( $reactions['thumbsup'] ?? [] ) * 1;
$sentiment_score += count( $reactions['heart'] ?? [] ) * 1.5;
$sentiment_score -= count( $reactions['worried'] ?? [] ) * 2;
$sentiment_score -= count( $reactions['thinking'] ?? [] ) * 0.5;
return $sentiment_score; // > 0 = positive, < 0 = critical
}
Integration with AI Review Workflows and Task Executors
The most powerful feature of Notes is its native integration with agentic workflows. A standalone task executor can:
- Read the Notes via REST API to identify critical feedback
- Processing Mentions towards specific systems (fact-checker AI, SEO analyzer, compliance checker)
- Add Reply Notes with structured analytical results
- Mark as Resolved when the task is completed
- Triggering downstream actions (email notification, Slack message, external webhook)
Example of workflow for automatic fact-checking:
add_action('notes_mention_ai_factcheck', function( $note_id, $post_id ) {
$note = get_note( $note_id );
$post = get_post( $post_id );
// Send the content of the note + post to LLM
$llm_response = call_llm_api( {
'task': 'fact_check',
'post_content': $post->post_content,
'feedback': $note->content,
'model': 'llama-4-scout' // see article about open-weight models
});
// Creates reply note with results
create_note( {
'post_id': $post_id,
'parent_note': $note_id,
'content': 'Analysis completed: ' . $llm_response['verdict'],
'type': 'ai_response',
'mentions': ['@original_author'],
'resolved': $llm_response['is_verified']
});
// If I am critical, send a Slack notification
if ( $llm_response['severity'] === 'critical') {
send_slack_notification( {
'channel': '#editorial-alerts',
'message': 'Critical fact-check on post'. $post_id,
'note_link': admin_url('post.php?post=' . $post_id . '#note-' . $note_id)
});
}
}, 10, 2);
To learn more about how to implement autonomous task executors, consult the article on autonomous task executors in the editorial offices.
Replacing Classic Comments: Migration and Best Practice
Migration from classic comments to Notes is not mandatory but recommended for editorial teams. To disable public comments on edited posts:
// Disable public comments for draft and scheduled posts
add_filter( 'comments_open', function( $open, $post_id ) {
$post = get_post( $post_id );
if ( in_array( $post->post_status, array( 'draft', 'pending', 'future' ) ) ) {
return false;
}
return $open;
}, 10, 2);
// Redirects users to Notes when they try to comment
add_filter( 'comments_template', function( $template ) {
if ( is_edit_screen() ) {
return locate_template('notes-feedback-info.php');
}
return $template;
});
Best practices for the transition:
- Keep public comments for published posts: The Notes are for internal collaboration
- Exporting comments from historical archives through dedicated migration plugins
- Forming the team on the new workflow and the use of @mentions in Notes
- Integrate with Slack/Discord for real-time notifications of critical feedback
Privacy configuration and audit trail
Notes remain private, but WordPress 7.1 records a complete audit trail for compliance and transparency. For each note, the following are tracked:
- Author and creation timestamp
- Every change (editor, timestamp, previous version)
- Users who viewed the note
- Added and removed reactions
- Timestamp of resolution
Access to the audit log:
$audit_log = get_post_meta( $note_id, '_note_audit_log', true);
// Output:
// Array (
// [0] => Array ( 'action' => 'created', 'user' => 42, 'timestamp' => '...' ) // [1] => Array ( 'action' => 'edited', 'user' => 42, 'timestamp' => '...' ) // [2] => Array ( 'action' => 'reaction_added', 'emoji' => '🤔', 'user' => 53, 'timestamp' => '...' )
To ensure GDPR compliance and Italian retention regulations, configure the automatic expiration date for the notes:
// Automatically archive solved notes after 90 days
add_action('wp_scheduled_delete_old_notes', function() {
$cutoff_date = date('Y-m-d H:i:s', strtotime('-90 days'));
$old_notes = get_posts(array(
'post_type' => 'notes',
'meta_query' => array(
'relation' => 'AND',
array(
'key' => '_note_resolved',
'value' => 1
( ),
array(
'key' => '_note_created',
'value' => $cutoff_date,
'compare' => 'ID, '_note_archived', 1 );
}
});
Performance Optimization: Caching and Lazy Loading
On high-traffic publishing sites, loading Notes can impact performance. WordPress 7.1 implements automatic caching:
- Object Cache for note queries via Redis/Memcached
- Lazy loading in the Block Editor: load notes only when the user accesses the panel
- Batch API to reduce the number of REST calls when there are many notes
Advanced caching configuration:
// Cache notes for 1 hour if unresolved, 24 hours if resolved add_filter( 'notes_cache_ttl', function( $note_id ) { $resolved = get_post_meta( $note_id, '_note_resolved', true ); return $resolved ? HOUR_IN_SECONDS * 24 : HOUR_IN_SECONDS; });
// Clear notes cache when a reply is added: add_action('notes_reply_created', function( $parent_note_id, $reply_note_id ) { wp_cache_delete('notes_thread_' . $parent_note_id, 'posts'); }, 10, 2);
External Integrations: Slack, Discord, and Third-Party Editorial Systems
The Notes Feature exposes webhook for external integrations. Configure a webhook to synchronize the notes with Slack:
add_action( 'notes_created', function( $note_id, $note_data ) {
$slack_webhook = get_option( 'editorial_slack_webhook' );
if ( $note_data['type'] === 'feedback' && strpos( $note_data['content'], '@ai-' ) ) {
wp_remote_post( $slack_webhook, array(
'body' => json_encode( array(
'channel' => '#editorial-feedback',
'text' => sprintf(
'Nuova nota di feedback su post %s',
get_the_title( $note_data['post_id'] )
),
'blocks' => array(
array(
'type' => 'section',
'text' => array(
'type' => 'mrkdwn',
'text' => "*{$note_data['author_name']}* menzioni AIn{$note_data['content']}"
)
),
array(
'type' => 'actions',
'elements' => array(
array(
'type' => 'button',
'text' => array( 'type' => 'plain_text', 'text' => 'Apri in WordPress' ),
'url' => admin_url( 'post.php?post=' . $note_data['post_id'] )
)
)
)
)
))
));
}
}, 10, 2 );
Markup Schema and Structured Data for Notes
For discovery and compliance purposes, WordPress 7.1 generates structured schema markup for the notes in the post metadata. This is useful for AI systems that read posts to evaluate the completeness of the review:
{
"@context": "https://schema.org",
"@type": "CreativeWork",
"hasPart": {
"@type": "Comment",
"text": "Nota di feedback critico",
"author": { "@type": "Person", "name": "Editor" },
"dateCreated": "2026-08-29T14:32:00Z",
"reviewRating": {
"@type": "Rating",
"ratingValue": 3,
"bestRating": 5
}
}
}
Monitoring and Analytics of Notes
Implement analytics dashboards to monitor the health of editorial collaboration:
function get_editorial_notes_analytics( $post_id = null, $date_range = 30 ) {
$days_back = date( 'Y-m-d H:i:s', strtotime( "-{$date_range} days" ) );
return array(
'total_notes' => count_notes( array( 'date_after' => $days_back ) ),
'avg_resolution_time' => calculate_avg_resolution_time( $date_range ),
'notes_by_type' => count_notes_by_type( $date_range ),
'most_active_reviewers' => get_top_note_authors( $date_range, 5 ),
'critical_feedback_percentage' => calculate_critical_feedback_percentage( $date_range ),
'ai_feedback_percentage' => calculate_ai_workflow_percentage( $date_range )
);
}
FAQ
How do I disable the Notes Feature if it isn't needed by my team?
It is possible to disable Notes completely or only on certain post types. In functions.php add: remove_post_type_support( 'post', 'notes' );. Alternatively, use a plugin that hides the Notes panel from the interface. WordPress 7.1 still maintains the table in the database for future backward compatibility.
Are the Notes indexed by Google or publicly visible?
No. Notes remain completely private in the WordPress database and are NOT made public in the RSS feeds, public APIs, or sitemap. They are accessible only to authenticated users with the “view_post_notes” capability.
Can I use Notes as a public comment system instead of traditional comments?
Not recommended. Notes is optimized for private and asynchronous feedback between editors. Public comments remain the standard for engagement with readers. However, you can create a hybrid workflow: disable comments on drafts, enable Notes for the team, and reactivate comments at publish.
How to manage Notes when a user leaves the editorial team?
WordPress 7.1 keeps the notes even if the author is deleted, displaying “Author removed”. For auditing purposes, the notes remain in the database indefinitely unless manually archived. For GDPR compliance, implement a user data deletion process that removes the association of the note but keeps the content anonymous.
What is the difference between Reactions and Comments in Notes?
Reactions (emojis) are instant and text-free aggregated feedback. Comments/replies in Notes are structured discussions with threading. Reactions are ideal for quick sentiment, while replies are for complex editorial discussions.
The transition of the editorial workflow towards the Notes Feature in WordPress 7.1 represents a crucial step towards adoption. Native AI governance systems in WordPress. By properly implementing the feature, editorial teams gain full visibility into feedback, transparent integration with autonomous task executors, and an enterprise-grade audit trail, essential for compliance and accountability in the age of agentic workflows.
The Notes also integrate with the UI improvements in WordPress 7.1 in the Block Editor, ensuring usability on desktop and mobile. For newsrooms and editorial teams that work with LLM models, consult the guide on WordPress AI Client and Abilities API to fully integrate Notes into fully automated workflows.



