Changeset 13725
- Timestamp:
- 03/17/2010 04:39:50 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/custom-background.php
r13668 r13725 48 48 49 49 /** 50 * Set up the hooks for the Custom Background admin page.50 * Set up the hooks for the Custom Background admin page. 51 51 * 52 52 * @since unknown … … 85 85 86 86 /** 87 * Set up the enqueue for the JavaScript files.87 * Set up the enqueue for the JavaScript files. 88 88 * 89 89 * @since unknown … … 97 97 98 98 /** 99 * Set up the enqueue for the CSS files99 * Set up the enqueue for the CSS files 100 100 * 101 101 * @since unknown -
trunk/wp-admin/custom-header.php
r13621 r13725 50 50 51 51 /** 52 * Set up the hooks for the Custom Header admin page.52 * Set up the hooks for the Custom Header admin page. 53 53 * 54 54 * @since unknown … … 86 86 87 87 /** 88 * Set up the enqueue for the JavaScript files.88 * Set up the enqueue for the JavaScript files. 89 89 * 90 90 * @since unknown … … 100 100 101 101 /** 102 * Set up the enqueue for the CSS files102 * Set up the enqueue for the CSS files 103 103 * 104 104 * @since 2.7 -
trunk/wp-admin/includes/nav-menu.php
r13722 r13725 314 314 315 315 if ( 0 == $menu_item->post_parent ) { 316 // Set up the menu item316 // Set up the menu item 317 317 $menu_item = wp_setup_nav_menu_item( $menu_item, $object_type, $object ); 318 318 $attributes = ( 'backend' == $context ) ? ' id="menu-item-'. $i .'" value="'. $i .'"' : ''; … … 372 372 $output .= '<ul class="sub-menu menu-item-type-'. $object_type .'">'; 373 373 foreach ( $sub_menu_items as $menu_item ) { 374 // Set up the menu item374 // Set up the menu item 375 375 $menu_item = wp_setup_nav_menu_item( $menu_item, $object_type, $object ); 376 376 $attributes = ( 'backend' == $context ) ? ' id="menu-item-'. $i .'" value="'. $i .'"' : ''; -
trunk/wp-cron.php
r11826 r13725 2 2 /** 3 3 * WordPress Cron Implementation for hosts, which do not offer CRON or for which 4 * the user has not set up a CRON job pointing to this file.4 * the user has not set up a CRON job pointing to this file. 5 5 * 6 6 * The HTTP request to this file will not slow down the visitor who happens to … … 23 23 24 24 if ( !defined('ABSPATH') ) { 25 /** Set up WordPress environment */25 /** Set up WordPress environment */ 26 26 require_once('./wp-load.php'); 27 27 } -
trunk/wp-includes/capabilities.php
r13666 r13725 86 86 87 87 /** 88 * Set up the object properties.88 * Set up the object properties. 89 89 * 90 90 * The role key is set to the current prefix for the $wpdb object with … … 270 270 271 271 /** 272 * PHP4 Constructor - Set up object properties.272 * PHP4 Constructor - Set up object properties. 273 273 * 274 274 * The list of capabilities, must have the key as the name of the capability … … 501 501 502 502 /** 503 * Set up capability object properties.503 * Set up capability object properties. 504 504 * 505 505 * Will set the value for the 'cap_key' property to current database table -
trunk/wp-includes/class-http.php
r13485 r13725 51 51 52 52 /** 53 * PHP5 style Constructor - Set up available transport if not available.53 * PHP5 style Constructor - Set up available transport if not available. 54 54 * 55 55 * PHP4 does not have the 'self' keyword and since WordPress supports PHP4, 56 56 * the class needs to be used for the static call. 57 57 * 58 * The transport are set up to save time. This should only be called once, so58 * The transport are set up to save time. This should only be called once, so 59 59 * the overhead should be fine. 60 60 * … … 651 651 652 652 //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 set up 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. 654 654 if ( 'localhost' == strtolower($fsockopen_host) ) 655 655 $fsockopen_host = '127.0.0.1'; -
trunk/wp-includes/classes.php
r13425 r13725 410 410 411 411 /** 412 * Set up the WordPress Globals.412 * Set up the WordPress Globals. 413 413 * 414 414 * The query_vars property will be extracted to the GLOBALS. So care should … … 441 441 442 442 /** 443 * Set up the current user.443 * Set up the current user. 444 444 * 445 445 * @since 2.0.0 … … 450 450 451 451 /** 452 * Set up the Loop based on the query variables.452 * Set up the Loop based on the query variables. 453 453 * 454 454 * @uses WP::$query_vars -
trunk/wp-includes/formatting.php
r13718 r13725 35 35 $stop = count($textarr); 36 36 37 // No need to set up these variables more than once37 // No need to set up these variables more than once 38 38 if (!$static_setup) { 39 39 /* translators: opening curly quote */ -
trunk/wp-includes/functions.php
r13715 r13725 1476 1476 1477 1477 /** 1478 * Set up the WordPress query.1478 * Set up the WordPress query. 1479 1479 * 1480 1480 * @since 2.0.0 -
trunk/wp-includes/ms-settings.php
r13622 r13725 1 1 <?php 2 2 /** 3 * Used to set up and fix common variables and include3 * Used to set up and fix common variables and include 4 4 * the Multisite procedural and class library. 5 5 * -
trunk/wp-includes/nav-menu-template.php
r13722 r13725 114 114 115 115 foreach ( $menu_items as $key => $menu_item ) { 116 // Set up the $menu_item variables116 // Set up the $menu_item variables 117 117 $menu_item = wp_setup_nav_menu_item( $menu_item, 'frontend' ); 118 118 -
trunk/wp-includes/query.php
r13691 r13725 46 46 47 47 /** 48 * Set up The Loop with query parameters.48 * Set up The Loop with query parameters. 49 49 * 50 50 * This will override the current WordPress Loop and shouldn't be used more than … … 64 64 65 65 /** 66 * Destroy the previous query and set up a new query.66 * Destroy the previous query and set up a new query. 67 67 * 68 68 * This should be used after {@link query_posts()} and before another {@link 69 69 * query_posts()}. This will remove obscure bugs that occur when the previous 70 * wp_query object is not destroyed properly before another is set up.70 * wp_query object is not destroyed properly before another is set up. 71 71 * 72 72 * @since 2.3.0 … … 2467 2467 2468 2468 /** 2469 * Set up the next post and iterate current post index.2469 * Set up the next post and iterate current post index. 2470 2470 * 2471 2471 * @since 1.5.0 … … 2761 2761 2762 2762 /** 2763 * Set up global post data.2763 * Set up global post data. 2764 2764 * 2765 2765 * @since 1.5.0 -
trunk/wp-includes/registration.php
r13382 r13725 315 315 316 316 /** 317 * Set up the default contact methods317 * Set up the default contact methods 318 318 * 319 319 * @access private -
trunk/wp-includes/rss.php
r13240 r13725 68 68 69 69 # pass in parser, and a reference to this object 70 # set up handlers70 # set up handlers 71 71 # 72 72 xml_set_object( $this->parser, $this ); … … 462 462 // else attempt a conditional get 463 463 464 // set up headers464 // set up headers 465 465 if ( $cache_status == 'STALE' ) { 466 466 $rss = $cache->get( $url ); … … 612 612 613 613 /** 614 * Set up constants with default values, unless user overrides.614 * Set up constants with default values, unless user overrides. 615 615 * 616 616 * @since unknown -
trunk/wp-includes/script-loader.php
r13704 r13725 38 38 39 39 /** 40 * Set up WordPress scripts to load by default for Administration Panels.40 * Set up WordPress scripts to load by default for Administration Panels. 41 41 * 42 42 * Localizes a few of the scripts. -
trunk/wp-includes/user.php
r13680 r13725 477 477 478 478 /** 479 * Set up global user vars.479 * Set up global user vars. 480 480 * 481 481 * Used by set_current_user() for back compat. Might be deprecated in the … … 492 492 * @global string $user_identity The display name of the user 493 493 * 494 * @param int $for_user_id Optional. User ID to set up global data.494 * @param int $for_user_id Optional. User ID to set up global data. 495 495 */ 496 496 function setup_userdata($for_user_id = '') { -
trunk/wp-includes/wp-db.php
r13671 r13725 736 736 <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> 737 737 </ul> 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' );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' ); 739 739 return; 740 740 } -
trunk/wp-settings.php
r13527 r13725 1 1 <?php 2 2 /** 3 * Used to set up and fix common variables and include3 * Used to set up and fix common variables and include 4 4 * the WordPress procedural and class library. 5 5 * -
trunk/xmlrpc.php
r13353 r13725 370 370 371 371 /** 372 * Set up blog options property.372 * Set up blog options property. 373 373 * 374 374 * Passes property through 'xmlrpc_blog_options' filter.
Note: See TracChangeset
for help on using the changeset viewer.