Changeset 28298 for trunk/src/wp-admin/includes/meta-boxes.php
- Timestamp:
- 05/06/2014 04:44:38 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/meta-boxes.php
r27869 r28298 277 277 */ 278 278 function attachment_submit_meta_box( $post ) { 279 global $action;280 281 $post_type = $post->post_type;282 $post_type_object = get_post_type_object($post_type);283 $can_publish = current_user_can($post_type_object->cap->publish_posts);284 279 ?> 285 280 <div class="submitbox" id="submitpost">
Note: See TracChangeset
for help on using the changeset viewer.