Changeset 11904
- Timestamp:
- 03/19/2018 10:24:08 PM (7 years ago)
- Location:
- trunk/src/bp-core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-attachments.php
r11879 r11904 19 19 * 20 20 * @since 2.3.0 21 * 22 * @return bool True if WordPress is 3.9+, false otherwise. 21 * @since 3.0.0 We now require WP >= 4.5, so this is always true. 22 * 23 * @return bool Always true. 23 24 */ 24 25 function bp_attachments_is_wp_version_supported() { 25 return (bool) version_compare( bp_get_major_wp_version(), '3.9', '>=' );26 return true; 26 27 } 27 28 -
trunk/src/bp-core/bp-core-customizer-email.php
r11360 r11904 19 19 */ 20 20 function bp_email_init_customizer( WP_Customize_Manager $wp_customize ) { 21 22 // Require WP 4.0+.23 if ( ! method_exists( $wp_customize, 'add_panel' ) ) {24 return;25 }26 27 21 if ( ! bp_is_email_customizer() && ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) ) { 28 22 return;
Note: See TracChangeset
for help on using the changeset viewer.