PluginProbe
ActivityPub / 8.0.2
ActivityPub v8.0.2
9.3.1 9.3.0 9.2.2 9.2.1 9.2.0 9.1.0 9.0.2 9.0.1 9.0.0 8.3.0 8.2.1 8.2.0 8.1.1 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.2.0 1.3.0 2.0.0 2.0.1 2.1.0 2.1.1 All 160 releases
← All changes | includes/wp-admin/class-advanced-settings-fields.php +0 -35 8.3.08.0.2 View file →
@@ -90,17 +90,8 @@
90 90 );
91 91 }
92 92
93 93 \add_settings_field(
94 - 'activitypub_api',
95 - \__( 'ActivityPub API', 'activitypub' ),
96 - array( self::class, 'render_api_field' ),
97 - 'activitypub_advanced_settings',
98 - 'activitypub_advanced_settings',
99 - array( 'label_for' => 'activitypub_api' )
100 - );
101 -
102 - \add_settings_field(
103 94 'activitypub_object_type',
104 95 \__( 'Activity-Object-Type', 'activitypub' ),
105 96 array( self::class, 'render_object_type_field' ),
106 97 'activitypub_advanced_settings',
@@ -240,34 +231,8 @@
240 231 Adds a "Social Web" interface where you can read posts and shares from accounts you follow. Also enables the Following feature. Look for it in Dashboard > Social Web.
241 232 </p>
242 233 <p class="description">
243 234 ⚠ This feature is experimental and may change significantly in future updates.
244 - </p>
245 - <?php
246 - }
247 -
248 - /**
249 - * Render ActivityPub API field.
250 - */
251 - public static function render_api_field() {
252 - $value = \get_option( 'activitypub_api', '0' );
253 - ?>
254 - <p>
255 - <label>
256 - <input type="checkbox" id="activitypub_api" name="activitypub_api" value="1" <?php \checked( '1', $value ); ?> />
257 - <?php \esc_html_e( 'Enable the ActivityPub API to connect third-party clients.', 'activitypub' ); ?>
258 - </label>
259 - </p>
260 - <p class="description">
261 - <?php \esc_html_e( 'Enables OAuth 2.0 authentication so third-party ActivityPub clients (like Mastodon apps) can post, follow, and interact on your behalf. You can manage connected apps from your profile page.', 'activitypub' ); ?>
262 - </p>
263 - <p class="description">
264 - <?php
265 - echo \wp_kses(
266 - \__( '⚠ This feature is experimental and may change significantly in future updates.', 'activitypub' ),
267 - 'data'
268 - );
269 - ?>
270 235 </p>
271 236 <?php
272 237 }
273 238