Skip to:
Content

BuddyPress.org

#9015 closed task (fixed)

12.0 fresh install & BP Plugin compatibility

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 12.0.0 Priority: high
Severity: major Version:
Component: Core Keywords: has-patch has-unit-tests
Cc:

Description

On a fresh install, deprecated functions are not loaded. This is fine as long as administrators are using BuddyPress without third party plugins that are not ready yet for 12.0.0. As soon as they activate such a plugin there’s a risk of fatal error.

First idea is to always load 12.0 deprecated functions in case the BP Classic plugin is not active. We can also add an Admin Notification to inform Administrators about BP Plugin compatibility like we did in 11.4.0.

Change History (5)

This ticket was mentioned in PR #183 on buddypress/buddypress by @imath.


13 months ago
#1

  • Keywords has-patch has-unit-tests added; needs-patch removed
  • Include 12.0 deprecated functions for new installs.
  • Add an Admin Notification about 12.0 for new installs.

Trac ticket: https://buddypress.trac.wordpress.org/ticket/9015

@imath commented on PR #183:


13 months ago
#2

Hi @dcavins

Could you have a look at the notification text and eventually fix some of my english mistakes and/or improve it ? Thanks in advance.

I've just tested the PR and I confirm 12.0 deprecated functions are loaded even if it's a new BuddyPress install. Here's a screenshot of the Admin notification.

https://i0.wp.com/github.com/buddypress/buddypress/assets/1834524/a1a3c6f3-77a6-42b2-adec-a485fd1022e9

I have mixed feelings about this Admin Notification because for new installs the "Hello BuddyPress" dialog's popping to inform about what's new. As a result, unless Administrators don't read this dialog, adding an Admin Notification might make some of them feel like "BuddyPress really wants me to install the BP Classic plugin".

@dcavins what do you think? Are we repeating ourselves with this Admin Notification ?

dcavins commented on PR #183:


13 months ago
#3

Hmm, no I don't think we're repeating ourselves, but we might re-word the notice a little to be more "if you're site is borked, try Classic before freaking out" Maybe:
BuddyPress 12 introduces major core changes, overhauling the way that BuddyPress builds and parses URLs. If you find that your site is not working correctly with the new version, try installing the new BP Classic Add-on that adds backward compatibility for plugins and themes that have not yet been updated to work with BP 12. Thanks!

@imath commented on PR #183:


13 months ago
#4

Awesome, thanks for your reply, I'll update the notice this way 👍

#5 @imath
13 months ago

  • Owner set to imath
  • Resolution set to fixed
  • Status changed from new to closed

In 13632:

Prevent potential 3rd party plugins/themes issues for new installs

  • Load 12.0 deprecated functions even in new installs.
  • Add an Admin Notification to inform about BP Classic: the BP backwards compatibility Add-on.

Props emaralive, dcavins

Fixes #9015
Closes https://github.com/buddypress/buddypress/pull/183

Note: See TracTickets for help on using tickets.