Title: Doug's Replies | WordPress.org

---

# Doug

  [  ](https://wordpress.org/support/users/spheric1/)

 *   [Profile](https://wordpress.org/support/users/spheric1/)
 *   [Topics Started](https://wordpress.org/support/users/spheric1/topics/)
 *   [Replies Created](https://wordpress.org/support/users/spheric1/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/spheric1/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/spheric1/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/spheric1/engagements/)
 *   [Favorites](https://wordpress.org/support/users/spheric1/favorites/)

 Search replies:

## Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Themes "breaking", WSOD inconsistently](https://wordpress.org/support/topic/themes-breaking-wsod-inconsistently/)
 *  Thread Starter [Doug](https://wordpress.org/support/users/spheric1/)
 * (@spheric1)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/themes-breaking-wsod-inconsistently/#post-3958968)
 * I’ve figured out that, after some period of time, for some reason WordPress switches
   the theme/template to the _word_ “default”. Since there is no “default” directory
   in the templates folder, it throws errors. I don’t know where or why this happens
   since the default theme, should there be problems, is twentytwelve.
 * As a workaround for the moment, I’ve created a small plugin which checks to see
   if the template returned by the get_template() function is equal to “default”.
   If so, it switches the theme back to my custom theme.
 * I had previously reinstalled WordPress and seemed to experience this problem 
   without plugins, database changes, and with the default theme. I wonder if it
   is a PHP issue; I see now that PHP 5.2.4 is required for WordPress 3.2, while
   the server is running PHP 5.2.17.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Themes "breaking", WSOD inconsistently](https://wordpress.org/support/topic/themes-breaking-wsod-inconsistently/)
 *  Thread Starter [Doug](https://wordpress.org/support/users/spheric1/)
 * (@spheric1)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/themes-breaking-wsod-inconsistently/#post-3958859)
 * Yes, it broke again this morning. Twenty Twelve was active. When I went to the
   themes manager it said “The active theme is broken. Reverting to the default 
   theme.” It switched to the default theme. When I checked again, it had reverted
   back to Twenty Twelve theme.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Themes "breaking", WSOD inconsistently](https://wordpress.org/support/topic/themes-breaking-wsod-inconsistently/)
 *  Thread Starter [Doug](https://wordpress.org/support/users/spheric1/)
 * (@spheric1)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/themes-breaking-wsod-inconsistently/#post-3958699)
 * I edited it directly. To be clear, I left the TwentyEleven and TwentyTwelve themes
   untouched and in place; I copied to a new directory in the themes folder to create
   the custom theme.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Co-Authors Plus] Multiple authors can't edit pages](https://wordpress.org/support/topic/multiple-authors-cant-edit-pages/)
 *  [Doug](https://wordpress.org/support/users/spheric1/)
 * (@spheric1)
 * [14 years ago](https://wordpress.org/support/topic/multiple-authors-cant-edit-pages/page/2/#post-2265247)
 * A user with ability to edit their own posts but not others couldn’t edit if they
   weren’t listed as the first author of a post. Typically their role would be that
   of Author. I believe by default Authors have the publish_posts capability. I 
   was using the user-role-editor to add customize roles. The publish_posts capability
   was not granted to Authors and thus a problem.
 * If Authors have the publish_posts capability by default this problem won’t appear.
   It only becomes a problem if they don’t have the publish_post capability. (The
   publish_post is for granting/denying permission to publish _new_ posts/pages.)
   As mentioned, the system was checking the publish_posts capability to allow or
   deny editing of an _already published_ post. The problem is that this is the 
   wrong capability; the edit_published_posts capability is for allowing/denying
   permission to edit already published posts.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Co-Authors Plus] Multiple authors can't edit pages](https://wordpress.org/support/topic/multiple-authors-cant-edit-pages/)
 *  [Doug](https://wordpress.org/support/users/spheric1/)
 * (@spheric1)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/multiple-authors-cant-edit-pages/#post-2265243)
 * Ok. It took me a long time, but I figured out what the problem is. Line 833 of
   co-authors-plus.php checks for the **publish_posts** capability for _already 
   existing_ posts. The correct capability it ought to be checking is **edit_published_posts**.
   Therefore, change the two occurrences of publish_posts to edit_published_posts
   and it seems to work properly. The modified line will then look like: `if ( '
   publish' == $post->post_status && ( ! isset( $allcaps[$post_type_object->cap-
   >edit_published_posts] ) || ! $allcaps[$post_type_object->cap->edit_published_posts]))`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Co-Authors Plus] Multiple authors can't edit pages](https://wordpress.org/support/topic/multiple-authors-cant-edit-pages/)
 *  [Doug](https://wordpress.org/support/users/spheric1/)
 * (@spheric1)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/multiple-authors-cant-edit-pages/#post-2265235)
 * I tried what you suggested earlier in this thread without success.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Co-Authors Plus] Multiple authors can't edit pages](https://wordpress.org/support/topic/multiple-authors-cant-edit-pages/)
 *  [Doug](https://wordpress.org/support/users/spheric1/)
 * (@spheric1)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/multiple-authors-cant-edit-pages/#post-2265234)
 * I’m presently having this issue.

Viewing 7 replies - 1 through 7 (of 7 total)