• Resolved Luzychun

    (@luzychun)


    Hello

    I am using wordpress 3.9.1, just installed CFS plugin 2.3.5. Found out
    that whenever I set post formats as Placement Rules, the following error will be displayed:

    Notice: Undefined index: post_formats in C:\[-WP directory-]\htdocs\wp-content\plugins\custom-field-suite\cfs.php on line 474

    From a simple search I noticed that on line 462 of cfs.php, the post_format is simply left out from the array:

    $labels = array(
                    'post_types'        => __( 'Post Types', 'cfs' ),
                    'user_roles'        => __( 'User Roles', 'cfs' ),
                    'post_ids'          => __( 'Post IDs', 'cfs' ),
                    'term_ids'          => __( 'Term IDs', 'cfs' ),
                    'page_templates'    => __( 'Page Templates', 'cfs' )
                );

    Adding back the post_format will simply solve the problem.

    Anyway great work for making the cfs so useful!

    Regards

    TC

    https://ww.wp.xz.cn/plugins/custom-field-suite/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Post Formats in Placement Rules not functioning’ is closed to new replies.