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 10667ff commit ead7fbcCopy full SHA for ead7fbc
tests/phpunit/tests/includes/handler/class-test-create.php
@@ -496,7 +496,7 @@ public function test_create_post_disabled_by_option() {
496
*/
497
public function test_create_post_enabled_by_option() {
498
// Enable the option.
499
- \update_option( 'activitypub_create_posts', true );
+ \update_option( 'activitypub_create_posts', '1' );
500
501
// Mock HTTP request for Remote_Actors::fetch_by_uri.
502
$mock_callback = function ( $pre, $url_or_object ) {
0 commit comments