Changeset 48627
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php
r48626 r48627 549 549 'requires_wp' => $item['RequiresWP'], 550 550 'requires_php' => $item['RequiresPHP'], 551 'text _domain'=> $item['TextDomain'],551 'textdomain' => $item['TextDomain'], 552 552 ); 553 553 … … 909 909 'context' => array( 'view', 'edit', 'embed' ), 910 910 ), 911 'text _domain'=> array(911 'textdomain' => array( 912 912 'description' => __( 'The plugin\'s text domain.' ), 913 913 'type' => 'string', -
trunk/tests/phpunit/tests/rest-api/rest-plugins-controller.php
r48524 r48627 978 978 $this->assertArrayHasKey( 'requires_wp', $properties ); 979 979 $this->assertArrayHasKey( 'requires_php', $properties ); 980 $this->assertArrayHasKey( 'text _domain', $properties );980 $this->assertArrayHasKey( 'textdomain', $properties ); 981 981 } 982 982 … … 1002 1002 $this->assertEquals( '5.6.0', $data['requires_php'] ); 1003 1003 $this->assertEquals( '5.4.0', $data['requires_wp'] ); 1004 $this->assertEquals( 'test-plugin', $data['text _domain'] );1004 $this->assertEquals( 'test-plugin', $data['textdomain'] ); 1005 1005 } 1006 1006
Note: See TracChangeset
for help on using the changeset viewer.