Skip to:
Content

BuddyPress.org

Changeset 12264

Timestamp:
10/26/2018 12:06:50 PM (6 years ago)
Author:
djpaul
Message:

Increase WordPress minimum supported version to 4.6.

See https://codex.buddypress.org/getting-started/wordpress-version-compatibility/ for
how we decide which version of WordPress to maintain backwards compatibilty to.

Location:
trunk
Files:
1 added
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r11963 r12264  
    3131  - WP_VERSION=4.7 BP_TRAVISCI=travis:phpunit
    3232  - WP_VERSION=4.6 BP_TRAVISCI=travis:phpunit
    33   - WP_VERSION=4.5 BP_TRAVISCI=travis:phpunit
    3433
    3534matrix:
     
    4948      env: WP_VERSION=4.6 BP_TRAVISCI=travis:phpunit
    5049      dist: precise
    51     - php: 5.3
    52       env: WP_VERSION=4.5 BP_TRAVISCI=travis:phpunit
    53       dist: precise
    5450  exclude:
    5551    - php: 7.2
    5652      env: WP_VERSION=4.6 BP_TRAVISCI=travis:phpunit
    57     - php: 7.2
    58       env: WP_VERSION=4.5 BP_TRAVISCI=travis:phpunit
    5953
    6054# before_install: Failures in this section will result in build status 'errored'
  • trunk/src/bp-activity/bp-activity-embeds.php

    r11957 r12264  
    22/**
    33 * Functions related to embedding single activity items externally.
    4  *
    5  * Relies on WordPress 4.5.
    64 *
    75 * @since 2.6.0
  • trunk/src/bp-core/bp-core-attachments.php

    r12248 r12264  
    1919 *
    2020 * @since 2.3.0
    21  * @since 3.0.0 We now require WP >= 4.5, so this is always true.
     21 * @since 3.0.0 his is always true.
    2222 *
    2323 * @return bool Always true.
  • trunk/src/bp-core/bp-core-cssjs.php

    r11447 r12264  
    537537    if ( wp_script_is( 'bp-moment-locale', 'registered' ) ) {
    538538        wp_enqueue_script( 'bp-moment-locale' );
    539 
    540         if ( function_exists( 'wp_add_inline_script' ) ) {
    541             wp_add_inline_script ( 'bp-livestamp', bp_core_moment_js_config() );
    542         } else {
    543             add_action( 'wp_footer', '_bp_core_moment_js_config_footer', 20 );
    544         }
     539        wp_add_inline_script ( 'bp-livestamp', bp_core_moment_js_config() );
    545540    }
    546541
     
    569564    return $inline_js;
    570565}
    571 
    572 /**
    573  * Print moment.js config in page footer.
    574  *
    575  * Will be removed once we set our minimum version of WP 4.5.
    576  *
    577  * @since 2.7.0
    578  *
    579  * @access private
    580  */
    581 function _bp_core_moment_js_config_footer() {
    582     if ( ! wp_script_is( 'bp-moment-locale' ) ) {
    583         return;
    584     }
    585 
    586     printf( '<script>%s</script>', bp_core_moment_js_config() );
    587 }
  • trunk/src/bp-core/deprecated/3.0.php

    r11941 r12264  
    33 * Deprecated functions.
    44 *
    5  * @deprecated 2.9.0
     5 * @deprecated .0
    66 */
    77
  • trunk/src/class-buddypress.php

    r12262 r12264  
    507507            require( $this->plugin_dir . 'bp-core/deprecated/2.9.php' );
    508508            require( $this->plugin_dir . 'bp-core/deprecated/3.0.php' );
     509
    509510        }
    510511
  • trunk/src/readme.txt

    r12263 r12264  
    22Contributors: johnjamesjacoby, DJPaul, boonebgorges, r-a-y, imath, mercime, tw2113, dcavins, hnla, karmatosed, slaFFik, dimensionmedia, henrywright, netweb, offereins, espellcaste, modemlooper, danbp, Venutius, apeatling, shanebp
    33Tags: user profiles, activity streams, messaging, friends, user groups, notifications, community, social networking
    4 Requires at least: 4.5
     4Requires at least: 4.
    55Tested up to: 4.9.8
    66Requires PHP: 5.3
Note: See TracChangeset for help on using the changeset viewer.