Ticket #38770: 38770.diff
File 38770.diff, 4.2 KB (added by , 8 years ago) |
---|
-
src/wp-includes/theme.php
1795 1795 $core_content = array ( 1796 1796 'widgets' => array( 1797 1797 'text_business_info' => array ( 'text', array ( 1798 'title' => _ _( 'Find Us' ),1798 'title' => _x( 'Find Us', 'Theme starter content' ), 1799 1799 'text' => join( '', array ( 1800 '<p><strong>' . _ _( 'Address' ) . '</strong><br />',1801 _ _( '123 Main Street' ) . '<br />' . __( 'New York, NY 10001' ) . '</p>',1802 '<p><strong>' . _ _( 'Hours' ) . '</strong><br />',1803 _ _( 'Monday—Friday: 9:00AM–5:00PM' ) . '<br />' . __( 'Saturday & Sunday: 11:00AM–3:00PM' ) . '</p>'1800 '<p><strong>' . _x( 'Address', 'Theme starter content' ) . '</strong><br />', 1801 _x( '123 Main Street', 'Theme starter content' ) . '<br />' . _x( 'New York, NY 10001', 'Theme starter content' ) . '</p>', 1802 '<p><strong>' . _x( 'Hours', 'Theme starter content' ) . '</strong><br />', 1803 _x( 'Monday—Friday: 9:00AM–5:00PM', 'Theme starter content' ) . '<br />' . _x( 'Saturday & Sunday: 11:00AM–3:00PM', 'Theme starter content' ) . '</p>' 1804 1804 ) ), 1805 1805 ) ), 1806 1806 'search' => array ( 'search', array ( 1807 'title' => _ _( 'Site Search' ),1807 'title' => _x( 'Site Search', 'Theme starter content' ), 1808 1808 ) ), 1809 1809 'text_credits' => array ( 'text', array ( 1810 'title' => _ _( 'Site Credits' ),1811 'text' => sprintf( _ _( 'This site was created on %s' ), get_date_from_gmt( current_time( 'mysql', 1 ), 'c' ) ),1810 'title' => _x( 'Site Credits', 'Theme starter content' ), 1811 'text' => sprintf( _x( 'This site was created on %s', 'Theme starter content' ), get_date_from_gmt( current_time( 'mysql', 1 ), 'c' ) ), 1812 1812 ) ), 1813 1813 ), 1814 1814 'nav_menus' => array ( … … 1834 1834 ), 1835 1835 1836 1836 'link_yelp' => array( 1837 'title' => _ _( 'Yelp' ),1837 'title' => _x( 'Yelp', 'Theme starter content' ), 1838 1838 'url' => 'https://www.yelp.com', 1839 1839 ), 1840 1840 'link_facebook' => array( 1841 'title' => _ _( 'Facebook' ),1841 'title' => _x( 'Facebook', 'Theme starter content' ), 1842 1842 'url' => 'https://www.facebook.com/wordpress', 1843 1843 ), 1844 1844 'link_twitter' => array( 1845 'title' => _ _( 'Twitter' ),1845 'title' => _x( 'Twitter', 'Theme starter content' ), 1846 1846 'url' => 'https://twitter.com/wordpress', 1847 1847 ), 1848 1848 'link_instagram' => array( 1849 'title' => _ _( 'Instagram' ),1849 'title' => _x( 'Instagram', 'Theme starter content' ), 1850 1850 'url' => 'https://www.instagram.com/explore/tags/wordcamp/', 1851 1851 ), 1852 1852 'link_email' => array( 1853 'title' => _ _( 'Email' ),1853 'title' => _x( 'Email', 'Theme starter content' ), 1854 1854 'url' => 'mailto:wordpress@example.com', 1855 1855 ), 1856 1856 ), … … 1857 1857 'posts' => array( 1858 1858 'home' => array( 1859 1859 'post_type' => 'page', 1860 'post_title' => _ _( 'Homepage' ),1861 'post_content' => _ _( 'Welcome home.' ),1860 'post_title' => _x( 'Homepage', 'Theme starter content' ), 1861 'post_content' => _x( 'Welcome home.', 'Theme starter content' ), 1862 1862 ), 1863 1863 'about-us' => array( 1864 1864 'post_type' => 'page', 1865 'post_title' => _ _( 'About Us' ),1866 'post_content' => _ _( 'More than you ever wanted to know.' ),1865 'post_title' => _x( 'About Us', 'Theme starter content' ), 1866 'post_content' => _x( 'More than you ever wanted to know.', 'Theme starter content' ), 1867 1867 ), 1868 1868 'contact-us' => array( 1869 1869 'post_type' => 'page', 1870 'post_title' => _ _( 'Contact Us' ),1871 'post_content' => _ _( 'Call us at 999-999-9999.' ),1870 'post_title' => _x( 'Contact Us', 'Theme starter content' ), 1871 'post_content' => _x( 'Call us at 999-999-9999.', 'Theme starter content' ), 1872 1872 ), 1873 1873 'blog' => array( 1874 1874 'post_type' => 'page', 1875 'post_title' => _ _( 'Blog' ),1875 'post_title' => _x( 'Blog', 'Theme starter content' ), 1876 1876 ), 1877 1877 1878 1878 'homepage-section' => array( 1879 1879 'post_type' => 'page', 1880 'post_title' => _ _( 'A homepage section' ),1881 'post_content' => _ _( 'This is an example of a homepage section, which are managed in theme options.' ),1880 'post_title' => _x( 'A homepage section', 'Theme starter content' ), 1881 'post_content' => _x( 'This is an example of a homepage section, which are managed in theme options.', 'Theme starter content' ), 1882 1882 ), 1883 1883 ), 1884 1884 );