wordpress-activitypub icon indicating copy to clipboard operation
wordpress-activitypub copied to clipboard

PHP Warning about trim

Open artlung opened this issue 3 years ago • 3 comments

PHP Warning: trim() expects at least 1 parameter, 0 given in wp-content/plugins/activitypub/templates/blog-json.php on line 41

$json->publicKey = array(
	'id' => \get_home_url( '/' ) . '#main-key',
	'owner' => \get_home_url( '/' ),
	'publicKeyPem' => \trim(),
);

Line 41 is 'publicKeyPem' => \trim(),

artlung avatar Jan 15 '22 17:01 artlung

Oh, I wasn't aware, that it is loaded anywhere. This is work in progress... I will have a look, where it will be called.

pfefferle avatar Apr 29 '22 10:04 pfefferle

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 31 '22 02:08 stale[bot]

Keep!

pfefferle avatar Aug 31 '22 09:08 pfefferle

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 29 '22 18:12 stale[bot]