- Timestamp:
- 03/18/2017 03:22:08 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme.php
r40086 r40300 1985 1985 'type' => 'custom', 1986 1986 'title' => _x( 'Home', 'Theme starter content' ), 1987 'url' => home_url( ),1987 'url' => home_url( '/' ), 1988 1988 ), 1989 1989 'page_home' => array( // Deprecated in favor of link_home. -
trunk/tests/phpunit/tests/customize/manager.php
r40142 r40300 491 491 $this->assertEquals( 0, $changeset_values['nav_menu_item[-1]']['object_id'] ); 492 492 $this->assertEquals( 'custom', $changeset_values['nav_menu_item[-1]']['type'] ); 493 $this->assertEquals( home_url( ), $changeset_values['nav_menu_item[-1]']['url'] );493 $this->assertEquals( home_url( '/' ), $changeset_values['nav_menu_item[-1]']['url'] ); 494 494 495 495 $this->assertEmpty( $wp_customize->changeset_data() );
Note: See TracChangeset
for help on using the changeset viewer.