Skip to content

Commit ed38818

Browse files
authored
Update attachment post type description (#2153)
1 parent b651a09 commit ed38818

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: patch
2+
Type: changed
3+
4+
Clarified the 'attachment' post type description to explain it refers to media library uploads and recommend disabling federation in most cases.

includes/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ function get_post_type_description( $post_type ) {
859859
$description = '';
860860
break;
861861
case 'attachment':
862-
$description = ' - ' . __( 'The attachments that you have uploaded to a post (images, videos, documents or other files).', 'activitypub' );
862+
$description = ' - ' . __( 'Files uploaded to the media library (such as images, videos, documents, or other attachments). Note: This federates every file upload, not just published content.', 'activitypub' );
863863
break;
864864
default:
865865
$description = '';

0 commit comments

Comments
 (0)