WordPress.org

Make WordPress Core

Changeset 13725


Ignore:
Timestamp:
03/17/2010 04:39:50 AM (12 years ago)
Author:
markjaquith
Message:

More pedantry. "Setup" is not a verb. http://notaverb.com/setup

Location:
trunk
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/custom-background.php

    r13668 r13725  
    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
     
    8585
    8686    /**
    87      * Setup the enqueue for the JavaScript files.
     87     * Set up the enqueue for the JavaScript files.
    8888     *
    8989     * @since unknown
     
    9797
    9898    /**
    99      * Setup the enqueue for the CSS files
     99     * Set up the enqueue for the CSS files
    100100     *
    101101     * @since unknown
  • trunk/wp-admin/custom-header.php

    r13621 r13725  
    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
     
    8686
    8787    /**
    88      * Setup the enqueue for the JavaScript files.
     88     * Set up the enqueue for the JavaScript files.
    8989     *
    9090     * @since unknown
     
    100100
    101101    /**
    102      * Setup the enqueue for the CSS files
     102     * Set up the enqueue for the CSS files
    103103     *
    104104     * @since 2.7
  • trunk/wp-admin/includes/nav-menu.php

    r13722 r13725  
    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 .'"' : '';
     
    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 .'"' : '';
  • trunk/wp-cron.php

    r11826 r13725  
    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
     
    2323
    2424if ( !defined('ABSPATH') ) {
    25     /** Setup WordPress environment */
     25    /** Set up WordPress environment */
    2626    require_once('./wp-load.php');
    2727}
  • trunk/wp-includes/capabilities.php

    r13666 r13725  
    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
     
    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
     
    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
  • trunk/wp-includes/class-http.php

    r13485 r13725  
    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     *
     
    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';
  • trunk/wp-includes/classes.php

    r13425 r13725  
    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
     
    441441
    442442    /**
    443      * Setup the current user.
     443     * Set up the current user.
    444444     *
    445445     * @since 2.0.0
     
    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
  • trunk/wp-includes/formatting.php

    r13718 r13725  
    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 */
  • trunk/wp-includes/functions.php

    r13715 r13725  
    14761476
    14771477/**
    1478  * Setup the WordPress query.
     1478 * Set up the WordPress query.
    14791479 *
    14801480 * @since 2.0.0
  • trunk/wp-includes/ms-settings.php

    r13622 r13725  
    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 *
  • trunk/wp-includes/nav-menu-template.php

    r13722 r13725  
    114114   
    115115    foreach ( $menu_items as $key => $menu_item ) {
    116         // Setup the $menu_item variables
     116        // Set up the $menu_item variables
    117117        $menu_item = wp_setup_nav_menu_item( $menu_item, 'frontend' );
    118118
  • trunk/wp-includes/query.php

    r13691 r13725  
    4646
    4747/**
    48  * Setup The Loop with query parameters.
     48 * Set up The Loop with query parameters.
    4949 *
    5050 * This will override the current WordPress Loop and shouldn't be used more than
     
    6464
    6565/**
    66  * Destroy the previous query and setup a new query.
     66 * Destroy the previous query and set up a new query.
    6767 *
    6868 * This should be used after {@link query_posts()} and before another {@link
    6969 * query_posts()}. This will remove obscure bugs that occur when the previous
    70  * wp_query object is not destroyed properly before another is setup.
     70 * wp_query object is not destroyed properly before another is set up.
    7171 *
    7272 * @since 2.3.0
     
    24672467
    24682468    /**
    2469      * Setup the next post and iterate current post index.
     2469     * Set up the next post and iterate current post index.
    24702470     *
    24712471     * @since 1.5.0
     
    27612761
    27622762/**
    2763  * Setup global post data.
     2763 * Set up global post data.
    27642764 *
    27652765 * @since 1.5.0
  • trunk/wp-includes/registration.php

    r13382 r13725  
    315315
    316316/**
    317  * Setup the default contact methods
     317 * Set up the default contact methods
    318318 *
    319319 * @access private
  • trunk/wp-includes/rss.php

    r13240 r13725  
    6868
    6969        # pass in parser, and a reference to this object
    70         # setup handlers
     70        # set up handlers
    7171        #
    7272        xml_set_object( $this->parser, $this );
     
    462462        // else attempt a conditional get
    463463
    464         // setup headers
     464        // set up headers
    465465        if ( $cache_status == 'STALE' ) {
    466466            $rss = $cache->get( $url );
     
    612612
    613613/**
    614  * Setup constants with default values, unless user overrides.
     614 * Set up constants with default values, unless user overrides.
    615615 *
    616616 * @since unknown
  • trunk/wp-includes/script-loader.php

    r13704 r13725  
    3838
    3939/**
    40  * Setup WordPress scripts to load by default for Administration Panels.
     40 * Set up WordPress scripts to load by default for Administration Panels.
    4141 *
    4242 * Localizes a few of the scripts.
  • trunk/wp-includes/user.php

    r13680 r13725  
    477477
    478478/**
    479  * Setup global user vars.
     479 * Set up global user vars.
    480480 *
    481481 * Used by set_current_user() for back compat. Might be deprecated in the
     
    492492 * @global string $user_identity The display name of the user
    493493 *
    494  * @param int $for_user_id Optional. User ID to setup global data.
     494 * @param int $for_user_id Optional. User ID to set up global data.
    495495 */
    496496function setup_userdata($for_user_id = '') {
  • trunk/wp-includes/wp-db.php

    r13671 r13725  
    736736<li>On some systems the name of your database is prefixed with your username, so it would be like <code>username_%1$s</code>. Could that be the problem?</li>
    737737</ul>
    738 <p>If you don\'t know how to setup a database you should <strong>contact your host</strong>. If all else fails you may find help at the <a href="http://wordpress.org/support/">WordPress Support Forums</a>.</p>'/*/WP_I18N_DB_SELECT_DB*/, $db, $this->dbuser ), 'db_select_fail' );
     738<p>If you don\'t know how to set up a database you should <strong>contact your host</strong>. If all else fails you may find help at the <a href="http://wordpress.org/support/">WordPress Support Forums</a>.</p>'/*/WP_I18N_DB_SELECT_DB*/, $db, $this->dbuser ), 'db_select_fail' );
    739739            return;
    740740        }
  • trunk/wp-settings.php

    r13527 r13725  
    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 WordPress procedural and class library.
    55 *
  • trunk/xmlrpc.php

    r13353 r13725  
    370370
    371371    /**
    372      * Setup blog options property.
     372     * Set up blog options property.
    373373     *
    374374     * Passes property through 'xmlrpc_blog_options' filter.
Note: See TracChangeset for help on using the changeset viewer.