But this only so link to edit and show the editor, but everytime edit this
post and safe Always fail, text that add after edit not safe to Database.
What wrong?
--- Nurudin Jauhari <[EMAIL PROTECTED]> wrote:
> Done And work well on my Case ;)
> Right know author can edit their own post
>
> Thanks
>
>
> --- Owen Winkler <[EMAIL PROTECTED]> wrote:
>
> > Abhay Kumar wrote:
> > >>Can anyone explain to me?
> > >>and how to set, the best set that I want like this
> > >>User can posting and edit their own post.
> > >>What Must I set level to this user.
> > >>Author? Editor?
> > >
> > > Currently, there is no way to do that within the established roles
> in
> > > the database. Check Ryan Boren's message on the thread:
> > > [wp-testers] User Level revisited (after a year)
> > >
> > > Cheers.
> >
> > This is perhaps the worst plugin I have ever written. You can replace
>
> > this entire thing with two lines in your admin-footer.php.
> >
> > It was not hard - a better solution will present itself in due time.
> >
> > Owen
> >
> ---------------------------------
> basename(), array($this, 'manage_page')); } function
> manage_page() {
> global $wp_roles; $role = $wp_roles->get_role('author');
> $checked =
> ($role->has_cap('edit_published_posts')) ? ' checked="checked"' : '';
>
> if(isset($_POST['Submit'])) { if(isset($_POST['ae_enable']))
> {
> $role->add_cap('edit_published_posts');
> $checked = '
> checked="checked"'; } else {
>
> $role->remove_cap('edit_published_posts');
> $checked = ''; } }
> echo ' Author Enhancer
> Editing
> Capabilities
>
> [input] Enable editing of
> Author user\'s own published posts.
>
>
> [input]
>
> '; } function basename() { $name =
> preg_replace('/^.*wp-content[\\\\\/]plugins[\\\\\/]/', '', __FILE__);
> return str_replace('\\', '/', $name); }} $authorenhancer = new
> AuthorEnhancer();?>> _______________________________________________
> > wp-testers mailing list
> > [email protected]
> > http://lists.automattic.com/mailman/listinfo/wp-testers
> >
>
>
> .::..:.:...::.:...
> Everything Is Possible..!
>
> .:: My Blogs | Get Firefox
>
> _______________________________________________
> wp-testers mailing list
> [email protected]
> http://lists.automattic.com/mailman/listinfo/wp-testers
>
.::..:.:...::.:...
Everything Is Possible..!
.:: My Blogs | Get Firefox
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers