Making WordPress.org

Changeset 8182


Ignore:
Timestamp:
02/02/2019 02:06:14 PM (6 years ago)
Author:
ocean90
Message:

Main: Add meta descriptions for download pages.

Props jonoaldersonwp.
Fixes #4085.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/inc/page-meta-descriptions.php

    r8008 r8182  
    149149            $title = esc_html_x( 'Cookie Policy', 'Page title', 'wporg' );
    150150            $desc  = esc_html__( 'This policy specifically explains how WordPress.org, our partners, and users of our services deploy cookies, as well as the options you have to control them.', 'wporg' );
     151            break;
     152
     153        case 'page-download.php':
     154            $title = esc_html_x( 'Download', 'Page title', 'wporg' );
     155            $desc  = esc_html__( 'Download WordPress today, and get started on creating your website with one of the most powerful, popular, and customizable platforms in the world.', 'wporg' );
     156            break;
     157
     158        case 'page-download-beta-nightly.php':
     159            $title = esc_html_x( 'Beta/Nightly', 'Page title', 'wporg' );
     160            $desc  = esc_html__( 'Get the latest, unstable or work-in-progress versions of WordPress for testing and development.', 'wporg' );
     161            break;
     162
     163        case 'page-download-releases.php':
     164            $title = esc_html_x( 'Releases', 'Page title', 'wporg' );
     165            $desc  = esc_html__( 'Browse and download previous versions of WordPress for testing and development.', 'wporg' );
     166            break;
     167
     168        case 'page-download-source.php':
     169            $title = esc_html_x( 'Source Code', 'Page title', 'wporg' );
     170            $desc  = esc_html__( 'See how WordPress works under the hood, and contribute your own code to the world’s most popular content management system.', 'wporg' );
    151171            break;
    152172    }
     
    311331            break;
    312332
     333        case 'page-about-privacy-cookies.php':
     334            $title = esc_html_x( 'Cookie Policy', 'Page title', 'wporg' );
     335            break;
     336
    313337        case 'page-download.php':
    314338            $title = esc_html_x( 'Download', 'Page title', 'wporg' );
Note: See TracChangeset for help on using the changeset viewer.