Make WordPress Core


Ignore:
Timestamp:
12/07/2013 07:45:57 AM (11 years ago)
Author:
nacin
Message:

Core updates for the new color schemes.

  • Update about page, there's now 8.
  • Display them four wide, not three, and ensure adequate spacing.
  • Use a dedicated nonce.
  • Push Light to the front in addition to Default.
  • Use user-profile.js on about.php. A few extra things are initialized but they are harmless.

see #26468, #26387.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r26535 r26776  
    22512251
    22522252    $user_id = get_current_user_id();
    2253     check_ajax_referer( 'update-user_' . $user_id, 'nonce' );
     2253
     2254    check_ajax_referer( 'save-color-scheme_' . $user_id, 'nonce' );
    22542255
    22552256    $color_scheme = sanitize_key( $_POST['color_scheme'] );
Note: See TracChangeset for help on using the changeset viewer.