[wp-testers] wp-testers Digest, Vol 68, Issue 17

lpskuiper at ziggo.nl lpskuiper at ziggo.nl
Wed Oct 27 14:18:44 UTC 2010


Hello ,

im see the new 3.0.1 update:)
now everything works great :)

greets

sebastian
the netherlands
----- Original Message ----- 
From: <wp-testers-request at lists.automattic.com>
To: <wp-testers at lists.automattic.com>
Sent: Wednesday, October 27, 2010 2:00 PM
Subject: wp-testers Digest, Vol 68, Issue 17


> Send wp-testers mailing list submissions to
> wp-testers at lists.automattic.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.automattic.com/mailman/listinfo/wp-testers
> or, via email, send a message with subject or body 'help' to
> wp-testers-request at lists.automattic.com
>
> You can reach the person managing the list at
> wp-testers-owner at lists.automattic.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of wp-testers digest..."
>
>
> Today's Topics:
>
>   1. Permission problems in Custom post type (Navjot Singh)
>   2. Re: Permission problems in Custom post type (Chris Jean)
>   3. Re: Permission problems in Custom post type (Jon Cave)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 26 Oct 2010 20:40:56 +0530
> From: Navjot Singh <navjotjsingh at gmail.com>
> Subject: [wp-testers] Permission problems in Custom post type
> To: wp-testers at lists.automattic.com
> Message-ID:
> <AANLkTimVXTCT1NzWn5oLnjf5Ef0Q17Yy0WmqMHnEV5Cg at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> I am using this code for adding a custom post type
>
> add_action( 'init', 'go_post_types' );
>
> function go_post_types() {
>    register_post_type( 'videos',
>        array(
>            'labels' => array(
>                'name' => __( 'Videos' ),
>                'singular_name' => __( 'Video' ),
>            ),
>            'description' => __( 'Video type posts are used to post Videos
> to GO site.' ),
>            'public' => true,
>            'show_ui' => true,
>            'publicly_queryable' => true,
>            'exclude_from_search' => false,
>            '_builtin' => false,
>            'menu_position' => 5,
>            'menu_icon' => get_stylesheet_directory_uri() .
> '/images/videoicon.png',
>            'hierarchical' => false,
>            'capability_type' => 'post',
>            'supports' => array( 'title', 'editor', 'revisions', 'author',
> 'excerpt', 'custom-fields', 'thumbnail' ),
>            'rewrite' => array( 'slug' => 'videos'),
>            'can_export' => true,
>        )
>    );
>    register_taxonomy("video-type", array("videos"), array("hierarchical" 
> =>
> true, "label" => "Video Type", "rewrite" => true));
> }
> ?>
>
> One or two days back everything was fine but today when I logged in, I 
> could
> not edit any published video type. Now I can only add videos but not edit
> them. Seems some recent Trunk changeset caused the problem. I update the
> blog once a day via SVN.
>
> Can't figure out why its like this.
>
> Regards
> Navjot Singh
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 26 Oct 2010 10:14:52 -0500
> From: Chris Jean <gaarai at gaarai.com>
> Subject: Re: [wp-testers] Permission problems in Custom post type
> To: wp-testers at lists.automattic.com
> Message-ID: <4CC6F06C.90800 at gaarai.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Since you update your site via svn, have you tried rolling back until
> the problem goes away? If you can do that and identify which commit
> created the problem, it would greatly help in identifying the code that
> created the issue and speed development of a fix.
>
> Chris Jean (AKA gaarai&  chrisbliss18)
> Coder for http://ithemes.com/
> http://gaarai.com/
> @chrisjean
>
>
> On 10/26/2010 10:10 AM, Navjot Singh wrote:
>> I am using this code for adding a custom post type
>>
>> add_action( 'init', 'go_post_types' );
>>
>> function go_post_types() {
>>      register_post_type( 'videos',
>>          array(
>>              'labels' =>  array(
>>                  'name' =>  __( 'Videos' ),
>>                  'singular_name' =>  __( 'Video' ),
>>              ),
>>              'description' =>  __( 'Video type posts are used to post 
>> Videos
>> to GO site.' ),
>>              'public' =>  true,
>>              'show_ui' =>  true,
>>              'publicly_queryable' =>  true,
>>              'exclude_from_search' =>  false,
>>              '_builtin' =>  false,
>>              'menu_position' =>  5,
>>              'menu_icon' =>  get_stylesheet_directory_uri() .
>> '/images/videoicon.png',
>>              'hierarchical' =>  false,
>>              'capability_type' =>  'post',
>>              'supports' =>  array( 'title', 'editor', 'revisions', 
>> 'author',
>> 'excerpt', 'custom-fields', 'thumbnail' ),
>>              'rewrite' =>  array( 'slug' =>  'videos'),
>>              'can_export' =>  true,
>>          )
>>      );
>>      register_taxonomy("video-type", array("videos"), 
>> array("hierarchical" =>
>> true, "label" =>  "Video Type", "rewrite" =>  true));
>> }
>> ?>
>>
>> One or two days back everything was fine but today when I logged in, I 
>> could
>> not edit any published video type. Now I can only add videos but not edit
>> them. Seems some recent Trunk changeset caused the problem. I update the
>> blog once a day via SVN.
>>
>> Can't figure out why its like this.
>>
>> Regards
>> Navjot Singh
>> _______________________________________________
>> wp-testers mailing list
>> wp-testers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-testers
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 26 Oct 2010 16:52:59 +0100
> From: Jon Cave <jon at lionsgoroar.co.uk>
> Subject: Re: [wp-testers] Permission problems in Custom post type
> To: wp-testers at lists.automattic.com
> Message-ID:
> <AANLkTi=EwZB=DKkL2y702iYn37MOt93f1EMuhwcjnB90 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Tue, Oct 26, 2010 at 4:10 PM, Navjot Singh <navjotjsingh at gmail.com> 
> wrote:
>> One or two days back everything was fine but today when I logged in, I 
>> could
>> not edit any published video type. Now I can only add videos but not edit
>> them. Seems some recent Trunk changeset caused the problem. I update the
>> blog once a day via SVN.
>>
>> Can't figure out why its like this.
>
> My guess would be that it has something to do with the new CPT enabled
> behaviour in map_meta_cap. See #14122 [1] for details and individual
> commits. Nacin will see this shortly and should be able to
> confirm/deny.
>
> [1] http://core.trac.wordpress.org/ticket/14122
>
>
> ------------------------------
>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>
>
> End of wp-testers Digest, Vol 68, Issue 17
> ****************************************** 



More information about the wp-testers mailing list