Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/01/2024 06:07:04 AM (2 years 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/tests/blueprints/14-0-0-beta2.json

    r13939 r14068  
    11{
    22        "$schema": "https://playground.wordpress.net/blueprint-schema.json",
     3        "landingPage": "\/wp-admin\/admin.php?page=bp-components",
    34        "preferredVersions": {
    45                "php": "8.2",
    56                "wp": "latest"
    67        },
    7         "phpExtensionBundles": [
    8                 "kitchen-sink"
    9         ],
     8        "login": true,
     9        "siteOptions": {
     10                "blogname": "BuddyPress 14.0.0-beta2 Playground"
     11        },
    1012        "steps": [
    1113                {
    12                         "step": "login",
    13                         "username": "admin",
    14                         "password": "password"
    15                 },
    16                 {
    1714                        "step": "installPlugin",
    18                         "pluginZipFile": {
     15                        "pluginData": {
    1916                                "resource": "url",
    2017                                "url": "https://downloads.wordpress.org/plugin/buddypress.14.0.0-beta2.zip"
    2118                        }
     19                },
     20                {
     21                        "step": "activateTheme",
     22                        "themeFolderName": "twentytwentyfour"
    2223                }
    2324        ]
Note: See TracChangeset for help on using the changeset viewer.