WordPress.org

Make WordPress Core

Ticket #11875: grammar.11875.diff

File grammar.11875.diff, 2.5 KB (added by filosofo, 5 years ago)
  • wp-includes/post-template.php

     
    10061006 * Whether currently in a page template. 
    10071007 * 
    10081008 * 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 
     1009 * You can optionally provide a template name and then the check will be 
    10101010 * specific to that template. 
    10111011 * 
    10121012 * @since 2.5.0 
  • wp-includes/general-template.php

     
    167167/** 
    168168 * Display the Log In/Out link. 
    169169 * 
    170  * Displays a link, which allows the user to navigate to the Log In page to log in 
     170 * Displays a link, which allows users to navigate to the Log In page to log in 
    171171 * or log out depending on whether they are currently logged in. 
    172172 * 
    173173 * @since 1.5.0 
  • wp-includes/deprecated.php

     
    12551255 * @see get_comment() 
    12561256 * 
    12571257 * @param int $comment_ID The ID of the comment 
    1258  * @param int $no_cache Whether to use the cache (casted to bool) 
     1258 * @param int $no_cache Whether to use the cache (cast to bool) 
    12591259 * @param bool $include_unapproved Whether to include unapproved comments 
    12601260 * @return array The comment data 
    12611261 */ 
     
    24112411                do_action( 'updated_usermeta', $cur->umeta_id, $user_id, $meta_key, $meta_value ); 
    24122412 
    24132413        return true; 
    2414 } 
    2415  No newline at end of file 
     2414} 
  • wp-admin/includes/misc.php

     
    128128        $home_path = get_home_path(); 
    129129        $htaccess_file = $home_path.'.htaccess'; 
    130130 
    131         // If the file doesn't already exists check for write access to the directory and whether we have some rules. 
     131        // If the file doesn't already exist check for write access to the directory and whether we have some rules. 
    132132        // else check for write access to the file. 
    133133        if ((!file_exists($htaccess_file) && is_writable($home_path) && $wp_rewrite->using_mod_rewrite_permalinks()) || is_writable($htaccess_file)) { 
    134134                if ( got_mod_rewrite() ) {