WordPress.org

Plugin Directory

Changeset 1977128


Ignore:
Timestamp:
11/20/2018 03:09:28 AM (4 months ago)
Author:
michaelhull
Message:

Fix for ACF field detection

Location:
big-boom-directory
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • big-boom-directory/tags/2.4.2/big-boom-directory.php

    r1911780 r1977128  
    33 * Plugin Name: Big Boom Directory
    44 * Description: Directory management system based on Custom Post Types, Taxonomies, and Fields
    5  * Version: 2.4.1
     5 * Version: 2.4.2
    66 * Author: Big Boom Design
    77 * Author URI: https://bigboomdesign.com
  • big-boom-directory/tags/2.4.2/lib/class-bbd-ajax.php

    r1911780 r1977128  
    163163
    164164        /**
    165          * For the non-pro version of ACF
     165         * For ACF 4.x
    166166         *
    167167         * Note we are trying the non-pro version even if Pro is activated,
     
    202202
    203203        /**
    204          * For ACF Pro
     204         * For ACF 5.x
    205205         *
    206206         * Note that we need to make sure $r is empty before trying the new way,
    207          * since there are a few cases where ACF Pro can be active and the old way
     207         * since there are a few cases where ACF 5+ can be active and the old way
    208208         * still works
    209209         *
    210          * Ex: Someone has an older version of ACF Pro, or has used non-pro to create
     210         * Ex: Someone has an older version of ACF, or has used an older version to create
    211211         * the field group being activated
    212212         */
    213         if( ! $r && bbd_has_acf_pro() ) {
     213        if( ! $r ) {
    214214
    215215            $fields_query = "SELECT post_content, post_title, post_name FROM " . $wpdb->posts .
  • big-boom-directory/tags/2.4.2/readme.txt

    r1911780 r1977128  
    44Requires at least: 3.5
    55Tested up to: 4.9
    6 Stable tag: 2.4.1
     6Stable tag: 2.4.2
    77License: GPLv2 or later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    6161
    6262== Changelog ==
     63
     64= 2.4.2 =
     65
     66* Fixed issue with ACF 5.x (non-pro version): Fields not not being found when selecting a field group from the Edit Post Type screen
    6367
    6468= 2.4.1 =
  • big-boom-directory/trunk/big-boom-directory.php

    r1911780 r1977128  
    33 * Plugin Name: Big Boom Directory
    44 * Description: Directory management system based on Custom Post Types, Taxonomies, and Fields
    5  * Version: 2.4.1
     5 * Version: 2.4.2
    66 * Author: Big Boom Design
    77 * Author URI: https://bigboomdesign.com
  • big-boom-directory/trunk/lib/class-bbd-ajax.php

    r1911780 r1977128  
    163163
    164164        /**
    165          * For the non-pro version of ACF
     165         * For ACF 4.x
    166166         *
    167167         * Note we are trying the non-pro version even if Pro is activated,
     
    202202
    203203        /**
    204          * For ACF Pro
     204         * For ACF 5.x
    205205         *
    206206         * Note that we need to make sure $r is empty before trying the new way,
    207          * since there are a few cases where ACF Pro can be active and the old way
     207         * since there are a few cases where ACF 5+ can be active and the old way
    208208         * still works
    209209         *
    210          * Ex: Someone has an older version of ACF Pro, or has used non-pro to create
     210         * Ex: Someone has an older version of ACF, or has used an older version to create
    211211         * the field group being activated
    212212         */
    213         if( ! $r && bbd_has_acf_pro() ) {
     213        if( ! $r ) {
    214214
    215215            $fields_query = "SELECT post_content, post_title, post_name FROM " . $wpdb->posts .
  • big-boom-directory/trunk/readme.txt

    r1911780 r1977128  
    44Requires at least: 3.5
    55Tested up to: 4.9
    6 Stable tag: 2.4.1
     6Stable tag: 2.4.2
    77License: GPLv2 or later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    6161
    6262== Changelog ==
     63
     64= 2.4.2 =
     65
     66* Fixed issue with ACF 5.x (non-pro version): Fields not not being found when selecting a field group from the Edit Post Type screen
    6367
    6468= 2.4.1 =
Note: See TracChangeset for help on using the changeset viewer.