WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #12295, comment 32


Ignore:
Timestamp:
04/11/2013 01:46:26 AM (5 years ago)
Author:
ericlewis
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12295, comment 32

    initial v1  
    11in [attachment:12295.5.diff]:
    22* Move $user_can_edit into _wp_get_user_personal_options to avoid spaghetti code; also removes necessity of a parameter for _wp_get_user_personal_options()
    3 * Move all global definitions to begin _wp_get_user_personal_options()
     3* In _wp_get_user_personal_options(), move global definitions to beginning of function
     4* In _wp_get_user_personal_options(), using an element with the key of 'action' will trigger that action in the field table cell. The explicit call to do_action for 'admin_color_scheme_picker' was being used, this still allows for this while opening up for extendability
    45* Fix escaping 'scope' attribute of table headers, add scope element for comment_shortcuts (to avoid PHP notice)
    56* Remove user_label_add_required() and associated filter - this wasn't in the scope of this ticket.