WordPress.org

Making WordPress.org

Changeset 11150


Ignore:
Timestamp:
07/22/2021 01:19:44 PM (3 months ago)
Author:
Otto42
Message:

Theme Directory: Replace codex links with links to developer documentation. Fixes #5839.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-wporg-themes-upload.php

    r11102 r11150  
    217217            $error = __( 'The theme has no name.', 'wporg-themes' ) . ' ';
    218218
    219             /* translators: 1: comment header line, 2: style.css, 3: Codex URL */
     219            /* translators: 1: comment header line, 2: style.css, 3: wporg URL */
    220220            $error .= sprintf( __( 'Add a %1$s line to your %2$s file and upload the theme again. <a href="%3$s">Theme Style Sheets</a>', 'wporg-themes' ),
    221221                '<code>Theme Name:</code>',
    222222                '<code>style.css</code>',
    223                 __( 'https://codex.wordpress.org/Theme_Development#Theme_Stylesheet', 'wporg-themes' )
     223                __( 'https://developer.wordpress.org/themes/basics/main-stylesheet-style-css/', 'wporg-themes' )
    224224            );
    225225
     
    256256            $error = __( 'The theme has no description.', 'wporg-themes' ) . ' ';
    257257
    258             /* translators: 1: comment header line, 2: style.css, 3: Codex URL */
     258            /* translators: 1: comment header line, 2: style.css, 3: wporg URL */
    259259            $error .= sprintf( __( 'Add a %1$s line to your %2$s file and upload the theme again. <a href="%3$s">Theme Style Sheets</a>', 'wporg-themes' ),
    260260                '<code>Description:</code>',
    261261                '<code>style.css</code>',
    262                 __( 'https://codex.wordpress.org/Theme_Development#Theme_Stylesheet', 'wporg-themes' )
     262                __( 'https://developer.wordpress.org/themes/basics/main-stylesheet-style-css/', 'wporg-themes' )
    263263            );
    264264
     
    269269            $error = __( 'The theme has no tags.', 'wporg-themes' ) . ' ';
    270270
    271             /* translators: 1: comment header line, 2: style.css, 3: Codex URL */
     271            /* translators: 1: comment header line, 2: style.css, 3: wporg URL */
    272272            $error .= sprintf( __( 'Add a %1$s line to your %2$s file and upload the theme again. <a href="%3$s">Theme Style Sheets</a>', 'wporg-themes' ),
    273273                '<code>Tags:</code>',
    274274                '<code>style.css</code>',
    275                 __( 'https://codex.wordpress.org/Theme_Development#Theme_Stylesheet', 'wporg-themes' )
     275                __( 'https://developer.wordpress.org/themes/basics/main-stylesheet-style-css/', 'wporg-themes' )
    276276            );
    277277
     
    282282            $error = __( 'The theme has no version.', 'wporg-themes' ) . ' ';
    283283
    284             /* translators: 1: comment header line, 2: style.css, 3: Codex URL */
     284            /* translators: 1: comment header line, 2: style.css, 3: wporg URL */
    285285            $error .= sprintf( __( 'Add a %1$s line to your %2$s file and upload the theme again. <a href="%3$s">Theme Style Sheets</a>', 'wporg-themes' ),
    286286                '<code>Version:</code>',
    287287                '<code>style.css</code>',
    288                 __( 'https://codex.wordpress.org/Theme_Development#Theme_Stylesheet', 'wporg-themes' )
     288                __( 'https://developer.wordpress.org/themes/basics/main-stylesheet-style-css/', 'wporg-themes' )
    289289            );
    290290
Note: See TracChangeset for help on using the changeset viewer.