Making WordPress.org


Ignore:
Timestamp:
01/29/2019 12:08:18 PM (8 years ago)
Author:
ocean90
Message:

WordPress.org Main Theme: Don't escape static URLs.

File:
1 edited

Legend:

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

    r8131 r8159  
    149149                                                                /* translators: Link to Polyglots teams */
    150150                                                                wp_kses_post( __( 'WordPress is available in more than 70 languages. If you or the person you&#8217;re building the website for would prefer to use WordPress in a language other than English, <a href="%s">that&#8217;s easy to do</a>.', 'wporg' ) ),
    151                                                                 esc_url( 'https://make.wordpress.org/polyglots/teams/' )
     151                                                                'https://make.wordpress.org/polyglots/teams/'
    152152                                                        );
    153153                                                        ?>
    … …  
    183183                                                                wp_kses_post( __( 'As the most popular open source CMS on the web, WordPress has a vibrant and supportive community. Ask a question on the <a href="%1$s">support forums</a> and get help from a volunteer, attend a <a href="%2$s">WordCamp</a> or Meetup to learn more about WordPress, read blogs posts and tutorials about WordPress. Community is at the heart of WordPress, making it what it is today.', 'wporg' ) ),
    184184                                                                esc_url( __( 'https://wordpress.org/support/forums/', 'wporg' ) ),
    185                                                                 esc_url( 'https://central.wordcamp.org/' )
     185                                                                'https://central.wordcamp.org/'
    186186                                                        );
    187187                                                        ?>
    … …  
    192192                                                                /* translators: %s: https://make.wordpress.org/ */
    193193                                                                wp_kses_post( __( 'You can be WordPress too! Help to build WordPress, answer questions on the support forums, write documentation, translate WordPress into your language, speak at a WordCamp, write about WordPress on your blog. Whatever your skill, <a href="%s">we&#8217;d love to have you</a>!', 'wporg' ) ),
    194                                                                 esc_url( 'https://make.wordpress.org/' )
     194                                                                'https://make.wordpress.org/'
    195195                                                        );
    196196                                                        ?>
    … …  
    207207                                                                /* translators: 1: Link to Developer Hub; 2: Link to Plugin Directory */
    208208                                                                wp_kses_post( __( 'The <a href="%1$s">WordPress APIs</a> make it possible for you to create plugins to extend WordPress. WordPress&#8217;s extensibility lies in the thousands of hooks at your disposal. Once you&#8217;ve created your plugin, we&#8217;ve even got a <a href="%2$s">plugin repository</a> for you to host it on.', 'wporg' ) ),
    209                                                                 esc_url( 'https://developer.wordpress.org/' ),
     209                                                                'https://developer.wordpress.org/',
    210210                                                                esc_url( home_url( '/plugins/' ) )
    211211                                                        );
    … …  
    217217                                                                /* translators: 1: Link to Theme Developer Handbook; 2: Link to Theme Directory */
    218218                                                                wp_kses_post( __( 'Create WordPress themes for clients, other WordPress users, or yourself. WordPress provides the extensibility to <a href="%1$s">create themes</a> as simple or as complex as you wish. If you want to give your theme away for free you can give it to users in the <a href="%2$s">theme repository</a>.', 'wporg' ) ),
    219                                                                 esc_url( 'https://developer.wordpress.org/themes/' ),
     219                                                                'https://developer.wordpress.org/themes/',
    220220                                                                esc_url( home_url( '/themes/' ) )
    221221                                                        );
    … …  
    227227                                                                /* translators: %s: Link to REST API Handbook */
    228228                                                                wp_kses_post( __( 'If you want to build an application, WordPress can help with that too. WordPress provides a lot of the features under the hood that your app will need: translations, user management, HTTP requests, databases, URL routing and much, much more. You can also use our <a href="%s">REST API</a> to interact with it.', 'wporg' ) ),
    229                                                                 esc_url( 'https://developer.wordpress.org/rest-api/' )
     229                                                                'https://developer.wordpress.org/rest-api/'
    230230                                                        );
    231231                                                        ?>
    … …  
    236236                                                                /* translators: 1: Link to Plugin Handbook page about custom post types; 2: Link to Plugin Handbook page about custom taxonomies; 3: Link to Plugin Handbook page about metadata */
    237237                                                                wp_kses_post( __( 'WordPress comes with default content types, but for more flexibility you can add a few lines of code to create your own <a href="%1$s">custom post types</a>, <a href="%2$s">taxonomies</a>, and <a href="%3$s">metadata</a>. Take WordPress in whatever direction you wish.', 'wporg' ) ),
    238                                                                 esc_url( 'https://developer.wordpress.org/plugins/post-types/' ),
    239                                                                 esc_url( 'https://developer.wordpress.org/plugins/taxonomies/' ),
    240                                                                 esc_url( 'https://developer.wordpress.org/plugins/metadata/' )
     238                                                                'https://developer.wordpress.org/plugins/post-types/',
     239                                                                'https://developer.wordpress.org/plugins/taxonomies/',
     240                                                                'https://developer.wordpress.org/plugins/metadata/'
    241241                                                        );
    242242                                                        ?>
Note: See TracChangeset for help on using the changeset viewer.