Making WordPress.org

Changeset 8574


Ignore:
Timestamp:
04/02/2019 11:29:52 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Support Theme: Add a notice with a link to a handbook article on reporting security issues safely.

Props benlk, Ipstenu.
See #4311.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/form-topic.php

    r7818 r8574  
    5050                                <li><?php
    5151                                    /* translators: %s: Handbook URL for forum welcome */
    52                                     printf( __( '<strong>Read the <a href="%s">Forum Welcome</a></strong> to find out how to maximize your odds of getting help!', 'wporg-forums' ), esc_url( __( 'https://wordpress.org/support/welcome/', 'wporg-forums' ) ) );
     52                                    printf( __( '<strong>Read the <a href="%s">Forum Welcome</a></strong> to find out how to maximize your odds of getting help!', 'wporg-forums' ),
     53                                        esc_url( __( 'https://wordpress.org/support/welcome/', 'wporg-forums' ) )
     54                                    );
    5355                                ?></li>
    5456                                <li><?php
    5557                                    /* translators: %s: URL to search */
    56                                     printf( __( '<strong><a href="%s">Search</a> the forums</strong> to see if your topic has been resolved already.', 'wporg-forums' ), esc_url( bbp_get_search_url() ) );
     58                                    printf( __( '<strong><a href="%s">Search</a> the forums</strong> to see if your topic has been resolved already.', 'wporg-forums' ),
     59                                        esc_url( bbp_get_search_url() )
     60                                    );
    5761                                ?></li>
    5862                                <li><?php _e( '<strong>Update to the latest versions</strong> of your plugins, themes, and WordPress.', 'wporg-forums' ); ?></li>
     
    7074                                ?></li>
    7175                                <?php endif; ?>
     76                                <li><?php
     77                                    /* translators: %s: Handbook URL for reporting security issues */
     78                                    printf( __( '<strong>Reporting a security issue?</strong> Please read <a href="%s">Reporting Security Vulnerabilities</a> to do that safely.', 'wporg-forums' ),
     79                                        esc_url( __( 'https://make.wordpress.org/core/handbook/testing/reporting-security-vulnerabilities/' ) )
     80                                    );
     81                                ?></li>
    7282                            </ul>
    7383
Note: See TracChangeset for help on using the changeset viewer.