Skip to content

Commit 8bca813

Browse files
committed
More pedantry. "Setup" is not a verb. http://notaverb.com/setup
git-svn-id: https://develop.svn.wordpress.org/trunk@13725 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 6db5b5d commit 8bca813

19 files changed

Lines changed: 38 additions & 38 deletions

wp-admin/custom-background.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function Custom_Background($admin_header_callback = '', $admin_image_div_callbac
4747
}
4848

4949
/**
50-
* Setup the hooks for the Custom Background admin page.
50+
* Set up the hooks for the Custom Background admin page.
5151
*
5252
* @since unknown
5353
*/
@@ -84,7 +84,7 @@ function step() {
8484
}
8585

8686
/**
87-
* Setup the enqueue for the JavaScript files.
87+
* Set up the enqueue for the JavaScript files.
8888
*
8989
* @since unknown
9090
*/
@@ -96,7 +96,7 @@ function js_includes() {
9696
}
9797

9898
/**
99-
* Setup the enqueue for the CSS files
99+
* Set up the enqueue for the CSS files
100100
*
101101
* @since unknown
102102
*/

wp-admin/custom-header.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function Custom_Image_Header($admin_header_callback, $admin_image_div_callback =
4949
}
5050

5151
/**
52-
* Setup the hooks for the Custom Header admin page.
52+
* Set up the hooks for the Custom Header admin page.
5353
*
5454
* @since unknown
5555
*/
@@ -85,7 +85,7 @@ function step() {
8585
}
8686

8787
/**
88-
* Setup the enqueue for the JavaScript files.
88+
* Set up the enqueue for the JavaScript files.
8989
*
9090
* @since unknown
9191
*/
@@ -99,7 +99,7 @@ function js_includes() {
9999
}
100100

101101
/**
102-
* Setup the enqueue for the CSS files
102+
* Set up the enqueue for the CSS files
103103
*
104104
* @since 2.7
105105
*/

wp-admin/includes/nav-menu.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ function wp_nav_menu_get_items( $menu_items, $object_type, $object = null, $cont
313313
$menu_item->post_parent = 0;
314314

315315
if ( 0 == $menu_item->post_parent ) {
316-
// Setup the menu item
316+
// Set up the menu item
317317
$menu_item = wp_setup_nav_menu_item( $menu_item, $object_type, $object );
318318
$attributes = ( 'backend' == $context ) ? ' id="menu-item-'. $i .'" value="'. $i .'"' : '';
319319

@@ -371,7 +371,7 @@ function wp_get_nav_menu_sub_items( $childof, $object_type, $object = null, $con
371371
if ( !empty($sub_menu_items) && !is_wp_error($sub_menu_items) ) {
372372
$output .= '<ul class="sub-menu menu-item-type-'. $object_type .'">';
373373
foreach ( $sub_menu_items as $menu_item ) {
374-
// Setup the menu item
374+
// Set up the menu item
375375
$menu_item = wp_setup_nav_menu_item( $menu_item, $object_type, $object );
376376
$attributes = ( 'backend' == $context ) ? ' id="menu-item-'. $i .'" value="'. $i .'"' : '';
377377

wp-cron.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* WordPress Cron Implementation for hosts, which do not offer CRON or for which
4-
* the user has not setup a CRON job pointing to this file.
4+
* the user has not set up a CRON job pointing to this file.
55
*
66
* The HTTP request to this file will not slow down the visitor who happens to
77
* visit when the cron job is needed to run.
@@ -22,7 +22,7 @@
2222
define('DOING_CRON', true);
2323

2424
if ( !defined('ABSPATH') ) {
25-
/** Setup WordPress environment */
25+
/** Set up WordPress environment */
2626
require_once('./wp-load.php');
2727
}
2828

wp-includes/capabilities.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function WP_Roles() {
8585
}
8686

8787
/**
88-
* Setup the object properties.
88+
* Set up the object properties.
8989
*
9090
* The role key is set to the current prefix for the $wpdb object with
9191
* 'user_roles' appended. If the $wp_user_roles global is set, then it will
@@ -269,7 +269,7 @@ class WP_Role {
269269
var $capabilities;
270270

271271
/**
272-
* PHP4 Constructor - Setup object properties.
272+
* PHP4 Constructor - Set up object properties.
273273
*
274274
* The list of capabilities, must have the key as the name of the capability
275275
* and the value a boolean of whether it is granted to the role.
@@ -500,7 +500,7 @@ function WP_User( $id, $name = '' ) {
500500
}
501501

502502
/**
503-
* Setup capability object properties.
503+
* Set up capability object properties.
504504
*
505505
* Will set the value for the 'cap_key' property to current database table
506506
* prefix, followed by 'capabilities'. Will then check to see if the

wp-includes/class-http.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ function WP_Http() {
5050
}
5151

5252
/**
53-
* PHP5 style Constructor - Setup available transport if not available.
53+
* PHP5 style Constructor - Set up available transport if not available.
5454
*
5555
* PHP4 does not have the 'self' keyword and since WordPress supports PHP4,
5656
* the class needs to be used for the static call.
5757
*
58-
* The transport are setup to save time. This should only be called once, so
58+
* The transport are set up to save time. This should only be called once, so
5959
* the overhead should be fine.
6060
*
6161
* @since 2.7.0
@@ -650,7 +650,7 @@ function request($url, $args = array()) {
650650
}
651651

652652
//fsockopen has issues with 'localhost' with IPv6 with certain versions of PHP, It attempts to connect to ::1,
653-
// which fails when the server is not setup for it. For compatibility, always connect to the IPv4 address.
653+
// which fails when the server is not set up for it. For compatibility, always connect to the IPv4 address.
654654
if ( 'localhost' == strtolower($fsockopen_host) )
655655
$fsockopen_host = '127.0.0.1';
656656

wp-includes/classes.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ function build_query_string() {
409409
}
410410

411411
/**
412-
* Setup the WordPress Globals.
412+
* Set up the WordPress Globals.
413413
*
414414
* The query_vars property will be extracted to the GLOBALS. So care should
415415
* be taken when naming global variables that might interfere with the
@@ -440,7 +440,7 @@ function register_globals() {
440440
}
441441

442442
/**
443-
* Setup the current user.
443+
* Set up the current user.
444444
*
445445
* @since 2.0.0
446446
*/
@@ -449,7 +449,7 @@ function init() {
449449
}
450450

451451
/**
452-
* Setup the Loop based on the query variables.
452+
* Set up the Loop based on the query variables.
453453
*
454454
* @uses WP::$query_vars
455455
* @since 2.0.0

wp-includes/formatting.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function wptexturize($text) {
3434
$textarr = preg_split('/(<.*>|\[.*\])/Us', $text, -1, PREG_SPLIT_DELIM_CAPTURE);
3535
$stop = count($textarr);
3636

37-
// No need to setup these variables more than once
37+
// No need to set up these variables more than once
3838
if (!$static_setup) {
3939
/* translators: opening curly quote */
4040
$opening_quote = _x('&#8220;', 'opening curly quote');

wp-includes/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1475,7 +1475,7 @@ function wp_remote_fopen( $uri ) {
14751475
}
14761476

14771477
/**
1478-
* Setup the WordPress query.
1478+
* Set up the WordPress query.
14791479
*
14801480
* @since 2.0.0
14811481
*

wp-includes/ms-settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Used to setup and fix common variables and include
3+
* Used to set up and fix common variables and include
44
* the Multisite procedural and class library.
55
*
66
* Allows for some configuration in wp-config.php (see ms-default-constants.php)

0 commit comments

Comments
 (0)