Changeset 40338 for branches/4.7
- Timestamp:
- 03/27/2017 09:28:36 AM (7 years ago)
- Location:
- branches/4.7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/src/wp-includes/theme.php
r40087 r40338 1984 1984 'type' => 'custom', 1985 1985 'title' => _x( 'Home', 'Theme starter content' ), 1986 'url' => home_url( ),1986 'url' => home_url( '/' ), 1987 1987 ), 1988 1988 'page_home' => array( // Deprecated in favor of home_link. -
branches/4.7/tests/phpunit/tests/customize/manager.php
r40099 r40338 485 485 $this->assertEquals( 0, $changeset_values['nav_menu_item[-1]']['object_id'] ); 486 486 $this->assertEquals( 'custom', $changeset_values['nav_menu_item[-1]']['type'] ); 487 $this->assertEquals( home_url( ), $changeset_values['nav_menu_item[-1]']['url'] );487 $this->assertEquals( home_url( '/' ), $changeset_values['nav_menu_item[-1]']['url'] ); 488 488 489 489 $this->assertEmpty( $wp_customize->changeset_data() );
Note: See TracChangeset
for help on using the changeset viewer.