Changeset 13382
- Timestamp:
- 02/24/2010 08:13:23 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-filesystem-base.php
r12752 r13382 14 14 class WP_Filesystem_Base { 15 15 /** 16 * Whether to display debug data for the connection or not.16 * Whether to display debug data for the connection. 17 17 * 18 18 * @since 2.5 -
trunk/wp-admin/includes/misc.php
r13311 r13382 129 129 $htaccess_file = $home_path.'.htaccess'; 130 130 131 // If the file doesn't already exists check for write access to the directory and whether of notwe have some rules.131 // If the file doesn't already exists check for write access to the directory and whether we have some rules. 132 132 // else check for write access to the file. 133 133 if ((!file_exists($htaccess_file) && is_writable($home_path) && $wp_rewrite->using_mod_rewrite_permalinks()) || is_writable($htaccess_file)) { … … 360 360 361 361 /** 362 * Determine whether to use CodePress or not.362 * Determine whether to use CodePress. 363 363 * 364 364 * @since 2.8 -
trunk/wp-admin/includes/template.php
r13359 r13382 181 181 * @param any $checked One of the values to compare 182 182 * @param any $current (true) The other value to compare if not just true 183 * @param bool $echo Whether or notto echo or just return the string183 * @param bool $echo Whether to echo or just return the string 184 184 */ 185 185 function checked( $checked, $current = true, $echo = true) { … … 196 196 * @param any selected One of the values to compare 197 197 * @param any $current (true) The other value to compare if not just true 198 * @param bool $echo Whether or notto echo or just return the string198 * @param bool $echo Whether to echo or just return the string 199 199 */ 200 200 function selected( $selected, $current = true, $echo = true) { … … 212 212 * @param any $helper One of the values to compare 213 213 * @param any $current (true) The other value to compare if not just true 214 * @param bool $echo Whether or notto echo or just return the string214 * @param bool $echo Whether to echo or just return the string 215 215 * @param string $type The type of checked|selected we are doing. 216 216 */ -
trunk/wp-content/themes/default/header.php
r12598 r13382 19 19 20 20 <?php 21 // Checks to see whether it needs a sidebar or not21 // Checks to see whether it needs a sidebar 22 22 if ( empty($withcomments) && !is_single() ) { 23 23 ?> -
trunk/wp-includes/capabilities.php
r13311 r13382 273 273 * 274 274 * The list of capabilities, must have the key as the name of the capability 275 * and the value a boolean of whether it is granted to the role or not.275 * and the value a boolean of whether it is granted to the role. 276 276 * 277 277 * @since 2.0.0 -
trunk/wp-includes/category.php
r13074 r13382 101 101 * 102 102 * @param string $category_path URL containing category slugs. 103 * @param bool $full_match Optional. Whether should match full path or not.103 * @param bool $full_match Optional. Whether full path should be matched. 104 104 * @param string $output Optional. Constant OBJECT, ARRAY_A, or ARRAY_N 105 105 * @return null|object|array Null on failure. Type is based on $output value. -
trunk/wp-includes/comment-template.php
r13268 r13382 932 932 * @since 0.71 933 933 * @global string $wpcommentspopupfile The URL to use for the popup window 934 * @global int $wpcommentsjavascript Whether to use JavaScript or not. Set when function is called934 * @global int $wpcommentsjavascript Whether to use JavaScript. Set when function is called 935 935 * 936 936 * @param int $width Optional. The width of the popup window -
trunk/wp-includes/comment.php
r13353 r13382 527 527 528 528 /** 529 * Validates whether this comment is allowed to be made or not.529 * Validates whether this comment is allowed to be made. 530 530 * 531 531 * @since 2.0.0 -
trunk/wp-includes/deprecated.php
r13377 r13382 1256 1256 * 1257 1257 * @param int $comment_ID The ID of the comment 1258 * @param int $no_cache Whether to use the cache or not(casted to bool)1259 * @param bool $include_unapproved Whether to include unapproved comments or not1258 * @param int $no_cache Whether to use the cache (casted to bool) 1259 * @param bool $include_unapproved Whether to include unapproved comments 1260 1260 * @return array The comment data 1261 1261 */ -
trunk/wp-includes/formatting.php
r13358 r13382 288 288 * @param mixed $quote_style Optional. Converts double quotes if set to ENT_COMPAT, both single and double if set to ENT_QUOTES or none if set to ENT_NOQUOTES. Also compatible with old values; converting single quotes if set to 'single', double if set to 'double' or both if otherwise set. Default is ENT_NOQUOTES. 289 289 * @param string $charset Optional. The character encoding of the string. Default is false. 290 * @param boolean $double_encode Optional. Whether or notto encode existing html entities. Default is false.290 * @param boolean $double_encode Optional. Whether to encode existing html entities. Default is false. 291 291 * @return string The encoded text with HTML entities. 292 292 */ … … 1111 1111 * 1112 1112 * @param string $content The text about to be edited. 1113 * @param bool $richedit Whether or notthe $content should pass through htmlspecialchars(). Default false.1113 * @param bool $richedit Whether the $content should pass through htmlspecialchars(). Default false. 1114 1114 * @return string The text after the filter (and possibly htmlspecialchars()) has been run. 1115 1115 */ -
trunk/wp-includes/functions.php
r13349 r13382 1824 1824 $wpdb->suppress_errors( $suppress ); 1825 1825 1826 $wp_tables = $wpdb->tables( 'all' , true);1826 $wp_tables = $wpdb->tables( 'all' ); 1827 1827 // Loop over the WP tables. If none exist, then scratch install is allowed. 1828 1828 // If one or more exist, suggest table repair since we got here because the options … … 1996 1996 * 1997 1997 * @param string $target Full path to attempt to create. 1998 * @return bool Whether the path was created or not. True if path already exists.1998 * @return bool Whether the path was created. True if path already exists. 1999 1999 */ 2000 2000 function wp_mkdir_p( $target ) { … … 3029 3029 * 3030 3030 * @param string $url 3031 * @return bool Whether or notSSL access is available3031 * @return bool Whether SSL access is available 3032 3032 */ 3033 3033 function url_is_accessable_via_ssl($url) -
trunk/wp-includes/general-template.php
r13377 r13382 169 169 * 170 170 * Displays a link, which allows the user to navigate to the Log In page to log in 171 * or log out depending on whether or notthey are currently logged in.171 * or log out depending on whether they are currently logged in. 172 172 * 173 173 * @since 1.5.0 … … 1437 1437 * 1438 1438 * @param string $d Optional Either 'G', 'U', or php date format. 1439 * @param bool $gmt Optional, default is false. Whether of notto return the gmt time.1439 * @param bool $gmt Optional, default is false. Whether to return the gmt time. 1440 1440 * @param int|object $post Optional post ID or object. Default is global $post object. 1441 * @param bool $translate Whether to translate the time string or not1441 * @param bool $translate Whether to translate the time string 1442 1442 * @return string 1443 1443 */ … … 1487 1487 * 1488 1488 * @param string $d Optional, default is 'U'. Either 'G', 'U', or php date format. 1489 * @param bool $gmt Optional, default is false. Whether of notto return the gmt time.1489 * @param bool $gmt Optional, default is false. Whether to return the gmt time. 1490 1490 * @param int|object $post Optional, default is global post object. A post_id or post object 1491 * @param bool $translate Optional, default is false. Whether to translate the result or not1491 * @param bool $translate Optional, default is false. Whether to translate the result 1492 1492 * @return string Returns timestamp 1493 1493 */ … … 1700 1700 * @since 2.1.0 1701 1701 * 1702 * @return bool Whether of notTinyMCE exists.1702 * @return bool Whether TinyMCE exists. 1703 1703 */ 1704 1704 function rich_edit_exists() { … … 1710 1710 1711 1711 /** 1712 * Whether or notthe user should have a WYSIWIG editor.1712 * Whether the user should have a WYSIWIG editor. 1713 1713 * 1714 1714 * Checks that the user requires a WYSIWIG editor and that the editor is -
trunk/wp-includes/kses.php
r13363 r13382 740 740 * 741 741 * @param string $value Attribute value 742 * @param string $vless Whether the value is valueless or not. Use 'y' or 'n'742 * @param string $vless Whether the value is valueless. Use 'y' or 'n' 743 743 * @param string $checkname What $checkvalue is checking for. 744 744 * @param mixed $checkvalue What constraint the value should pass 745 * @return bool Whether check passes (true) or not (false)745 * @return bool Whether check passes 746 746 */ 747 747 function wp_kses_check_attr_val($value, $vless, $checkname, $checkvalue) { -
trunk/wp-includes/media.php
r13377 r13382 1317 1317 * @param string $format The format of URL that this provider can handle. You can use asterisks as wildcards. 1318 1318 * @param string $provider The URL to the oEmbed provider. 1319 * @param boolean $regex Whether the $format parameter is in a regex format or not.1319 * @param boolean $regex Whether the $format parameter is in a regex format. 1320 1320 */ 1321 1321 function wp_oembed_add_provider( $format, $provider, $regex = false ) { -
trunk/wp-includes/pluggable.php
r13309 r13382 406 406 $phpmailer->ContentType = $content_type; 407 407 408 // Set whether it's plaintext or not, depending on $content_type408 // Set whether it's plaintext, depending on $content_type 409 409 if ( $content_type == 'text/html' ) { 410 410 $phpmailer->IsHTML( true ); … … 634 634 * 635 635 * @param int $user_id User ID 636 * @param bool $remember Whether to remember the user or not636 * @param bool $remember Whether to remember the user 637 637 */ 638 638 function wp_set_auth_cookie($user_id, $remember = false, $secure = '') { -
trunk/wp-includes/post-template.php
r13350 r13382 1006 1006 * Whether currently in a page template. 1007 1007 * 1008 * This template tag allows you to determine whether or not you are in a page1009 * template.You can optional provide a template name and then the check will be1008 * This template tag allows you to determine if you are in a page template. 1009 * You can optional provide a template name and then the check will be 1010 1010 * specific to that template. 1011 1011 * -
trunk/wp-includes/post-thumbnail-template.php
r12733 r13382 16 16 * 17 17 * @param int $post_id Optional. Post ID. 18 * @return bool Whether post has an image attached (true) or not (false).18 * @return bool Whether post has an image attached. 19 19 */ 20 20 function has_post_thumbnail( $post_id = NULL ) { -
trunk/wp-includes/post.php
r13316 r13382 133 133 * 134 134 * @param int $attachment_id Attachment ID. 135 * @param bool $unfiltered Whether to apply filters or not.135 * @param bool $unfiltered Whether to apply filters. 136 136 * @return string The file path to the attached file. 137 137 */ … … 1199 1199 * 1200 1200 * @param int $post_id Optional. Post ID. 1201 * @return bool Whether post is sticky (true) or not sticky (false).1201 * @return bool Whether post is sticky. 1202 1202 */ 1203 1203 function is_sticky($post_id = null) { -
trunk/wp-includes/registration.php
r13311 r13382 84 84 * 'last_name' - The user's last name. 85 85 * 'description' - A string containing content about the user. 86 * 'rich_editing' - A string for whether to enable the rich editor or not. False86 * 'rich_editing' - A string for whether to enable the rich editor. False 87 87 * if not empty. 88 88 * 'user_registered' - The date the user registered. Format is 'Y-m-d H:i:s'. -
trunk/wp-includes/taxonomy.php
r13321 r13382 129 129 * 130 130 * @param string $taxonomy Name of taxonomy object 131 * @return bool Whether the taxonomy exists or not.131 * @return bool Whether the taxonomy exists. 132 132 */ 133 133 function is_taxonomy( $taxonomy ) { -
trunk/wp-includes/user.php
r13311 r13382 261 261 * @param string $option_name User option name. 262 262 * @param mixed $newvalue User option value. 263 * @param bool $global Optional. Whether option name is blog specific or not.263 * @param bool $global Optional. Whether option name is blog specific. 264 264 * @return unknown 265 265 */ -
trunk/wp-includes/wp-db.php
r13376 r13382 953 953 * @see wpdb::show_errors() 954 954 * 955 * @return bool Whether showing of errors was active or not955 * @return bool Whether showing of errors was active 956 956 */ 957 957 function hide_errors() { … … 1428 1428 1429 1429 /** 1430 * Whether or notMySQL database is at least the required minimum version.1430 * Whether MySQL database is at least the required minimum version. 1431 1431 * 1432 1432 * @since 2.5.0 … … 1444 1444 1445 1445 /** 1446 * Whether of notthe database supports collation.1446 * Whether the database supports collation. 1447 1447 * 1448 1448 * Called when WordPress is generating the table scheme. -
trunk/wp-trackback.php
r12657 r13382 14 14 * trackback_response() - Respond with error or success XML message 15 15 * 16 * @param int|bool $error Whether there was an error or not16 * @param int|bool $error Whether there was an error 17 17 * @param string $error_message Error message if an error occurred 18 18 */
Note: See TracChangeset
for help on using the changeset viewer.