Making WordPress.org

Ticket #5225: 5225.diff

File 5225.diff, 6.0 KB (added by garrett-eclipse, 5 years ago)

Patch to update the Cookie Policy

  • wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-about-privacy-cookies.php

     
    9494                                                                <td><?php esc_html_e( 'No', 'wporg' ); ?></td>
    9595                                                        </tr>
    9696                                                        <tr>
    97                                                                 <th>__utma</th>
     97                                                                <th>_ga</th>
    9898                                                                <td><?php esc_html_e( '2 years', 'wporg' ); ?></td>
    99                                                                 <td><a href="https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage">Google Analytics</a> - <?php esc_html_e( 'Used to distinguish users and sessions. The cookie is created when the javascript library executes and no existing __utma cookies exists. The cookie is updated every time data is sent to Google Analytics.', 'wporg' ); ?></td>
     99                                                                <td><a href="https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage"><?php esc_html_e( 'Google Analytics', 'wporg' ); ?></a> - <?php esc_html_e( 'Used to distinguish users.', 'wporg' ); ?></td>
    100100                                                                <td><?php esc_html_e( 'No', 'wporg' ); ?></td>
    101101                                                        </tr>
    102102                                                        <tr>
    103                                                                 <th>__utmb</th>
    104                                                                 <td><?php esc_html_e( '30 minutes', 'wporg' ); ?></td>
    105                                                                 <td><a href="https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage">Google Analytics</a> - <?php esc_html_e( 'Used to determine new sessions/visits. The cookie is created when the javascript library executes and no existing __utmb cookies exists. The cookie is updated every time data is sent to Google Analytics.', 'wporg' ); ?></td>
     103                                                                <th>_gat_&lt;property-id&gt;</th>
     104                                                                <td><?php esc_html_e( '1 minute', 'wporg' ); ?></td>
     105                                                                <td><a href="https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage"><?php esc_html_e( 'Google Analytics', 'wporg' ); ?></a> - <?php esc_html_e( 'Used to throttle request rate.', 'wporg' ); ?></td>
    106106                                                                <td><?php esc_html_e( 'No', 'wporg' ); ?></td>
    107107                                                        </tr>
    108108                                                        <tr>
    109                                                                 <th>__utmc</th>
    110                                                                 <td><?php esc_html_e( 'Session', 'wporg' ); ?></td>
    111                                                                 <td><a href="https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage">Google Analytics</a> - <?php esc_html_e( 'Set for interoperability with urchin.js. Historically, this cookie operated in conjunction with the __utmb cookie to determine whether the user was in a new session/visit.', 'wporg' ); ?></td>
     109                                                                <th>_gid</th>
     110                                                                <td><?php esc_html_e( '24 hours', 'wporg' ); ?></td>
     111                                                                <td><a href="https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage"><?php esc_html_e( 'Google Analytics', 'wporg' ); ?></a> - <?php esc_html_e( 'Used to distinguish users.', 'wporg' ); ?></td>
    112112                                                                <td><?php esc_html_e( 'No', 'wporg' ); ?></td>
    113113                                                        </tr>
    114114                                                        <tr>
    115                                                                 <th>__utmt</th>
    116                                                                 <td><?php esc_html_e( '10 minutes', 'wporg' ); ?></td>
    117                                                                 <td><a href="https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage">Google Analytics</a> - <?php esc_html_e( 'Used to throttle request rate.', 'wporg' ); ?></td>
     115                                                                <th>__qca</th>
     116                                                                <td><?php esc_html_e( '1 year', 'wporg' ); ?></td>
     117                                                                <td><a href="https://www.quantcast.com/faq/quantcast-services/"><?php esc_html_e( 'Quantcast', 'wporg' ); ?></a> - <?php esc_html_e( 'Stores the unique identifier for the publisher to enable Quantcast to collect data.', 'wporg' ); ?></td>
    118118                                                                <td><?php esc_html_e( 'No', 'wporg' ); ?></td>
    119119                                                        </tr>
    120120                                                        <tr>
    121                                                                 <th>__utmz</th>
    122                                                                 <td><?php esc_html_e( '6 months', 'wporg' ); ?></td>
    123                                                                 <td><a href="https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage">Google Analytics</a> - <?php esc_html_e( 'Stores the traffic source or campaign that explains how the user reached your site. The cookie is created when the javascript library executes and is updated every time data is sent to Google Analytics.', 'wporg' ); ?></td>
     121                                                                <th>tk_ai</th>
     122                                                                <td><?php esc_html_e( '24 hours', 'wporg' ); ?></td>
     123                                                                <td><a href="https://jetpack.com/support/cookies/"><?php esc_html_e( 'Jetpack', 'wporg' ); ?></a> - <?php esc_html_e( 'Stores the unique identifier for the publisher to enable Jetpack to collect data.', 'wporg' ); ?></td>
    124124                                                                <td><?php esc_html_e( 'No', 'wporg' ); ?></td>
    125125                                                        </tr>
    126126                                                        <tr>
     127                                                                <th>tk_lr</th>
     128                                                                <td><?php esc_html_e( '1 year', 'wporg' ); ?></td>
     129                                                                <td><a href="https://jetpack.com/support/cookies/"><?php esc_html_e( 'Jetpack', 'wporg' ); ?></a> - <?php esc_html_e( 'Stores the unique identifier for the publisher to enable Jetpack to collect data.', 'wporg' ); ?></td>
     130                                                                <td><?php esc_html_e( 'No', 'wporg' ); ?></td>
     131                                                        </tr>
     132                                                        <tr>
     133                                                                <th>tk_or</th>
     134                                                                <td><?php esc_html_e( '5 years', 'wporg' ); ?></td>
     135                                                                <td><a href="https://jetpack.com/support/cookies/"><?php esc_html_e( 'Jetpack', 'wporg' ); ?></a> - <?php esc_html_e( 'Stores the unique identifier for the publisher to enable Jetpack to collect data.', 'wporg' ); ?></td>
     136                                                                <td><?php esc_html_e( 'No', 'wporg' ); ?></td>
     137                                                        </tr>
     138                                                        <tr>
    127139                                                                <th>wp-settings-{user_id}</th>
    128140                                                                <td><?php esc_html_e( '1 year', 'wporg' ); ?></td>
    129141                                                                <td><?php esc_html_e( 'Used to persist a user&#8217;s wp-admin configuration.', 'wporg' ); ?></td>
     
    135147                                                                <td><?php esc_html_e( 'Used to check whether the current visitor is a logged-in WordPress.org user.', 'wporg' ); ?></td>
    136148                                                                <td><?php esc_html_e( 'Yes', 'wporg' ); ?></td>
    137149                                                        </tr>
     150                                                        <tr>
     151                                                                <th>wporg_locale</th>
     152                                                                <td><?php esc_html_e( '1 year', 'wporg' ); ?></td>
     153                                                                <td><?php esc_html_e( 'Used to persist a user&#8217;s locale configuration.', 'wporg' ); ?></td>
     154                                                                <td><?php esc_html_e( 'Yes', 'wporg' ); ?></td>
     155                                                        </tr>
    138156                                                </tbody>
    139157                                        </table>
    140158