• Resolved spbriggs

    (@spbriggs)


    Hi

    I think I’ve found a bug in the plugin. Changing the value of “Rewrite” for a post type to false does not actually switch off rewriting.

    I made this change in line 150 of the plugin in order to get the expected behaviour

    `//’rewrite’ => array( ‘slug’ => $cpt_rewrite_slug, ‘with_front’ => $cpt_rewrite_withfront ),
    ‘rewrite’ => false,`

    http://ww.wp.xz.cn/plugins/custom-post-type-ui/

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

The topic ‘Bug with rewrite flag’ is closed to new replies.