Permalink
Browse files

Re: Issue #40 update inline docs for functions/custom-post-meta.php

  • Loading branch information...
1 parent 23e1ba3 commit 86d4a29174a776efca4f84a9243fe90ab0745f52 @chipbennett committed Jun 7, 2012
Showing with 18 additions and 2 deletions.
  1. +18 −2 functions/post-custom-meta.php
@@ -15,6 +15,7 @@
/**
* Add Layout Meta Box
*
+ * @uses __()
* @uses add_meta_box()
*/
function oenology_add_layout_meta_box( $post ) {
@@ -23,8 +24,22 @@ function oenology_add_layout_meta_box( $post ) {
$context = 'side'; // 'normal', 'side', 'advanced'
$priority = 'default'; // 'high', 'core', 'low', 'default'
- add_meta_box( 'oenology_layout', __( 'Single Post Layout', 'oenology' ), 'oenology_layout_meta_box', 'post', $context, $priority );
- add_meta_box( 'oenology_layout', __( 'Static Page Layout', 'oenology' ), 'oenology_layout_meta_box', 'page', $context, $priority );
+ add_meta_box(
+ 'oenology_layout',
+ __( 'Single Post Layout', 'oenology' ),
+ 'oenology_layout_meta_box',
+ 'post',
+ $context,
+ $priority
+ );
+ add_meta_box(
+ 'oenology_layout',
+ __( 'Static Page Layout', 'oenology' ),
+ 'oenology_layout_meta_box',
+ 'page',
+ $context,
+ $priority
+ );
}
// Hook meta boxes into 'add_meta_boxes'
@@ -43,6 +58,7 @@ function oenology_add_layout_meta_box( $post ) {
* context.
*
* @uses oenology_get_option_parameters() Defined in \functions\options.php
+ * @uses checked()
* @uses get_post_custom()
*/
function oenology_layout_meta_box() {

0 comments on commit 86d4a29

Please sign in to comment.