Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter eugenious

    (@eugenious)

    Ok, that’s great.

    In case you haven’t seen this yet, I got another debug message after editing a page:
    Notice: Undefined offset: 0 in /Users/ehuang/Documents/apache-doc-root/wordpress/wp-includes/capabilities.php on line 1070

    This is coming from MslsMetaBox.php
    this:
    if ( !current_user_can( ‘edit_page’ ) )
    should be replaced with:
    if ( !current_user_can( ‘edit_page’, $post_id ) ) {

Viewing 1 replies (of 1 total)