Make WordPress Core


Ignore:
Timestamp:
12/17/2018 04:35:32 PM (6 years ago)
Author:
desrosj
Message:

Help/About: WordPress 5.0 About Page.

The About page describes all the great changes in WordPress 5.0.

Highlights:

  • Warn users of Gutenberg plugin of its deactivation upon 5.0 upgrade.
  • Added illustrations to the Four Freedoms page.
  • Include a link to wporg user’s plugin favorites as a way to display only the classic plugin as a suggestion for install.
  • Detail the Classic Editor plugin and the support timeline.

Props pixelverbieger, ocean90, karmatosed, pento, boemedia, lonelyvegan, sami.keijonen, TimothyBlynJacobs, xkon, afercia, laurelfulford, joostdevalk, ipstenu, matveb, joen, tinkerbelly, chanthaboune, kjellr, alexislloyd, melchoyce, mcsf, courtney0burton, Otto42, cathibosco, tobifjellner, helen, audrasjb, antpb, jjj, elrae, desrosj, azaozz, joemcgill, skithund, gziolo.

Merges [43913], [43921-43922], [43937-43938], [43946-43947], [43952-43953], [43967-43969] into trunk.

Fixes #45178.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php

    r43669 r44264  
    185185                if ( isset( $_GET['_wpnonce'] ) && wp_verify_nonce( wp_unslash( $_GET['_wpnonce'] ), $action ) ) {
    186186                    $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                    }
    188192                } else {
    189193                    $user = get_user_option( 'wporg_favorites' );
Note: See TracChangeset for help on using the changeset viewer.