WordPress.org

Making WordPress.org


Ignore:
Timestamp:
12/15/2017 12:13:33 AM (3 years ago)
Author:
obenland
Message:

Main: Conform to WPCS.

See #2861.

File:
1 edited

Legend:

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

    r6142 r6277  
    66 */
    77
     8// phpcs:disable WordPress.VIP.RestrictedFunctions.get_page_by_path_get_page_by_path
     9
    810namespace WordPressdotorg\MainTheme;
    911
     
    1113 * Displays a table row with release information.
    1214 *
    13  * @param array $release
     15 * @param array $release Release to be processed.
    1416 */
    1517function release_row( $release ) {
     
    2931
    3032/**
    31  * Rerieve the localised downloads link.
     33 * Retrieve the localised downloads link.
    3234 *
    3335 * Uses the 'txt-download' page if exists, falling back to the 'releases' page for older sites, and finally, the english downloads page.
Note: See TracChangeset for help on using the changeset viewer.