Changeset 30673
- Timestamp:
- 11/30/2014 10:55:08 PM (10 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/option.php
r30652 r30673 344 344 * @since 1.0.0 345 345 * 346 * @param string $optionName of option to add. Expected to not be SQL-escaped.347 * @param mixed $valueOptional. Option value. Must be serializable if non-scalar. Expected to not be SQL-escaped.348 * @param mixed $deprecatedOptional. Description. Not used anymore.349 * @param bool $autoloadOptional. Default is enabled. Whether to load the option when WordPress starts up.346 * @param string $option Name of option to add. Expected to not be SQL-escaped. 347 * @param mixed $value Optional. Option value. Must be serializable if non-scalar. Expected to not be SQL-escaped. 348 * @param string $deprecated Optional. Description. Not used anymore. 349 * @param string|bool $autoload Optional. Default is enabled. Whether to load the option when WordPress starts up. 350 350 * @return bool False if option was not added and true if option was added. 351 351 */ … … 776 776 * @param string $name The name of the setting. 777 777 * @param string $value The value for the setting. 778 * @return bool true if set successfully/false if not.778 * @return null|bool true if set successfully/false if not. 779 779 */ 780 780 function set_user_setting( $name, $value ) { … … 798 798 * @since 2.7.0 799 799 * 800 * @param mixed$names The name or array of names of the setting to be deleted.801 * @return bool true if deleted successfully/false if not.800 * @param string $names The name or array of names of the setting to be deleted. 801 * @return null|bool true if deleted successfully/false if not. 802 802 */ 803 803 function delete_user_setting( $names ) { … … 869 869 * 870 870 * @param array $user_settings 871 * @return bool871 * @return null|bool 872 872 */ 873 873 function wp_set_all_user_settings( $user_settings ) { -
trunk/src/wp-includes/query.php
r30620 r30673 177 177 * @uses $wp_query 178 178 * 179 * @param mixed$attachment Attachment ID, title, slug, or array of such.179 * @param int|string|array $attachment Attachment ID, title, slug, or array of such. 180 180 * @return bool 181 181 */ … … 277 277 * @uses $wp_query 278 278 * 279 * @param mixed$taxonomy Optional. Taxonomy slug or slugs.280 * @param mixed$term Optional. Term ID, name, slug or array of Term IDs, names, and slugs.279 * @param string|array $taxonomy Optional. Taxonomy slug or slugs. 280 * @param int|string|array $term Optional. Term ID, name, slug or array of Term IDs, names, and slugs. 281 281 * @return bool 282 282 */ … … 2101 2101 * @since 3.7.0 2102 2102 * 2103 * @param array Terms to check.2103 * @param array $terms Terms to check. 2104 2104 * @return array Terms that are not stopwords. 2105 2105 */ … … 4541 4541 * @since 4.1.0 4542 4542 * 4543 * @param object $post Post data.4543 * @param WP_Post $post Post data. 4544 4544 * @return bool True when finished. 4545 4545 */ … … 4609 4609 * 4610 4610 * @since 3.7.0 4611 *4612 * @return bool4613 4611 */ 4614 4612 public function reset_postdata() { -
trunk/src/wp-includes/revision.php
r30621 r30673 439 439 * @since 3.6.0 440 440 * 441 * @param object $post The post object.441 * @param WP_Post $post The post object. 442 442 * @return bool True if number of revisions to keep isn't zero, false otherwise. 443 443 */ … … 573 573 * @access private 574 574 * 575 * @param object $post Post object575 * @param WP_Post $post Post object 576 576 * @param array $revisions Current revisions of the post 577 577 * @return bool true if the revisions were upgraded, false if problems -
trunk/src/wp-includes/taxonomy.php
r30654 r30673 820 820 * 821 821 * @param string $relation Raw relation key from the query argument. 822 * @return Sanitized relation ('AND' or 'OR').822 * @return string Sanitized relation ('AND' or 'OR'). 823 823 */ 824 824 public function sanitize_relation( $relation ) { … … 3737 3737 * @param string|array $object_ids Single or list of term object ID(s) 3738 3738 * @param array|string $object_type The taxonomy object type 3739 * @return null| boolNull value is given with empty $object_ids. False if3739 * @return null|false Null value is given with empty $object_ids. False if 3740 3740 */ 3741 3741 function update_object_term_cache($object_ids, $object_type) {
Note: See TracChangeset
for help on using the changeset viewer.