Changeset 14585 for trunk/wp-admin/includes/meta-boxes.php
- Timestamp:
- 05/12/2010 08:45:18 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/meta-boxes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/meta-boxes.php
r14426 r14585 15 15 $post_type = $post->post_type; 16 16 $post_type_object = get_post_type_object($post_type); 17 $can_publish = current_user_can($post_type_object-> publish_cap);17 $can_publish = current_user_can($post_type_object->cap->publish_posts); 18 18 ?> 19 19 <div class="submitbox" id="submitpost">
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)