More pedantry. "Setup" is not a verb. http://notaverb.com/setup
git-svn-id: http://svn.automattic.com/wordpress/trunk@13725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -47,7 +47,7 @@ class Custom_Background {
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup the hooks for the Custom Background admin page.
|
||||
* Set up the hooks for the Custom Background admin page.
|
||||
*
|
||||
* @since unknown
|
||||
*/
|
||||
@@ -84,7 +84,7 @@ class Custom_Background {
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup the enqueue for the JavaScript files.
|
||||
* Set up the enqueue for the JavaScript files.
|
||||
*
|
||||
* @since unknown
|
||||
*/
|
||||
@@ -96,7 +96,7 @@ class Custom_Background {
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup the enqueue for the CSS files
|
||||
* Set up the enqueue for the CSS files
|
||||
*
|
||||
* @since unknown
|
||||
*/
|
||||
|
||||
@@ -49,7 +49,7 @@ class Custom_Image_Header {
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup the hooks for the Custom Header admin page.
|
||||
* Set up the hooks for the Custom Header admin page.
|
||||
*
|
||||
* @since unknown
|
||||
*/
|
||||
@@ -85,7 +85,7 @@ class Custom_Image_Header {
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup the enqueue for the JavaScript files.
|
||||
* Set up the enqueue for the JavaScript files.
|
||||
*
|
||||
* @since unknown
|
||||
*/
|
||||
@@ -99,7 +99,7 @@ class Custom_Image_Header {
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup the enqueue for the CSS files
|
||||
* Set up the enqueue for the CSS files
|
||||
*
|
||||
* @since 2.7
|
||||
*/
|
||||
|
||||
@@ -313,7 +313,7 @@ function wp_nav_menu_get_items( $menu_items, $object_type, $object = null, $cont
|
||||
$menu_item->post_parent = 0;
|
||||
|
||||
if ( 0 == $menu_item->post_parent ) {
|
||||
// Setup the menu item
|
||||
// Set up the menu item
|
||||
$menu_item = wp_setup_nav_menu_item( $menu_item, $object_type, $object );
|
||||
$attributes = ( 'backend' == $context ) ? ' id="menu-item-'. $i .'" value="'. $i .'"' : '';
|
||||
|
||||
@@ -371,7 +371,7 @@ function wp_get_nav_menu_sub_items( $childof, $object_type, $object = null, $con
|
||||
if ( !empty($sub_menu_items) && !is_wp_error($sub_menu_items) ) {
|
||||
$output .= '<ul class="sub-menu menu-item-type-'. $object_type .'">';
|
||||
foreach ( $sub_menu_items as $menu_item ) {
|
||||
// Setup the menu item
|
||||
// Set up the menu item
|
||||
$menu_item = wp_setup_nav_menu_item( $menu_item, $object_type, $object );
|
||||
$attributes = ( 'backend' == $context ) ? ' id="menu-item-'. $i .'" value="'. $i .'"' : '';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user