We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1bef80 commit 8274e99Copy full SHA for 8274e99
includes/class-cli.php
@@ -239,6 +239,7 @@ public function move( $args ) {
239
* ## EXAMPLES
240
*
241
* $ wp activitypub follow https://example.com/@user
242
+ * $ wp --user=pfefferle activitypub follow https://example.com/@user
243
244
* @synopsis <remote_user>
245
includes/collection/class-actors.php
@@ -561,7 +561,7 @@ public static function fetch_remote_by_uri( $actor_uri ) {
561
return $object;
562
}
563
564
- $post_id = self::create( $object );
+ $post_id = self::upsert( $object );
565
566
if ( \is_wp_error( $post_id ) ) {
567
return $post_id;
0 commit comments