WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/22/2015 08:43:58 PM (4 years ago)
Author:
wonderboymusic
Message:

After [32884], update the default value for comment_shortcuts.

Props dlh, rachelbaker, DrewAPicture.
Fixes #31588.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/user.php

    r32897 r32904  
    20242024    $meta['rich_editing'] = empty( $userdata['rich_editing'] ) ? 'true' : $userdata['rich_editing'];
    20252025
    2026     $meta['comment_shortcuts'] = empty( $userdata['comment_shortcuts'] ) ? 'false' : $userdata['comment_shortcuts'];
     2026    $meta['comment_shortcuts'] = empty( $userdata['comment_shortcuts'] ) || 'false' === $userdata['comment_shortcuts'] ? 'false' : 'true';
    20272027
    20282028    $admin_color = empty( $userdata['admin_color'] ) ? 'fresh' : $userdata['admin_color'];
Note: See TracChangeset for help on using the changeset viewer.