<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[BuddyPress][14014] trunk: Raise the minimum supported WordPress and PHP versions.</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { white-space: pre-line; overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="http://buddypress.trac.wordpress.org/changeset/14014">14014</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"http://buddypress.trac.wordpress.org/changeset/14014","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>espellcaste</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2024-09-02 22:45:11 +0000 (Mon, 02 Sep 2024)</dd>
</dl>
<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Raise the minimum supported WordPress and PHP versions.
The new minimum WordPress version supported is 6.4.
The new minimum PHP version supported is 7.0.
Props imath.
Fixes <a href="http://buddypress.trac.wordpress.org/ticket/9225">#9225</a></pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkeditorconfig">trunk/.editorconfig</a></li>
<li><a href="#trunkgithubworkflowsunittestobjectyml">trunk/.github/workflows/unit-test-object.yml</a></li>
<li><a href="#trunkgithubworkflowsunittestsyml">trunk/.github/workflows/unit-tests.yml</a></li>
<li><a href="#trunkREADMEmd">trunk/README.md</a></li>
<li><a href="#trunkbploaderphp">trunk/bp-loader.php</a></li>
<li><a href="#trunkcomposerjson">trunk/composer.json</a></li>
<li><a href="#trunkphpcsxmldist">trunk/phpcs.xml.dist</a></li>
<li><a href="#trunksrcbploaderphp">trunk/src/bp-loader.php</a></li>
<li><a href="#trunksrcreadmetxt">trunk/src/readme.txt</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkeditorconfig"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/.editorconfig</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/.editorconfig 2024-08-31 01:26:36 UTC (rev 14013)
+++ trunk/.editorconfig 2024-09-02 22:45:11 UTC (rev 14014)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -20,5 +20,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> [*.md]
</span><span class="cx" style="display: block; padding: 0 10px"> trim_trailing_whitespace = false
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-[{*.txt}]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+[*.txt]
</ins><span class="cx" style="display: block; padding: 0 10px"> end_of_line = crlf
</span></span></pre></div>
<a id="trunkgithubworkflowsunittestobjectyml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/.github/workflows/unit-test-object.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/.github/workflows/unit-test-object.yml 2024-08-31 01:26:36 UTC (rev 14013)
+++ trunk/.github/workflows/unit-test-object.yml 2024-09-02 22:45:11 UTC (rev 14014)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,4 +1,4 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-name: Unit Tests - Object Cache Service
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+name: Unit Tests
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> on:
</span><span class="cx" style="display: block; padding: 0 10px"> pull_request:
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -11,14 +11,38 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> jobs:
</span><span class="cx" style="display: block; padding: 0 10px"> tests:
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- name: "Object Service ${{ matrix.object }} - WP: ${{ matrix.wp_version }} - PHP: ${{ matrix.php }}"
</del><span class="cx" style="display: block; padding: 0 10px"> strategy:
</span><span class="cx" style="display: block; padding: 0 10px"> fail-fast: false
</span><span class="cx" style="display: block; padding: 0 10px"> matrix:
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- php: ['8.3']
- wp_version: ['trunk', 'latest', '6.1']
- multisite: [true, false]
- object: ["false", "memcached", "redis"]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ include:
+ - php: '8.3'
+ wp_version: 'trunk'
+ object: 'redis'
+ multisite: true
+ - php: '8.3'
+ wp_version: 'trunk'
+ object: 'memcached'
+ multisite: false
+ - php: '8.2'
+ wp_version: '6.4'
+ object: ''
+ multisite: false
+ - php: '8.2'
+ wp_version: 'latest'
+ object: ''
+ multisite: false
+ - php: '8.1'
+ wp_version: 'latest'
+ object: ''
+ multisite: false
+ - php: '7.4'
+ wp_version: '6.4'
+ object: ''
+ multisite: false
+ - php: '7.4'
+ wp_version: '6.4'
+ object: ''
+ multisite: true
</ins><span class="cx" style="display: block; padding: 0 10px"> uses: alleyinteractive/.github/.github/workflows/php-tests.yml@main
</span><span class="cx" style="display: block; padding: 0 10px"> with:
</span><span class="cx" style="display: block; padding: 0 10px"> multisite: ${{ matrix.multisite }}
</span></span></pre></div>
<a id="trunkgithubworkflowsunittestsyml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/.github/workflows/unit-tests.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/.github/workflows/unit-tests.yml 2024-08-31 01:26:36 UTC (rev 14013)
+++ trunk/.github/workflows/unit-tests.yml 2024-09-02 22:45:11 UTC (rev 14014)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,112 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-name: Unit Tests
-
-on:
- pull_request:
- paths-ignore:
- - 'docs/**'
- push:
- branches: [ master ]
- paths-ignore:
- - 'docs/**'
-
-jobs:
- tests:
- name: "WP: ${{ matrix.wp_version }} - PHP: ${{ matrix.php }}"
- runs-on: ubuntu-latest
- strategy:
- fail-fast: false
- matrix:
- php: ['7.4', '8.0', '8.1', '8.2', '8.3']
- wp_version: ['master']
- include:
- - php: '8.0'
- wp_version: 'latest'
- - php: '7.4'
- wp_version: 'latest'
- - php: '7.4'
- wp_version: '6.1'
- env:
- WP_ENV_PHP_VERSION: ${{ matrix.php }}
- WP_VERSION: ${{ matrix.wp_version }}
-
- steps:
- - name: Cancel previous runs of this workflow
- uses: styfle/cancel-workflow-action@0.12.1
- with:
- access_token: ${{ github.token }}
-
- - name: Checkout repository
- uses: actions/checkout@v4
-
- - name: Check Gitignored files
- run: if [[ ! -z $(git ls-files -i --exclude-standard) ]]; then exit 1; fi
-
- - name: Setup PHP
- uses: shivammathur/setup-php@v2
- with:
- php-version: ${{ matrix.php }}
- extensions: gd, imagick, mysql, zip
- coverage: none
- tools: composer:v2
-
- - name: Set up Node.js
- uses: actions/setup-node@v4
- with:
- node-version: '>=20.10.0'
-
- - name: Log information
- run: |
- echo "$GITHUB_REF"
- echo "$GITHUB_EVENT_NAME"
- npm --version
- node --version
- git --version
- php --version
- composer --version
-
- - name: Install Composer dependencies
- uses: ramsey/composer-install@v3
-
- - name: Cache node modules
- uses: actions/cache@v4
- env:
- cache-name: cache-node-modules
- with:
- # npm cache files are stored in `~/.npm` on Linux/macOS
- path: ~/.npm
- key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- restore-keys: |
- ${{ runner.os }}-build-${{ env.cache-name }}-
- ${{ runner.os }}-build-
- ${{ runner.os }}-
-
- - name: Validate node modules
- run: if [[ -f package.json ]]; then npm audit --audit-level=high --production --cache ~/.npm; fi
-
- - name: Install node modules
- run: npm ci --cache ~/.npm
-
- - name: Setup WordPress
- run: |
- if [ ${{ env.WP_VERSION }} == 'latest' ]; then
- echo "{\"core\":null}" >> .wp-env.override.json
- else
- echo "{\"core\":\"WordPress/WordPress#${WP_VERSION}\"}" >> .wp-env.override.json
- fi
-
- - name: Install WordPress
- run: |
- chmod -R 767 ./
- npm run wp-env start -- --update
-
- - name: Running single site unit tests
- if: ${{ success() || failure() }}
- run: npm run test-php
-
- - name: Running multi site unit tests
- if: ${{ success() || failure() }}
- run: npm run test-php-multisite
-
- - name: Stop Docker environment
- if: ${{ success() || failure() }}
- run: npm run wp-env stop
</del></span></pre></div>
<a id="trunkREADMEmd"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/README.md</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/README.md 2024-08-31 01:26:36 UTC (rev 14013)
+++ trunk/README.md 2024-09-02 22:45:11 UTC (rev 14014)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -54,7 +54,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ## Credentials
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-To login to the site, navigate to http://localhost:8888/wp-admin.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+To log in to the site, navigate to http://localhost:8888/wp-admin.
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> * Username: `admin`
</span><span class="cx" style="display: block; padding: 0 10px"> * Password: `password`
</span></span></pre></div>
<a id="trunkbploaderphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/bp-loader.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/bp-loader.php 2024-08-31 01:26:36 UTC (rev 14013)
+++ trunk/bp-loader.php 2024-09-02 22:45:11 UTC (rev 14014)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -19,8 +19,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * License URI: https://www.gnu.org/licenses/gpl-2.0.html
</span><span class="cx" style="display: block; padding: 0 10px"> * Text Domain: buddypress
</span><span class="cx" style="display: block; padding: 0 10px"> * Domain Path: /bp-languages/
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Requires PHP: 5.6
- * Requires at least: 6.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Requires PHP: 7.0
+ * Requires at least: 6.4
</ins><span class="cx" style="display: block; padding: 0 10px"> * Version: 15.0.0-alpha
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -28,11 +28,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> defined( 'ABSPATH' ) || exit;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Assume you want to load from build
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-$bp_loader = dirname( __FILE__ ) . '/build/bp-loader.php';
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+$bp_loader = __DIR__ . '/build/bp-loader.php';
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Load from source if no build exists
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! file_exists( $bp_loader ) || defined( 'BP_LOAD_SOURCE' ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $bp_loader = dirname( __FILE__ ) . '/src/bp-loader.php';
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $bp_loader = __DIR__ . '/src/bp-loader.php';
</ins><span class="cx" style="display: block; padding: 0 10px"> $bp_subdir = 'src';
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="cx" style="display: block; padding: 0 10px"> $bp_subdir = 'build';
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -51,7 +51,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Include BuddyPress
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-include( $bp_loader );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+require $bp_loader;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Unset vars that were invoked in global scope
</span><span class="cx" style="display: block; padding: 0 10px"> unset( $bp_loader, $bp_subdir );
</span></span></pre></div>
<a id="trunkcomposerjson"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/composer.json</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/composer.json 2024-08-31 01:26:36 UTC (rev 14013)
+++ trunk/composer.json 2024-09-02 22:45:11 UTC (rev 14014)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -35,7 +35,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "require": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "php": ">=5.6.0"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "php": ">=7.0.0"
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "require-dev": {
</span><span class="cx" style="display: block; padding: 0 10px"> "buddypress/bp-coding-standards": "dev-trunk",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -49,7 +49,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "phpcs": "@php ./vendor/bin/phpcs . --basepath=.",
</span><span class="cx" style="display: block; padding: 0 10px"> "phpcbf": "@php ./vendor/bin/phpcbf . --basepath=.",
</span><span class="cx" style="display: block; padding: 0 10px"> "phpcs-escape": "@php ./vendor/bin/phpcs src --extensions=php -sp --standard=BuddyPress --sniffs=WordPress.Security.EscapeOutput,WordPress.Security.SafeRedirect",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "phpcompat": "@php ./vendor/bin/phpcs --standard=PHPCompatibilityWP --extensions=php -sp --runtime-set testVersion 5.6- src tests",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "phpcompat": "@php ./vendor/bin/phpcs --standard=PHPCompatibilityWP --extensions=php -sp --runtime-set testVersion 7.0- src tests",
</ins><span class="cx" style="display: block; padding: 0 10px"> "test:watch": [
</span><span class="cx" style="display: block; padding: 0 10px"> "Composer\\Config::disableProcessTimeout",
</span><span class="cx" style="display: block; padding: 0 10px"> "phpunit-watcher watch"
</span></span></pre></div>
<a id="trunkphpcsxmldist"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/phpcs.xml.dist</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/phpcs.xml.dist 2024-08-31 01:26:36 UTC (rev 14013)
+++ trunk/phpcs.xml.dist 2024-09-02 22:45:11 UTC (rev 14014)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -25,6 +25,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- Set severity to 1 to see everything that isn't effectively turned off. -->
</span><span class="cx" style="display: block; padding: 0 10px"> <arg name="severity" value="1"/>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <!-- Check against minimum PHP version, currently 7.0. -->
+ <config name="testVersion" value="7.0-"/>
+
+ <!-- Check against minimum WP version, currently 6.4. -->
+ <config name="minimum_wp_version" value="6.4"/>
+
</ins><span class="cx" style="display: block; padding: 0 10px"> <!-- What to exclude -->
</span><span class="cx" style="display: block; padding: 0 10px"> <exclude-pattern>*/**/tests/</exclude-pattern>
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcbploaderphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-loader.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-loader.php 2024-08-31 01:26:36 UTC (rev 14013)
+++ trunk/src/bp-loader.php 2024-09-02 22:45:11 UTC (rev 14014)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -19,8 +19,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * License URI: https://www.gnu.org/licenses/gpl-2.0.html
</span><span class="cx" style="display: block; padding: 0 10px"> * Text Domain: buddypress
</span><span class="cx" style="display: block; padding: 0 10px"> * Domain Path: /bp-languages/
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Requires PHP: 5.6
- * Requires at least: 6.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Requires PHP: 7.0
+ * Requires at least: 6.4
</ins><span class="cx" style="display: block; padding: 0 10px"> * Version: 15.0.0-alpha
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -33,7 +33,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> defined( 'ABSPATH' ) || exit;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Required PHP version.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-define( 'BP_REQUIRED_PHP_VERSION', '5.6.0' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+define( 'BP_REQUIRED_PHP_VERSION', '7.0.0' );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * The main function responsible for returning the one true BuddyPress Instance to functions everywhere.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -76,7 +76,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'network_admin_notices', 'bp_php_requirements_notice' );
</span><span class="cx" style="display: block; padding: 0 10px"> return;
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- require dirname( __FILE__ ) . '/class-buddypress.php';
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ require __DIR__ . '/class-buddypress.php';
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /*
</span><span class="cx" style="display: block; padding: 0 10px"> * Hook BuddyPress early onto the 'plugins_loaded' action.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -88,7 +88,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( defined( 'BUDDYPRESS_LATE_LOAD' ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'plugins_loaded', 'buddypress', (int) BUDDYPRESS_LATE_LOAD );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // "And now here's something we hope you'll really like!".
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // "And now here's something we hope you'll really like!".
</ins><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="cx" style="display: block; padding: 0 10px"> $GLOBALS['bp'] = buddypress();
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcreadmetxt"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/readme.txt</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/readme.txt 2024-08-31 01:26:36 UTC (rev 14013)
+++ trunk/src/readme.txt 2024-09-02 22:45:11 UTC (rev 14014)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,8 +4,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> Tags: community, group, members, network, self-hosted
</span><span class="cx" style="display: block; padding: 0 10px"> License: GNU General Public License v2 or later
</span><span class="cx" style="display: block; padding: 0 10px"> License URI: https://www.gnu.org/licenses/gpl-2.0.html
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-Requires PHP: 5.6
-Requires at least: 6.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Requires PHP: 7.0
+Requires at least: 6.4
</ins><span class="cx" style="display: block; padding: 0 10px"> Tested up to: 6.6
</span><span class="cx" style="display: block; padding: 0 10px"> Stable tag: 14.0.0
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -55,7 +55,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> To run BuddyPress, we recommend your host supports:
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> * PHP version 7.4 or greater.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-* MySQL version 5.7 or greater OR MariaDB version 10.4 or greater.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+* MySQL version 8.0 or greater OR MariaDB version 10.5 or greater.
</ins><span class="cx" style="display: block; padding: 0 10px"> * HTTPS support
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> Note: If you are in a legacy environment where you only have older PHP or MySQL versions, WordPress also works with PHP 5.6.20+ and MySQL 5.0+, but these versions have reached official End Of Life and as such may expose your site to security vulnerabilities.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -62,7 +62,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> = Automatic installation =
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-Automatic installation is the easiest option as WordPress handles everything itself. To do an automatic install of BuddyPress, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Automatic installation is the easiest option as WordPress handles everything itself. To do an automatic installation of BuddyPress, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> In the search field type "BuddyPress" and click Search Plugins. Once you've found it, you can view details about the latest release, such as community reviews, ratings, and description. Install BuddyPress by simply pressing "Install Now".
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre>
</div>
</div>
</body>
</html>