- Timestamp:
- 12/17/2018 04:35:32 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43913,43921-43922,43937-43938,43946-43947,43952-43953,43967-43969
- Property svn:mergeinfo changed
-
trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php
r43669 r44264 185 185 if ( isset( $_GET['_wpnonce'] ) && wp_verify_nonce( wp_unslash( $_GET['_wpnonce'] ), $action ) ) { 186 186 $user = isset( $_GET['user'] ) ? wp_unslash( $_GET['user'] ) : get_user_option( 'wporg_favorites' ); 187 update_user_meta( get_current_user_id(), 'wporg_favorites', $user ); 187 188 // If the save url parameter is passed with a falsey value, don't save the favorite user. 189 if ( ! isset( $_GET['save'] ) || $_GET['save'] ) { 190 update_user_meta( get_current_user_id(), 'wporg_favorites', $user ); 191 } 188 192 } else { 189 193 $user = get_user_option( 'wporg_favorites' );
Note: See TracChangeset
for help on using the changeset viewer.