Making WordPress.org

Changeset 10000


Ignore:
Timestamp:
07/03/2020 03:11:38 AM (4 years ago)
Author:
dd32
Message:

Pinking shears, 10000

Location:
sites/trunk
Files:
52 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/api.wordpress.org/public_html/core/browse-happy/1.0/parse.php

    r9446 r10000  
    280280        );
    281281        $ver = $tokens['Trident'];
    282         $data['version'] = $trident_ie_mapping[ $ver ] ?? $ver; 
     282        $data['version'] = $trident_ie_mapping[ $ver ] ?? $ver;
    283283    }
    284284    // Internet Explorer (pre v8.0)
  • sites/trunk/api.wordpress.org/public_html/dotorg/trac/pr/class-trac.php

    r9370 r10000  
    2828    /**
    2929     * Update a Trac ticket to add a comment, or alter ticket properties.
    30      * 
     30     *
    3131     * To set the Author or Time of a comment, the Trac API user must have TICKET_ADMIN priv.
    3232     */
     
    9696            'timeout'       => 5,
    9797            'ignore_errors' => true,
    98             'header'        => 
     98            'header'        =>
    9999                [
    100100                    'Content-Type: application/json',
     
    129129    /**
    130130     * Call the Back-channel WordPress Trac API.
    131      * 
     131     *
    132132     * For valid $methods to call, see: https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html/wp-content/plugins/trac-notifications/trac-notifications-db.php
    133133     */
  • sites/trunk/api.wordpress.org/public_html/dotorg/trac/pr/functions.php

    r9900 r10000  
    191191/**
    192192 * Fetch an App Authorization token for accessing Github Resources.
    193  * 
     193 *
    194194 * This assumes that the Github App will only ever be installed on the @WordPress organization.
    195195 */
     
    230230/**
    231231 * Use some rough heuristics to find the Trac ticket for a given PR.
    232  * 
     232 *
    233233 * TODO: This should probably support multiple Trac Tickets, but once you start to use the final few regexes it can start to match Gutenberg references.
    234234 */
     
    290290/**
    291291 * Formats a PR description for usage on Trac.
    292  * 
     292 *
    293293 * This strips out HTML comments and standard boilerplate text.
    294  * 
     294 *
    295295 * @param object $pr_data PR Data.
    296296 * @return string Stripped down PR Description
  • sites/trunk/browsehappy.com/public_html/index.php

    r9404 r10000  
    11<?php defined( 'ABSPATH' ) or die(); ?>
    2 <!DOCTYPE html> 
     2<!DOCTYPE html>
    33
    44<!--[if lt IE 7 ]> <html <?php language_attributes(); ?> class="no-js ie6"> <![endif]-->
  • sites/trunk/buddypress.org/public_html/wp-content/themes/bporg-developer/page-under-construction.php

    r9131 r10000  
    2323                    <?php while ( have_posts() ) : the_post(); ?>
    2424
    25                         <?php if ( get_the_content() ) : 
     25                        <?php if ( get_the_content() ) :
    2626                            get_template_part( 'content', 'page' );
    27                            
     27
    2828                        else: ?>
    2929                            <h2><?php esc_html_e( 'Under construction', 'bporg-developer' ); ?></h2>
  • sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/sidebar.php

    r9942 r10000  
    8888                echo '<h5>' . esc_html( $userdata->display_name ) . '</h5>';
    8989                echo '<p>' . esc_html( $count ) . ' document';
    90                 if ( $count > 1 ) 
     90                if ( $count > 1 )
    9191                    echo 's';
    9292                echo '</p>';
  • sites/trunk/common/includes/wporg-sso/wp-plugin.php

    r9941 r10000  
    416416            $user = get_user_by( 'id', $user_id );
    417417            if ( $user ) {
    418                 $valid_remote_hash = hash_equals( 
     418                $valid_remote_hash = hash_equals(
    419419                    $this->_generate_remote_login_hash( $user, $valid_until, $remember_me ),
    420420                    $sso_hash
  • sites/trunk/jobs.wordpress.net/public_html/wp-content/plugins/jobswp/jobswp-captcha.php

    r8402 r10000  
    114114                $verify = array(
    115115                    'secret'    => self::get_secret_key(),
    116                     'remoteip'  => $_SERVER['REMOTE_ADDR'], 
     116                    'remoteip'  => $_SERVER['REMOTE_ADDR'],
    117117                    'response'  => $_POST['g-recaptcha-response'],
    118118                );
     
    137137     * Amends notice on job verfication page to point out the captcha.
    138138     *
    139      * @param string $type The type of notice being displayed. 
     139     * @param string $type The type of notice being displayed.
    140140     */
    141141    public static function add_notice( $type ) {
  • sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp/css/996/grid.css

    r88 r10000  
    1414   Base 966px Grid
    1515   ========================================================================== */
    16    
     16
    1717    body {min-width: 996px;}
    1818
     
    234234   Less than 768px
    235235   ========================================================================== */
    236    
     236
    237237@media only screen and (max-width: 767px) {
    238238   
     
    287287   
    288288    .container .push_1, .container .push_2,
    289     .container .push_3, .container .push_4, 
     289    .container .push_3, .container .push_4,
    290290    .container .push_5, .container .push_6,
    291     .container .push_7, .container .push_8, 
     291    .container .push_7, .container .push_8,
    292292    .container .push_9, .container .push_10,
    293293    .container .push_11 {
  • sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp/css/dashicons.css

    r88 r10000  
    374374}
    375375
    376 .dashicons-share1:before { 
     376.dashicons-share1:before {
    377377    content:'\f237';
    378378}
    379379
    380 .dashicons-share2:before { 
     380.dashicons-share2:before {
    381381    content:'\f240';
    382382}
    383383
    384 .dashicons-share3:before { 
     384.dashicons-share3:before {
    385385    content:'\f242';
    386386}
    387387
    388 .dashicons-twitter1:before { 
     388.dashicons-twitter1:before {
    389389    content:'\f301';
    390390}
    391391
    392 .dashicons-twitter2:before { 
     392.dashicons-twitter2:before {
    393393    content:'\f302';
    394394}
    395395
    396 .dashicons-rss:before { 
     396.dashicons-rss:before {
    397397    content:'\f303';
    398398}
    399399
    400 .dashicons-facebook1:before { 
     400.dashicons-facebook1:before {
    401401    content:'\f304';
    402402}
    403403
    404 .dashicons-facebook2:before { 
     404.dashicons-facebook2:before {
    405405    content:'\f305';
    406406}
     
    409409/* Jobs Icons */
    410410
    411 .dashicons-jobs-developers:before { 
     411.dashicons-jobs-developers:before {
    412412    content:'\f308';
    413413}
    414414
    415 .dashicons-jobs-designers:before { 
     415.dashicons-jobs-designers:before {
    416416    content:'\f309';
    417417}
    418418
    419 .dashicons-jobs-migration:before { 
     419.dashicons-jobs-migration:before {
    420420    content:'\f310';
    421421}
    422422
    423 .dashicons-jobs-performance:before { 
     423.dashicons-jobs-performance:before {
    424424    content:'\f311';
    425425}
     
    488488}
    489489
    490 .dashicons-camera2:before { 
     490.dashicons-camera2:before {
    491491    content:'\f306';
    492492}
     
    548548}
    549549
    550 .dashicons-bargraph2:before { 
     550.dashicons-bargraph2:before {
    551551    content:'\f238';
    552552}
    553553
    554 .dashicons-bargraph3:before { 
     554.dashicons-bargraph3:before {
    555555    content:'\f239';
    556556}
     
    560560}
    561561
    562 .dashicons-groups:before { 
     562.dashicons-groups:before {
    563563    content:'\f307';
    564564}
    565565
    566 .dashicons-products:before { 
     566.dashicons-products:before {
    567567    content:'\f312';
    568568}
    569569
    570 .dashicons-awards:before { 
     570.dashicons-awards:before {
    571571    content:'\f313';
    572572}
    573573
    574 .dashicons-forms:before { 
     574.dashicons-forms:before {
    575575    content:'\f314';
    576576}
    577577
    578 .dashicons-lock:before { 
     578.dashicons-lock:before {
    579579    content:'\f315';
    580580}
    581581
    582 .dashicons-arrow-down:before { 
     582.dashicons-arrow-down:before {
    583583    content:'\f316';
    584584}
    585585
    586 .dashicons-arrow-up:before { 
     586.dashicons-arrow-up:before {
    587587    content:'\f317';
    588588}
    589589
    590 .dashicons-directory:before { 
     590.dashicons-directory:before {
    591591    content:'\f318';
    592592}
  • sites/trunk/jobs.wordpress.net/public_html/wp-content/themes/jobswp/functions.php

    r9460 r10000  
    131131/**
    132132 * Outputs `noindex,follow` robots tag for appropriate pages.
    133  * 
     133 *
    134134 * Currently output for:
    135135 * - empty job category archives
  • sites/trunk/wordpress.org/public_html/style/codex-wp4.css

    r5786 r10000  
    1414}
    1515#bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5, #bodyContent h6 {
    16     font-family: Georgia, "Times New Roman", Times, serif; 
     16    font-family: Georgia, "Times New Roman", Times, serif;
    1717        border-bottom: 1px solid #dadada;
    1818        font-weight: normal;
     
    191191td.diff-deletedline,
    192192td.diff-context {
    193     white-space: pre-wrap; 
     193    white-space: pre-wrap;
    194194    font-size: smaller;
    195195}
     
    211211
    212212#bodyContent #Copyedit {
    213 border: solid 1px transparent; 
     213border: solid 1px transparent;
    214214    -moz-border-radius: 3px;
    215215    -khtml-border-radius: 3px; 
    216216    -webkit-border-radius: 3px;
    217 background-color: #eef; 
    218 text-align: center; 
    219 padding: 1em 1em 1px 1em; 
     217background-color: #eef;
     218text-align: center;
     219padding: 1em 1em 1px 1em;
    220220margin: 1em 0;
    221221
  • sites/trunk/wordpress.org/public_html/style/trac/common/css/ticket.css

    r7088 r10000  
    272272#propertyform {
    273273 clear: both;
    274  margin-bottom: 2em; 
     274 margin-bottom: 2em;
    275275}
    276276#propertyform table.trac-properties {
  • sites/trunk/wordpress.org/public_html/style/wp4-rtl.css

    r9910 r10000  
    1 /* Grunt needs to be run after changes are made to compile wp4-rtl.css */ 
     1/* Grunt needs to be run after changes are made to compile wp4-rtl.css */
    22
    33/* The Reset ---------------------------------- */
  • sites/trunk/wordpress.org/public_html/style/wp4.css

    r9910 r10000  
    1 /* Grunt needs to be run after changes are made to compile wp4-rtl.css */ 
     1/* Grunt needs to be run after changes are made to compile wp4-rtl.css */
    22
    33/* The Reset ---------------------------------- */
  • sites/trunk/wordpress.org/public_html/wp-content/mu-plugins/pub/wporg-bad-request.php

    r9939 r10000  
    3434 * Detect invalid query parameters being passed in Core query fields.
    3535 * Generally causes WP_Query to throw a PHP Warning.
    36  * 
     36 *
    3737 * @see https://core.trac.wordpress.org/ticket/17737
    3838 */
     
    5151/**
    5252 * Detect invalid parameters being passed to the Jetpack Subscription widget.
    53  * 
     53 *
    5454 * @see https://github.com/Automattic/jetpack/pull/15638
    5555 */
     
    9999/**
    100100 * Die with a 400 Bad Request.
    101  * 
     101 *
    102102 * @param string $reference A unique identifying string to make it easier to read logs.
    103103 */
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/template-tags.php

    r8665 r10000  
    8585 function wporg_is_handbook_landing_page() {
    8686     return $GLOBALS['wp_query']->is_handbook_root;
    87  } 
     87 }
    8888
    8989/**
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/official-wordpress-events/official-wordpress-event.php

    r9632 r10000  
    33/*
    44 * An official WordPress event
    5  * 
     5 *
    66 * This doesn't have any real functionality, but it exists to provide a standard data structure
    77 * for events across various event types. It mostly matches the schema for the `wporg_events`
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php

    r9996 r10000  
    13991399    /**
    14001400     * Skip outdated plugins in Jetpack Sitemaps.
    1401      * 
     1401     *
    14021402     * @param bool $skip If this post should be excluded from Sitemaps.
    14031403     * @param object $plugin_db_row A row from the wp_posts table.
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-tools.php

    r9682 r10000  
    596596    /**
    597597     * Add an Audit Internal Note for a plugin.
    598      * 
     598     *
    599599     * @param int|string|WP_Post $plugin A Post ID, Plugin Slug or, WP_Post object.
    600600     * @param string $note The note to audit log entry to add.
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-block-plugin-checker.php

    r9997 r10000  
    267267            'check_name' => $check_name,
    268268            'type' => $type,
    269             'message' => $message, 
     269            'message' => $message,
    270270            'data' => $data );
    271271    }
     
    331331                        continue; // It's this very same plugin
    332332
    333                     $this->record_result( __FUNCTION__, 
    334                         'info', 
    335                         sprintf( __( 'Block name already exists in plugin %s', 'wporg-plugins' ), $query->posts[0]->post_name ), 
     333                    $this->record_result( __FUNCTION__,
     334                        'info',
     335                        sprintf( __( 'Block name already exists in plugin %s', 'wporg-plugins' ), $query->posts[0]->post_name ),
    336336                        [ 'block_name' => $block->name, 'slug' => $post->post_name ]
    337337                    );
     
    472472    function check_block_json_is_valid() {
    473473        foreach ( $this->block_json_validation as $block_json_file => $result ) {
    474             if ( true === $result ) { 
     474            if ( true === $result ) {
    475475                $this->record_result( __FUNCTION__,
    476476                    'info',
     
    490490                            ( 'error' === $code ? 'warning' : $code ), // TODO: be smarter about mapping these
    491491                            $message,
    492                             array( 
     492                            array(
    493493                                $this->relative_filename( $block_json_file ),
    494494                                $result->get_error_data( $code )
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/libs/michelf-php-markdown-1.6.0/Michelf/Markdown.php

    r2638 r10000  
    33# Markdown  -  A text-to-HTML conversion tool for web writers
    44#
    5 # PHP Markdown 
    6 # Copyright (c) 2004-2015 Michel Fortin 
     5# PHP Markdown
     6# Copyright (c) 2004-2015 Michel Fortin
    77# <https://michelf.ca/projects/php-markdown/>
    88#
    9 # Original Markdown 
    10 # Copyright (c) 2004-2006 John Gruber 
     9# Original Markdown
     10# Copyright (c) 2004-2006 John Gruber
    1111# <https://daringfireball.net/projects/markdown/>
    1212#
     
    7474    # 2. List item two
    7575    # 3. List item three
    76     # 
     76    #
    7777    # becomes
    7878    # <ol start="2">
     
    104104        $this->prepareItalicsAndBold();
    105105   
    106         $this->nested_brackets_re = 
     106        $this->nested_brackets_re =
    107107            str_repeat('(?>[^\[\]]+|\[', $this->nested_brackets_depth).
    108108            str_repeat('\])*', $this->nested_brackets_depth);
    109109   
    110         $this->nested_url_parenthesis_re = 
     110        $this->nested_url_parenthesis_re =
    111111            str_repeat('(?>[^()\s]+|\(', $this->nested_url_parenthesis_depth).
    112112            str_repeat('(?>\)))*', $this->nested_url_parenthesis_depth);
     
    132132    protected function setup() {
    133133    #
    134     # Called before the transformation process starts to setup parser 
     134    # Called before the transformation process starts to setup parser
    135135    # states.
    136136    #
     
    145145    protected function teardown() {
    146146    #
    147     # Called after the transformation process to clear any variable 
     147    # Called after the transformation process to clear any variable
    148148    # which may be taking up memory unnecessarly.
    149149    #
     
    257257        #
    258258        # *  List "a" is made of tags which can be both inline or block-level.
    259         #    These will be treated block-level when the start tag is alone on 
    260         #    its line, otherwise they're not matched here and will be taken as 
     259        #    These will be treated block-level when the start tag is alone on
     260        #    its line, otherwise they're not matched here and will be taken as
    261261        #    inline later.
    262262        # *  List "b" is made of tags which are always block-level;
     
    325325            (                       # save in $1
    326326
    327               # Match from `\n<tag>` to `</tag>\n`, handling nested tags 
     327              # Match from `\n<tag>` to `</tag>\n`, handling nested tags
    328328              # in between.
    329329                   
     
    346346                        (?=\n+|\Z)  # followed by a newline or end of document
    347347                   
    348             | # Special case just for <hr />. It was easier to make a special 
     348            | # Special case just for <hr />. It was easier to make a special
    349349              # case than to make the other regex more complicated.
    350350           
     
    392392    protected function hashPart($text, $boundary = 'X') {
    393393    #
    394     # Called whenever a tag must be hashed when a function insert an atomic 
     394    # Called whenever a tag must be hashed when a function insert an atomic
    395395    # element in the text stream. Passing $text to through this function gives
    396396    # a unique text-token which will be reverted back when calling unhash.
     
    438438    # Run block gamut tranformations.
    439439    #
    440         # We need to escape raw HTML in Markdown source before doing anything 
    441         # else. This need to be done for each block, and not only at the 
     440        # We need to escape raw HTML in Markdown source before doing anything
     441        # else. This need to be done for each block, and not only at the
    442442        # begining in the Markdown function since hashed blocks can be part of
    443         # list items and could have been indented. Indented blocks would have 
     443        # list items and could have been indented. Indented blocks would have
    444444        # been seen as a code block in a previous pass of hashHTMLBlocks.
    445445        $text = $this->hashHTMLBlocks($text);
     
    450450    protected function runBasicBlockGamut($text) {
    451451    #
    452     # Run block gamut tranformations, without hashing HTML blocks. This is 
     452    # Run block gamut tranformations, without hashing HTML blocks. This is
    453453    # useful when HTML blocks are known to be already hashed, like in the first
    454454    # whole-document pass.
     
    478478                $           # End of line.
    479479            }mx',
    480             "\n".$this->hashBlock("<hr$this->empty_element_suffix")."\n", 
     480            "\n".$this->hashBlock("<hr$this->empty_element_suffix")."\n",
    481481            $text);
    482482    }
     
    521521    protected function doHardBreaks($text) {
    522522        # Do hard breaks:
    523         return preg_replace_callback('/ {2,}\n/', 
     523        return preg_replace_callback('/ {2,}\n/',
    524524            array($this, '_doHardBreaks_callback'), $text);
    525525    }
     
    681681
    682682            )
    683             }xs', 
     683            }xs',
    684684            array($this, '_doImages_reference_callback'), $text);
    685685
     
    766766        #     Header 1
    767767        #     ========
    768         # 
     768        #
    769769        #     Header 2
    770770        #     --------
     
    988988        $tailing_blank_line =& $matches[5];
    989989
    990         if ($leading_line || $tailing_blank_line || 
     990        if ($leading_line || $tailing_blank_line ||
    991991            preg_match('/\n{2,}/', $item))
    992992        {
     
    11051105           
    11061106            #
    1107             # Each loop iteration search for the next emphasis token. 
     1107            # Each loop iteration search for the next emphasis token.
    11081108            # Each token is then passed to handleSpanToken.
    11091109            #
     
    11611161                    }
    11621162                } else {
    1163                     # Reached opening three-char emphasis marker. Push on token 
     1163                    # Reached opening three-char emphasis marker. Push on token
    11641164                    # stack; will be handled by the special condition above.
    11651165                    $em = $token{0};
     
    12351235
    12361236        $bq = preg_replace('/^/m', "  ", $bq);
    1237         # These leading spaces cause problem with <pre> content, 
     1237        # These leading spaces cause problem with <pre> content,
    12381238        # so we need to fix that:
    1239         $bq = preg_replace_callback('{(\s*<pre>.+?</pre>)}sx', 
     1239        $bq = preg_replace_callback('{(\s*<pre>.+?</pre>)}sx',
    12401240            array($this, '_doBlockQuotes_callback2'), $bq);
    12411241
     
    13591359    protected function encodeAmpsAndAngles($text) {
    13601360    #
    1361     # Smart processing for ampersands and angle brackets that need to 
     1361    # Smart processing for ampersands and angle brackets that need to
    13621362    # be encoded. Valid character entities are left alone unless the
    13631363    # no-entities mode is set.
     
    13681368            # Ampersand-encoding based entirely on Nat Irons's Amputator
    13691369            # MT plugin: <http://bumppo.net/projects/amputator/>
    1370             $text = preg_replace('/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/', 
     1370            $text = preg_replace('/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/',
    13711371                                '&amp;', $text);
    13721372        }
     
    14981498        while (1) {
    14991499            #
    1500             # Each loop iteration seach for either the next tag, the next 
    1501             # openning code span marker, or the next escaped character. 
     1500            # Each loop iteration seach for either the next tag, the next
     1501            # openning code span marker, or the next escaped character.
    15021502            # Each token is then passed to handleSpanToken.
    15031503            #
     
    15251525    protected function handleSpanToken($token, &$str) {
    15261526    #
    1527     # Handle $token provided by parseSpan by determining its nature and 
     1527    # Handle $token provided by parseSpan by determining its nature and
    15281528    # returning the corresponding value that should replace it.
    15291529    #
     
    15331533            case "`":
    15341534                # Search for end marker in remaining text.
    1535                 if (preg_match('/^(.*?[^`])'.preg_quote($token).'(?!`)(.*)$/sm', 
     1535                if (preg_match('/^(.*?[^`])'.preg_quote($token).'(?!`)(.*)$/sm',
    15361536                    $str, $matches))
    15371537                {
     
    15551555
    15561556
    1557     # String length function for detab. `_initDetab` will create a function to 
     1557    # String length function for detab. `_initDetab` will create a function to
    15581558    # hanlde UTF-8 if the default function does not exist.
    15591559    protected $utf8_strlen = 'mb_strlen';
     
    15641564    #
    15651565        # For each line we separate the line in blocks delemited by
    1566         # tab characters. Then we reconstruct every line by adding the 
     1566        # tab characters. Then we reconstruct every line by adding the
    15671567        # appropriate number of space between each blocks.
    15681568       
     
    15831583        foreach ($blocks as $block) {
    15841584            # Calculate amount of space, insert spaces, insert block.
    1585             $amount = $this->tab_width - 
     1585            $amount = $this->tab_width -
    15861586                $strlen($line, 'UTF-8') % $this->tab_width;
    15871587            $line .= str_repeat(" ", $amount) . $block;
     
    15921592    #
    15931593    # Check for the availability of the function in the `utf8_strlen` property
    1594     # (initially `mb_strlen`). If the function is not available, create a 
     1594    # (initially `mb_strlen`). If the function is not available, create a
    15951595    # function that will loosely count the number of UTF-8 characters with a
    15961596    # regular expression.
     
    15981598        if (function_exists($this->utf8_strlen)) return;
    15991599        $this->utf8_strlen = create_function('$text', 'return preg_match_all(
    1600             "/[\\\\x00-\\\\xBF]|[\\\\xC0-\\\\xFF][\\\\x80-\\\\xBF]*/", 
     1600            "/[\\\\x00-\\\\xBF]|[\\\\xC0-\\\\xFF][\\\\x80-\\\\xBF]*/",
    16011601            $text, $m);');
    16021602    }
     
    16071607    # Swap back in all the tags hashed by _HashHTMLBlocks.
    16081608    #
    1609         return preg_replace_callback('/(.)\x1A[0-9]+\1/', 
     1609        return preg_replace_callback('/(.)\x1A[0-9]+\1/',
    16101610            array($this, '_unhash_callback'), $text);
    16111611    }
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/libs/michelf-php-markdown-1.6.0/Michelf/MarkdownExtra.php

    r2638 r10000  
    44#
    55# PHP Markdown Extra
    6 # Copyright (c) 2004-2015 Michel Fortin 
     6# Copyright (c) 2004-2015 Michel Fortin
    77# <https://michelf.ca/projects/php-markdown/>
    88#
    99# Original Markdown
    10 # Copyright (c) 2004-2006 John Gruber 
     10# Copyright (c) 2004-2006 John Gruber
    1111# <https://daringfireball.net/projects/markdown/>
    1212#
     
    5858    # Constructor function. Initialize the parser object.
    5959    #
    60         # Add extra escapable characters before parent constructor 
     60        # Add extra escapable characters before parent constructor
    6161        # initialize the table.
    6262        $this->escape_chars .= ':|';
    6363       
    64         # Insert extra document, block, and span transformations. 
     64        # Insert extra document, block, and span transformations.
    6565        # Parent constructor will do the sorting.
    6666        $this->document_gamut += array(
     
    237237    # Tags that are always treated as block tags:
    238238    protected $block_tags_re = 'p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|address|form|fieldset|iframe|hr|legend|article|section|nav|aside|hgroup|header|footer|figcaption|figure';
    239                            
     239                       
    240240    # Tags treated as block tags only if the opening tag is alone on its line:
    241241    protected $context_block_tags_re = 'script|noscript|style|ins|del|iframe|object|source|track|param|math|svg|canvas|audio|video';
     
    244244    protected $contain_span_tags_re = 'p|h[1-6]|li|dd|dt|td|th|legend|address';
    245245   
    246     # Tags which must not have their contents modified, no matter where 
     246    # Tags which must not have their contents modified, no matter where
    247247    # they appear:
    248248    protected $clean_tags_re = 'script|style|math|svg';
     
    263263    #
    264264    # This works by calling _HashHTMLBlocks_InMarkdown, which then calls
    265     # _HashHTMLBlocks_InHTML when it encounter block tags. When the markdown="1" 
     265    # _HashHTMLBlocks_InHTML when it encounter block tags. When the markdown="1"
    266266    # attribute is found within a tag, _HashHTMLBlocks_InHTML calls back
    267267    #  _HashHTMLBlocks_InMarkdown to handle the Markdown syntax within the tag.
     
    283283    # Parse markdown text, calling _HashHTMLBlocks_InHTML for block tags.
    284284    #
    285     # *   $indent is the number of space to be ignored when checking for code 
    286     #     blocks. This is important because if we don't take the indent into 
     285    # *   $indent is the number of space to be ignored when checking for code
     286    #     blocks. This is important because if we don't take the indent into
    287287    #     account, something like this (which looks right) won't work as expected:
    288288    #
     
    296296    #     you apply the markdown="1" attribute.
    297297    #
    298     # *   If $enclosing_tag_re is not empty, stops at the first unmatched closing 
     298    # *   If $enclosing_tag_re is not empty, stops at the first unmatched closing
    299299    #     tag with that name. Nested tags supported.
    300300    #
    301     # *   If $span is true, text inside must treated as span. So any double 
    302     #     newline will be replaced by a single newline so that it does not create 
     301    # *   If $span is true, text inside must treated as span. So any double
     302    #     newline will be replaced by a single newline so that it does not create
    303303    #     paragraphs.
    304304    #
     
    309309        # Regex to check for the presense of newlines around a block tag.
    310310        $newline_before_re = '/(?:^\n?|\n\n)*$/';
    311         $newline_after_re = 
     311        $newline_after_re =
    312312            '{
    313313                ^                       # Start of text following the tag.
     
    382382            # Split the text using the first $tag_match pattern found.
    383383            # Text before  pattern will be first in the array, text after
    384             # pattern will be at the end, and between will be any catches made 
     384            # pattern will be at the end, and between will be any catches made
    385385            # by the pattern.
    386386            #
    387             $parts = preg_split($block_tag_re, $text, 2, 
     387            $parts = preg_split($block_tag_re, $text, 2,
    388388                                PREG_SPLIT_DELIM_CAPTURE);
    389389           
    390             # If in Markdown span mode, add a empty-string span-level hash 
     390            # If in Markdown span mode, add a empty-string span-level hash
    391391            # after each newline to prevent triggering any block element.
    392392            if ($span) {
     
    418418                $fence_re = $capture[2]; # use captured fence in re
    419419                if (preg_match('{^(?>.*\n)*?[ ]{'.($fence_indent).'}'.$fence_re.'[ ]*(?:\n|$)}', $text,
    420                     $matches)) 
     420                    $matches))
    421421                {
    422422                    # End marker found: pass text unchanged until marker.
     
    433433            #
    434434            else if ($tag{0} == "\n" || $tag{0} == " ") {
    435                 # Indented code block: pass it unchanged, will be handled 
     435                # Indented code block: pass it unchanged, will be handled
    436436                # later.
    437437                $parsed .= $tag;
     
    458458            #
    459459            # Check for: Opening Block level tag or
    460             #            Opening Context Block tag (like ins and del) 
     460            #            Opening Context Block tag (like ins and del)
    461461            #               used as a block tag (tag is alone on it's line).
    462462            #
     
    468468            {
    469469                # Need to parse tag and following text using the HTML parser.
    470                 list($block_text, $text) = 
     470                list($block_text, $text) =
    471471                    $this->_hashHTMLBlocks_inHTML($tag . $text, "hashBlock", true);
    472472               
     
    483483                # Need to parse tag and following text using the HTML parser.
    484484                # (don't check for markdown attribute)
    485                 list($block_text, $text) = 
     485                list($block_text, $text) =
    486486                    $this->_hashHTMLBlocks_inHTML($tag . $text, "hashClean", false);
    487487               
     
    591591            # Split the text using the first $tag_match pattern found.
    592592            # Text before  pattern will be first in the array, text after
    593             # pattern will be at the end, and between will be any catches made 
     593            # pattern will be at the end, and between will be any catches made
    594594            # by the pattern.
    595595            #
     
    600600                # End of $text reached with unbalenced tag(s).
    601601                # In that case, we return original text unchanged and pass the
    602                 # first character as filtered to prevent an infinite loop in the 
     602                # first character as filtered to prevent an infinite loop in the
    603603                # parent function.
    604604                #
     
    633633                # Check for `markdown="1"` attribute and handle it.
    634634                #
    635                 if ($md_attr && 
     635                if ($md_attr &&
    636636                    preg_match($markdown_attr_re, $tag, $attr_m) &&
    637637                    preg_match('/^1|block|span$/', $attr_m[2] . $attr_m[3]))
     
    664664                    # Parse the content using the HTML-in-Markdown parser.
    665665                    list ($block_text, $text)
    666                         = $this->_hashHTMLBlocks_inMarkdown($text, $indent, 
     666                        = $this->_hashHTMLBlocks_inMarkdown($text, $indent,
    667667                            $tag_name_re, $span_mode);
    668668                   
    669669                    # Outdent markdown text.
    670670                    if ($indent > 0) {
    671                         $block_text = preg_replace("/^[ ]{1,$indent}/m", "", 
     671                        $block_text = preg_replace("/^[ ]{1,$indent}/m", "",
    672672                                                    $block_text);
    673673                    }
     
    697697    #
    698698    # Called whenever a tag must be hashed when a function inserts a "clean" tag
    699     # in $text, it passes through this function and is automaticaly escaped, 
     699    # in $text, it passes through this function and is automaticaly escaped,
    700700    # blocking invalid nested overlap.
    701701    #
     
    861861
    862862            )
    863             }xs', 
     863            }xs',
    864864            array($this, '_doImages_reference_callback'), $text);
    865865
     
    954954        #     Header 1  {#header1}
    955955        #     ========
    956         # 
     956        #
    957957        #     Header 2  {#header2 .class1 .class2}
    958958        #     --------
     
    11111111        }
    11121112       
    1113         # Parsing span elements, including code spans, character escapes, 
     1113        # Parsing span elements, including code spans, character escapes,
    11141114        # and inline HTML tags, so that pipes inside those gets ignored.
    11151115        $head       = $this->parseSpan($head);
     
    11321132        $text .= "<tbody>\n";
    11331133        foreach ($rows as $row) {
    1134             # Parsing span elements, including code spans, character escapes, 
     1134            # Parsing span elements, including code spans, character escapes,
    11351135            # and inline HTML tags, so that pipes inside those gets ignored.
    11361136            $row = $this->parseSpan($row);
     
    12251225                (?> \S.* \n)+?              # actual term (not whitespace).
    12261226            )           
    1227             (?=\n?[ ]{0,3}:[ ])             # lookahead for following line feed 
     1227            (?=\n?[ ]{0,3}:[ ])             # lookahead for following line feed
    12281228                                            #   with a definition mark.
    12291229            }xm',
     
    13471347    }
    13481348    protected function _doFencedCodeBlocks_newlines($matches) {
    1349         return str_repeat("<br$this->empty_element_suffix", 
     1349        return str_repeat("<br$this->empty_element_suffix",
    13501350            strlen($matches[0]));
    13511351    }
     
    13991399        }
    14001400       
    1401         # Join grafs in one text, then unhash HTML tags. 
     1401        # Join grafs in one text, then unhash HTML tags.
    14021402        $text = implode("\n\n", $grafs);
    14031403       
     
    14271427                    .+              # actual text
    14281428                |
    1429                     \n              # newlines but 
     1429                    \n              # newlines but
    14301430                    (?!\[.+?\][ ]?:\s)# negative lookahead for footnote or link definition marker.
    1431                     (?!\n+[ ]{0,3}\S)# ensure line is not blank and followed 
     1431                    (?!\n+[ ]{0,3}\S)# ensure line is not blank and followed
    14321432                                    # by non-indented content
    14331433                )*
     
    14471447    protected function doFootnotes($text) {
    14481448    #
    1449     # Replace footnote references in $text [^id] with a special text-token 
     1449    # Replace footnote references in $text [^id] with a special text-token
    14501450    # which will be replaced by the actual footnote marker in appendFootnotes.
    14511451    #
     
    14611461    # Append footnote list to text.
    14621462    #
    1463         $text = preg_replace_callback('{F\x1Afn:(.*?)\x1A:}', 
     1463        $text = preg_replace_callback('{F\x1Afn:(.*?)\x1A:}',
    14641464            array($this, '_appendFootnotes_callback'), $text);
    14651465   
     
    14941494                $footnote .= "\n"; # Need to append newline before parsing.
    14951495                $footnote = $this->runBlockGamut("$footnote\n");               
    1496                 $footnote = preg_replace_callback('{F\x1Afn:(.*?)\x1A:}', 
     1496                $footnote = preg_replace_callback('{F\x1Afn:(.*?)\x1A:}',
    14971497                    array($this, '_appendFootnotes_callback'), $footnote);
    14981498               
     
    15981598    #
    15991599        if ($this->abbr_word_re) {
    1600             // cannot use the /x modifier because abbr_word_re may 
     1600            // cannot use the /x modifier because abbr_word_re may
    16011601            // contain significant spaces:
    16021602            $text = preg_replace_callback('{'.
     
    16041604                '(?:'.$this->abbr_word_re.')'.
    16051605                '(?![\w\x1A])'.
    1606                 '}', 
     1606                '}',
    16071607                array($this, '_doAbbreviations_callback'), $text);
    16081608        }
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-reviews.php

    r9652 r10000  
    2222        if ( empty( $reviews ) ) {
    2323            return sprintf(
    24                 '<div class="notice notice-warning notice-alt"><p>%s</p></div>', 
     24                '<div class="notice notice-warning notice-alt"><p>%s</p></div>',
    2525                __( 'There are no reviews for this plugin.', 'wporg-plugins' )
    2626            );
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-hooks.php

    r9894 r10000  
    273273            $hidden_topic = get_post( $post_id );
    274274
    275             if ( $hidden_topic && 
     275            if ( $hidden_topic &&
    276276                 in_array( $hidden_topic->post_status, array( 'spam', 'pending', 'archived' ) ) &&
    277277                 ! current_user_can( 'read_topic', $hidden_topic->ID )
     
    11451145    /**
    11461146     * Add support for Slack and Trac style code formatting.
    1147      * 
     1147     *
    11481148     * Upon edit, the blocks will be unwrapped to bbPress style blocks.
    1149      * 
     1149     *
    11501150     * See `bbp_code_trick()` for the regex below.
    11511151     */
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-ratings-compat.php

    r9985 r10000  
    193193
    194194        // Undo the above filter, for titles of replies to reviews. See #meta4254
    195         add_filter( 'bbp_get_topic_last_topic_title', array( $this, 'undo_topic_title' ), 10, 1 ); 
     195        add_filter( 'bbp_get_topic_last_topic_title', array( $this, 'undo_topic_title' ), 10, 1 );
    196196?>
    197197<div class="review-ratings">
     
    327327
    328328            // set the rating
    329             \WPORG_Ratings::set_rating( 
    330                 $topic_id, 
    331                 $this->compat, 
    332                 $this->slug, 
    333                 bbp_get_topic_author_id( $topic_id ), 
    334                 $rating 
     329            \WPORG_Ratings::set_rating(
     330                $topic_id,
     331                $this->compat,
     332                $this->slug,
     333                bbp_get_topic_author_id( $topic_id ),
     334                $rating
    335335            );
    336336        }
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-wporg-themes-upload.php

    r9588 r10000  
    446446    /**
    447447     * Sanitize/strip a field back to it's bare-basics version-like string.
    448      * 
     448     *
    449449     * @param string $value The field value.
    450450     * @param string $field The name of the field being processed.
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/query-modifications.php

    r9996 r10000  
    210210/**
    211211 * Remove support for any query vars the Theme Directory doesn't support/need.
    212  * 
     212 *
    213213 * This should only apply to Rewrite rules, so WP_Query can use anything it needs.
    214214 */
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/theme-directory.php

    r9936 r10000  
    237237/**
    238238 * Skip outdated themes in Jetpack Sitemaps.
    239  * 
     239 *
    240240 * @param bool $skip If this post should be excluded from Sitemaps.
    241241 * @param object $plugin_db_row A row from the wp_posts table.
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-custom-stats/stats/project.php

    r9720 r10000  
    8787    /**
    8888     * Cron task to cache the string counts for the wp-themes and wp-plugins parent categories.
    89      * 
     89     *
    9090     * These don't have any translation sets, but we need to be able to query the waiting strings for them.
    9191     */
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-custom-stats/stats/user.php

    r9755 r10000  
    127127
    128128            // Step 1 - Does this user already have the project listed? Just Bump the date.
    129             if ( $id = $wpdb->get_var( $wpdb->prepare( 
     129            if ( $id = $wpdb->get_var( $wpdb->prepare(
    130130                "SELECT id FROM {$wpdb->user_projects}
    131131                WHERE user_id = %d AND project_id = %d AND locale = %s AND locale_slug = %s",
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/assets/prism/prism.css

    r9047 r10000  
    9191.token.attr-value,
    9292.language-autohotkey .token.selector,
    93 .language-json .token.boolean, 
    94 .language-json .token.number, 
     93.language-json .token.boolean,
     94.language-json .token.number,
    9595code[class*="language-css"]{
    9696    color: #0000ff;
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/comments-edit.php

    r7760 r10000  
    99 */
    1010
    11 get_header(); 
     11get_header();
    1212
    1313$comment_id    = get_query_var( 'edit_user_note' );
     
    1818
    1919if ( ! ( $comment && $post && $post_id && $can_user_edit ) ) {
    20     // Bail if the current user can't edit this note, or if 
     20    // Bail if the current user can't edit this note, or if
    2121    // the comment or global post data is not found.
    2222    include get_404_template();
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/comments.php

    r9390 r10000  
    3333
    3434        <ol class="comment-list">
    35             <?php 
     35            <?php
    3636                $feedback_editor = false;
    3737
     
    4646                    $ordered_comments = wporg_developer_get_ordered_notes();
    4747                    if ( $ordered_comments ) {
    48                         wporg_developer_list_notes( $ordered_comments, array( 'avatar_size' => 32 ) ); 
     48                        wporg_developer_list_notes( $ordered_comments, array( 'avatar_size' => 32 ) );
    4949                    }
    5050                }
     
    6464    <?php if ( \DevHub\is_parsed_post_type() && DevHub\can_user_post_note( true, get_the_ID() ) ) : ?>
    6565
    66         <?php 
     66        <?php
    6767        if ( class_exists( 'DevHub_User_Submitted_Content' ) )  {
    6868            $args = \DevHub_User_Submitted_Content::comment_form_args();
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php

    r9981 r10000  
    147147                }
    148148
    149                 if ( ! $show_editor && ( $reply_id && ( $reply_id === (int) $comment->comment_ID ) ) ) { 
     149                if ( ! $show_editor && ( $reply_id && ( $reply_id === (int) $comment->comment_ID ) ) ) {
    150150                    /* The query var 'replytocom' is used and the value is the same as the current comment ID.
    151151                     * We show the editor for the current comment because we assume Javascript is disabled.
     
    14471447     * A user can only edit their own notes if it's in moderation and
    14481448     * if it's a note for a parsed post type.
    1449      *     
     1449     *
    14501450     * Users with the 'edit_comment' capability can edit
    14511451     * all notes from a parsed post type (regardless if it's in moderation).
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/user-content.php

    r9966 r10000  
    289289        $args['comment_field'] = self::wp_editor_comments( $label, $comment );
    290290
    291         // Args for adding hidden links after the comment form submit field. 
     291        // Args for adding hidden links after the comment form submit field.
    292292        $args['context']      = $context;
    293293        $args['comment_edit'] = $comment;
     
    393393                $note_link = sprintf( __( '%1$s by %2$s', 'wporg' ), "<a href='{$post_url}'>{$parent_note}</a>", $parent_author );
    394394            }
    395         } 
     395        }
    396396
    397397        $allowed_tags = '';
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/editor-style.css

    r5594 r10000  
    1 /* 
     1/*
    22These styles are inserted inline in the comment editor.
    33*/
     
    1515    padding: 8px 5px 5px 0;
    1616}
    17 /* 
     17/*
    1818These styles are inserted inline in the comment editor.
    1919*/
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn/template-front.php

    r4 r10000  
    1010    <header>
    1111        <div class="wrap">
    12         <?php 
     12        <?php
    1313        $fronthead = new WP_Query('page_id=29');
    1414        $fronthead->the_post();
     
    2525    <section class="learn-main">
    2626    <article>
    27     <?php 
     27    <?php
    2828        $fronthead = new WP_Query( array( 'posts_per_page' => 1 ) );
    2929        $fronthead->the_post();
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions-registration.php

    r9167 r10000  
    170170
    171171/**
    172  * Create a user record from a pending record. 
     172 * Create a user record from a pending record.
    173173 */
    174174function wporg_login_create_user_from_pending( $pending_user, $password = false ) {
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-about-roadmap.php

    r9812 r10000  
    135135                    </table>
    136136
    137                     <p><?php 
     137                    <p><?php
    138138                        printf(
    139139                            /* translators: %s: Link to Make WordPress Core blog post */
     
    158158                    <h2><?php esc_html_e( 'Long term roadmap', 'wporg' ); ?></h2>
    159159
    160                     <p><?php 
    161                         printf( 
     160                    <p><?php
     161                        printf(
    162162                            /* translators: %s: link to wordpress.tv State of the Word 2019 */
    163                             wp_kses_post( __( 'While Phase 2 of Gutenberg is expected to continue at least through 2020, there are already plans for Phase 3 and 4. During the <a href="%s">State of the Word from WordCamp US 2019</a>, Matt shared the following vision for phases in Gutenberg:', 'wporg' ) ), 
     163                            wp_kses_post( __( 'While Phase 2 of Gutenberg is expected to continue at least through 2020, there are already plans for Phase 3 and 4. During the <a href="%s">State of the Word from WordCamp US 2019</a>, Matt shared the following vision for phases in Gutenberg:', 'wporg' ) ),
    164164                            'https://wordpress.tv/2019/11/03/2019-state-of-the-word/' );
    165165                        ?>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-about-testimonials.php

    r9328 r10000  
    7979                conversation: 'none',
    8080                cards: 'hidden',
    81                 margin: 0, 
     81                margin: 0,
    8282                width: 372
    8383            }
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/archive-meeting.php

    r9037 r10000  
    4343                }
    4444            ?></td>
    45             <td><?php 
     45            <td><?php
    4646            // convert the date time to a pretty format
    4747            $time = strtotime( $post->next_date.' '. $post->time.' GMT' ); // note, strtotime doesn't grok UTC very well, GMT works fine though
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/front-page.php

    r8923 r10000  
    2121                <h2>
    2222                    <?php if ( $url ) : ?>
    23                         <a 
     23                        <a
    2424                            title="<?php printf( esc_attr( 'Learn more about %s.', 'make-wporg' ), esc_html( get_the_title() ) ); ?>"
    2525                            href="<?php echo esc_url( $url ); ?>"
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/functions.php

    r9350 r10000  
    1010function make_setup_theme() {
    1111    register_nav_menu( 'primary', __( 'Navigation Menu', 'make-wporg' ) );
    12     add_theme_support( 'post-thumbnails' ); 
     12    add_theme_support( 'post-thumbnails' );
    1313}
    1414
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/archive-handbook.php

    r3490 r10000  
    1111
    1212<!-- Also called on in footer but will not display the second time. -->
    13 <?php get_sidebar( 'handbook' ); ?> 
     13<?php get_sidebar( 'handbook' ); ?>
    1414
    1515<div class="sleeve_main">
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/single-handbook.php

    r3711 r10000  
    1313
    1414<!-- Also called on in footer but will not display the second time. -->
    15 <?php get_sidebar( 'handbook' ); ?> 
     15<?php get_sidebar( 'handbook' ); ?>
    1616
    1717<div class="sleeve_main">
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin.php

    r9738 r10000  
    5252        <?php endif; ?>
    5353        <span class="last-updated">
    54             <i class="dashicons dashicons-calendar"></i> 
     54            <i class="dashicons dashicons-calendar"></i>
    5555            <?php
    5656            /* Translators: Plugin modified time. */
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/functions.php

    r9933 r10000  
    55
    66// Disable comments feed.
    7 add_filter( 'feed_links_show_comments_feed', '__return_false' ); 
     7add_filter( 'feed_links_show_comments_feed', '__return_false' );
    88
    99// Remove extra feed links from singular queries.
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/404.php

    r4248 r10000  
    1 <?php 
     1<?php
    22/**
    33 * The template for displaying 404 pages (not found).
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/user-profile.php

    r9469 r10000  
    106106   
    107107            <p class="bbp-user-website"><?php
    108             /* translators: %s: link to user's website */ 
     108            /* translators: %s: link to user's website */
    109109            printf( esc_html__( 'Website: %s', 'wporg-forums' ), sprintf( '<a href="%s" rel="nofollow ugc">%s</a>', esc_url( $website ), esc_html( $website ) ) );
    110110            ?></p>
  • sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/functions.php

    r9176 r10000  
    923923/**
    924924 * Update Attachment titles to match the Post Title.
    925  * 
     925 *
    926926 * This is done as the Attachment Title is shown within the VideoPress embeds.
    927927 * This can't be done through a filter in the themes functions.php, as it appears that's not loaded for the Rest API.
    928  * 
     928 *
    929929 * @see https://meta.trac.wordpress.org/ticket/4667
    930930 */
  • sites/trunk/wp15.wordpress.net/public_html/content/wp-cache-config.php

    r7015 r10000  
    4343//$use_flock = true; // Set it true or false if you know what to use
    4444
    45 // Array of files that have 'wp-' but should still be cached 
     45// Array of files that have 'wp-' but should still be cached
    4646$cache_acceptable_files    = array( 'wp-comments-popup.php', 'wp-links-opml.php', 'wp-locations.php' );
    4747$cache_rejected_uri        = array( 'wp-.*\\.php', 'index\\.php' );
Note: See TracChangeset for help on using the changeset viewer.