Changeset 34717
- Timestamp:
- 09/30/2015 04:12:16 AM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-upgrader.php
r34566 r34717 453 453 } elseif ( count( $source_files ) == 0 ) { 454 454 return new WP_Error( 'incompatible_archive_empty', $this->strings['incompatible_archive'], $this->strings['no_files'] ); // There are no files? 455 } else { // It's only a single file, the upgrader will use the foldername of this file as the destination folder. foldername is based on zip filename.455 } else { // It's only a single file, the upgrader will use the folder name of this file as the destination folder. Folder name is based on zip filename. 456 456 $source = trailingslashit( $args['source'] ); 457 457 } … … 877 877 * @param string $plugin The basename path to the main plugin file. 878 878 * @param array $args { 879 * Optional. Other arguments for upgrading a plugin package. Def ualt empty array.879 * Optional. Other arguments for upgrading a plugin package. Default empty array. 880 880 * 881 881 * @type bool $clear_update_cache Whether to clear the plugin updates cache if successful. … … 1233 1233 * @since 2.8.0 1234 1234 * @access public 1235 * @var array|WP_Er orr $result1235 * @var array|WP_Error $result 1236 1236 * @see WP_Upgrader::$result 1237 1237 */ … … 2422 2422 2423 2423 /** 2424 * Compare the disk file checksums agains the expected checksums.2424 * Compare the disk file checksums against the expected checksums. 2425 2425 * 2426 2426 * @since 3.7.0 -
trunk/src/wp-admin/includes/taxonomy.php
r33190 r34717 94 94 * Array of arguments for inserting a new category. 95 95 * 96 * @type int $cat_ID Categor iy ID. A non-zero value updates an existing category.96 * @type int $cat_ID Category ID. A non-zero value updates an existing category. 97 97 * Default 0. 98 * @type string $taxonomy Taxonomy slug. Def ualt 'category'.98 * @type string $taxonomy Taxonomy slug. Default 'category'. 99 99 * @type string $cat_name Category name. Default empty. 100 100 * @type string $category_description Category description. Default empty. -
trunk/src/wp-includes/class-wp-editor.php
r34233 r34717 49 49 * @type string|int $tabindex Tabindex value to use. Default empty. 50 50 * @type string $tabfocus_elements The previous and next element ID to move the focus to 51 * when pressing the Tab key in TinyMCE. Def ualt ':prev,:next'.51 * when pressing the Tab key in TinyMCE. Default ':prev,:next'. 52 52 * @type string $editor_css Intended for extra styles for both Visual and Text editors. 53 53 * Should include `<style>` tags, and can use "scoped". Default empty. 54 * @type string $editor_class Extra classes to add to the editor textarea elemen . Default empty.54 * @type string $editor_class Extra classes to add to the editor textarea element. Default empty. 55 55 * @type bool $teeny Whether to output the minimal editor config. Examples include 56 56 * Press This and the Comment editor. Default false. -
trunk/src/wp-includes/link-template.php
r34715 r34717 1016 1016 } else { 1017 1017 $search = urlencode($search); 1018 $search = str_replace('%2F', '/', $search); // %2F(/) is not valid within a URL, send it un encoded.1018 $search = str_replace('%2F', '/', $search); // %2F(/) is not valid within a URL, send it un-encoded. 1019 1019 $link = str_replace( '%search%', $search, $permastruct ); 1020 1020 $link = home_url( user_trailingslashit( $link, 'search' ) ); -
trunk/src/wp-includes/post-functions.php
r34685 r34717 280 280 * statement (which needs to be verified), it would then be possible to get 281 281 * all of the attachments for a post. Attachments have since changed since 282 * version 2.5, so this is most likely unaccurate, but serves generally as an282 * version 2.5, so this is most likely inaccurate, but serves generally as an 283 283 * example of what is possible. 284 284 * … … 386 386 * 387 387 * @param string $post Post content. 388 * @return array Post before ('main'), after ('extended'), and custom read more ('more_text').388 * @return array Post before ('main'), after ('extended'), and custom read more ('more_text'). 389 389 */ 390 390 function get_extended( $post ) { … … 2734 2734 * 2735 2735 * @param int $post_id Optional. The Post ID. Does not default to the ID of the 2736 * global $post. Def ualt 0.2736 * global $post. Default 0. 2737 2737 * @param array $args Optional. Overwrite the defaults 2738 2738 * @return array List of post tags. … … 3498 3498 } 3499 3499 3500 // wp_publish_post(_ returns no meanin ful value3500 // wp_publish_post(_ returns no meaningful value. 3501 3501 wp_publish_post( $post_id ); 3502 3502 }
Note: See TracChangeset
for help on using the changeset viewer.