Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/01/2024 06:07:04 AM (9 months ago)
Author:
imath
Message:

Improve BuddyPress compatibility with WP Playground previews

  • Avoid using SIGNED casting into the SQL query retrieving the signup field IDs as it's generating an error with WP Playground SQLite db.
  • Make sure BP URI globals are set during Ajax requests passing the current displayed page canonical URL into these requests.
  • Ignore the bp-message cookie when its value is set to deleted to prevent the wrong display of a template notice when BP Legacy is the active template pack.
  • Update JSON blueprints to latest WP Playground's blueprint schema.

Props espellcaste

Fixes #9207
Closes https://github.com/buddypress/buddypress/pull/389

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress-functions.php

    r14062 r14068  
    325325            // Settings.
    326326            'store_filter_settings' => $store_filter_settings,
     327            'canonical_url'         => bp_get_canonical_url(),
    327328        ) );
    328329        wp_localize_script( $asset['handle'], 'BP_DTheme', $params );
Note: See TracChangeset for help on using the changeset viewer.