Forums

Permalink doesn't update when hiding the slug metabox (2 posts)

  1. Cor van Noorloos
    Member
    Posted 4 months ago #

    Hello,

    Currently using WordPress 3.4-alpha-19620 it seems it isn't possible to edit the post/page/post-type permalink when hiding the slug metabox.

    /**
     * remove_post_meta_box
     */
    function remove_post_meta_box() {
    	remove_meta_box('slugdiv', 'post', 'normal');
    }
    add_action('admin_menu', 'remove_post_meta_box');
    
    /**
     * remove_page_meta_box
     */
    function remove_page_meta_box() {
    	remove_meta_box('slugdiv', 'page', 'normal');
    }
    add_action('admin_menu', 'remove_page_meta_box');

    Assuming this isn't how it's suppose to be, would someone know perhaps a solution for this?
    I've tried to give it a lower priority, but unfortunately didn't work either.

  2. Cor van Noorloos
    Member
    Posted 4 months ago #

    After some further digging I noticed the trac ticket: http://core.trac.wordpress.org/ticket/18523

Reply

You must log in to post.

About this Topic