Commit Graph

  • c8ec7ffffa Add missing doc blocks to template.php. Scott Taylor 2015-05-27 22:03:52 +00:00
  • be0175838b Add missing doc blocks to taxonomy.php. Correct some @return values. Some functions can return new WP_Error without setting it to a variable. Some functions can return their apply_filters(...) call without first setting it to a variable. is_object_in_taxonomy() can return its conditional instead of if/else true/false. Scott Taylor 2015-05-27 21:59:06 +00:00
  • 9560fbdd77 Provide all site flag data in objects returned by get_blogs_of_user() Jeremy Felt 2015-05-27 21:22:09 +00:00
  • 556ffa235a Insert temporary password field hook for feature development in a plugin. Mark Jaquith 2015-05-27 19:58:38 +00:00
  • a3f2743f9a Add missing doc blocks to shortcodes.php. Scott Taylor 2015-05-27 19:39:00 +00:00
  • 4eb73b6683 Add missing doc blocks to script-loader.php. Use wp_styles() and wp_scripts() where appropriate. Scott Taylor 2015-05-27 19:33:41 +00:00
  • 2f822e758c Add missing doc blocks to rewrite.php. Clarify @return values where necessary. add_permastruct() doesn't need to return. ->using_index_permalinks() and ->using_mod_rewrite_permalinks() can just return their conditions, instead of if/else true/false. ->mod_rewrite_rules() and ->iis7_url_rewrite_rules() don't need to set a variable that is immediately returned. Scott Taylor 2015-05-27 19:22:59 +00:00
  • 496b36db35 Add missing doc blocks to revision.php. Clarify @return values where necessary. In wp_delete_post_revision(), wp_delete_post() doesn't return WP_Error, so that check can be removed. wp_revisions_to_keep() always returns an int, so wp_revisions_enabled() can use strict comparison. Scott Taylor 2015-05-27 18:37:29 +00:00
  • d1675e2571 Add missing doc blocks to query.php. Clarify @return values where necessary. Some wrapper functions don't need to return if the function they wrap doesn't return. Scott Taylor 2015-05-27 18:14:08 +00:00
  • e4480ea91e Add missing doc blocks to post.php. Clarify some existing values for @param and @return. Some functions do not need to set a variable before immediately returning it. Scott Taylor 2015-05-27 17:04:45 +00:00
  • 5e44938537 Add missing doc blocks to post-thumbnail-template.php. Scott Taylor 2015-05-27 16:28:37 +00:00
  • a3f9ed1494 Add missing doc blocks to post-template.php. Correct some types for @param and @return. is_page_template() can return the conditional instead of if/else true/false. Scott Taylor 2015-05-27 16:25:17 +00:00
  • 0c2421bff2 Add missing doc blocks to post-formats.php. Correct some types for @param and @return. Scott Taylor 2015-05-27 16:05:33 +00:00
  • a35e24fba5 Add missing doc blocks to plugin.php. has_filter() can use strict comparison when checking $has internally. Scott Taylor 2015-05-27 15:55:35 +00:00
  • 932af17935 Add missing doc blocks for pluggable.php. Correct some @return values. is_user_logged_in() can simply return the ->exists() call instead of if/else'ing true/false. Scott Taylor 2015-05-27 15:31:46 +00:00
  • 9a5af9d3d2 Fix doc blocks for option.php. Scott Taylor 2015-05-26 22:16:15 +00:00
  • a418d57c5a Fix doc blocks for nav-menu*.php files. Scott Taylor 2015-05-26 22:09:26 +00:00
  • 85e3befce9 Fix doc blocks for ms-*.php files. A few functions can return a conditional instead of an if/else of true/false. Scott Taylor 2015-05-26 21:50:13 +00:00
  • 58f8af684d Fix doc blocks for meta.php Scott Taylor 2015-05-26 19:32:55 +00:00
  • 0a892c11c8 Fix doc blocks for media*.php Scott Taylor 2015-05-26 19:22:12 +00:00
  • c7e87544a7 Add missing doc blocks to locale.php Scott Taylor 2015-05-26 18:58:20 +00:00
  • 9de5c2b22d Add missing doc blocks to load.php Scott Taylor 2015-05-26 18:52:03 +00:00
  • 22ba68ccb8 Fix doc blocks to link-template.php Scott Taylor 2015-05-26 18:43:48 +00:00
  • cb1cf9e1ac Add missing doc blocks to l10n.php Scott Taylor 2015-05-26 18:12:15 +00:00
  • d10ec28b01 Improve unit tests for wp_unique_post_slug(). Boone Gorges 2015-05-26 18:07:17 +00:00
  • f9cd0dac60 Add missing doc blocks to kses.php - also fix some unfortunate whitespace issues in related funcs. Scott Taylor 2015-05-26 18:05:22 +00:00
  • 6d34b6e075 Add support for WP_Widget::get_settings() returning ArrayIterator/ArrayObject instances. westonruter 2015-05-26 16:50:03 +00:00
  • e95740d7d0 Fix wp_send_json_error() response for update-widget Ajax request, to return error code instead of error message, as the WP_Error objects are instantiated with codes and the messages are empty. Weston Ruter 2015-05-25 22:08:08 +00:00
  • bd06ad2725 get_comments() can return int, so a few places need to check if the return value is traversable before passing what is assumed to be an array. Scott Taylor 2015-05-25 17:58:52 +00:00
  • 768115d353 Cleanup doc blocks in http.php. In the few functions that used $objFetchSite instead of $http: use the $http naming, which is more civilized. Scott Taylor 2015-05-25 17:31:02 +00:00
  • 14706868d2 Cleanup doc blocks in general-template.php. Scott Taylor 2015-05-25 17:17:23 +00:00
  • bac34e9daa Cleanup the use of $wp_styles global in functions.wp-styles.php. Scott Taylor 2015-05-25 16:34:38 +00:00
  • bc164ef635 Cleanup the use of $wp_scripts global in functions.wp-scripts.php. Scott Taylor 2015-05-25 16:23:46 +00:00
  • 531e31b598 Add missing doc blocks to wp-includes/functions.php. Scott Taylor 2015-05-25 16:10:59 +00:00
  • abb1cef395 Pass the original $user_id variable to the filter in get_the_author_meta(). Boone Gorges 2015-05-25 13:05:21 +00:00
  • f639366590 Link modal: reset search results appropriately Ella Iseulde Van Dorpe 2015-05-25 06:40:27 +00:00
  • 1e6be9cd89 TinyMCE: wpeditimage: trim class Ella Iseulde Van Dorpe 2015-05-25 06:34:27 +00:00
  • 7baa0296ad Fix inline documentation syntax in wp_xmlrpc_server. Drew Jaynes 2015-05-25 06:24:27 +00:00
  • 928dc46a3b Add missing doc blocks to formatting.php. Rehabilitate the spacing of various doc blocks. Standardize some return values that are adjacent to similar functions. Scott Taylor 2015-05-25 02:58:00 +00:00
  • 09d6c51801 Add missing doc blocks to default-widgets.php. Move add_action() for widgets to default-filters.php with its brethren. Scott Taylor 2015-05-24 21:27:12 +00:00
  • 8e3c811b64 Alter some @return doc blocks for cron.php. Scott Taylor 2015-05-24 21:10:00 +00:00
  • 19108352b9 Add missing doc blocks to comment.php. Scott Taylor 2015-05-24 21:03:42 +00:00
  • 248b17974d Clarify that wp_xmlrpc_server->wp_getTaxonomies() returns an IXR_Error instance on failure. Drew Jaynes 2015-05-24 20:34:07 +00:00
  • f336aab356 Add missing argument descriptions for the $args parameter in wp_xmlrpc_server->wp_getTaxonomies(). Drew Jaynes 2015-05-24 20:32:09 +00:00
  • 9613dd3a84 Add missing argument descriptions for the $args parameter in wp_xmlrpc_server->wp_getTaxonomy(). Drew Jaynes 2015-05-24 20:14:49 +00:00
  • 4b7db61698 Add missing argument descriptions for the $args parameter in wp_xmlrpc_server->wp_getTerms(). Drew Jaynes 2015-05-24 20:10:27 +00:00
  • 7cafb17a5e Add missing $args parameter descriptions for wp_xmlrpc_server->wp_getTerm(). Drew Jaynes 2015-05-24 20:07:01 +00:00
  • b5b9cda58d Convert the $args parameter documentation for wp_xmlrpc_server->wp_newPost() into a hash notation. Drew Jaynes 2015-05-24 19:58:54 +00:00
  • eb60152449 Improve inline documentation for the cron lock behavior. Drew Jaynes 2015-05-24 17:25:52 +00:00
  • 2c32effa02 In most wp_xmlrpc_server methods that accept an array of arguments, the argument order is important. Drew Jaynes 2015-05-24 17:18:47 +00:00
  • 0474aa9374 Convert the $args parameter documentation in wp_xmlrpc_server->wp_deleteTerm() into a hash notation. Drew Jaynes 2015-05-24 17:01:37 +00:00
  • 633677efb0 Convert the $args parameter documentation in wp_xmlrpc_server->wp_editTerm() to a hash notation. Drew Jaynes 2015-05-24 16:59:26 +00:00
  • d07e39be55 Convert the $args parameter documentation in wp_xmlrpc_server->wp_newTerm() into a hash notation. Drew Jaynes 2015-05-24 16:55:38 +00:00
  • e117da47eb Convert the $args parameter for wp_xmlrpc_server->wp_getPosts() into a hash notation. Drew Jaynes 2015-05-24 16:50:53 +00:00
  • 6548f58224 Define the default values for the $fields parameter in the xmlrpc_default_post_fields hook docs. Drew Jaynes 2015-05-24 16:45:53 +00:00
  • 2c2cf3b037 Convert the $args parameter documentation in wp_xmlrpc_server->wp_getPost() into a hash notation. Drew Jaynes 2015-05-24 16:44:21 +00:00
  • a52e959d8e Add missing argument descriptions in the DocBlock for wp_xmlrpc_server->wp_deletePost(). Drew Jaynes 2015-05-24 16:40:23 +00:00
  • d8dc5d9f63 Updates: Correctly identify more failed update cases. This checks for a WP_Error being raised during an individual update, in addition to just the bootstrap error cases. The error message in these cases is still not displayed in the UI. Dion Hulse 2015-05-24 08:44:09 +00:00
  • 8d64dc4e6b Shiny Updates: Handle the case where the plugin is installed into a different directory than it previously existed in. A good example of this is when the plugin being updated is currently installed as 'Plugin-Name' but the canonical directory is 'plugin-name', but it can also occur when the plugin is installed in 'super-cool-plugin' and it's canonical name is 'average-plugin'. Dion Hulse 2015-05-24 08:04:55 +00:00
  • 065cdadce9 Improve description for link notification option. Konstantin Obenland 2015-05-24 07:54:06 +00:00
  • 39ef6a72c5 Use void instead of null where appropriate when pipe-delimiting @return types. If a @return only contains void, remove it. Scott Taylor 2015-05-24 05:39:47 +00:00
  • abca40cf44 Add missing doc blocks to comment-template.php. Scott Taylor 2015-05-24 05:18:59 +00:00
  • d174df13ae Add missing doc blocks to class.wp-(scripts|styles).php. Scott Taylor 2015-05-24 05:04:39 +00:00
  • f270cd90c5 Add missing or incomplete argument and return descriptions for wp_xmlrpc_server->wp_editPost(). Drew Jaynes 2015-05-23 19:46:45 +00:00
  • 4b70ff7721 Add missing parameter and return descriptions to the DocBlock for wp_xmlrpc_server->_convert_date_gmt(). Drew Jaynes 2015-05-23 19:40:35 +00:00
  • e3b95fa4d6 Add missing parameter and return descriptions to the DocBlock for wp_xmlrpc_server->_convert_date(). Drew Jaynes 2015-05-23 19:39:30 +00:00
  • 366c5abe4d Fix inline documentation syntax in the DocBlock for wp_xmlrpc_server->_prepare_taxonomy(). Drew Jaynes 2015-05-23 19:37:57 +00:00
  • 839eb02ec0 Fix some inline documentation syntax in the DocBlock for wp_xmlrpc_server->minimum_args(). Drew Jaynes 2015-05-23 19:36:43 +00:00
  • b0f632a406 Use a valid parameter type of string for the $name parameter in the xmlrpc_call hook docs. Drew Jaynes 2015-05-23 19:35:33 +00:00
  • 967f52add2 Add missing argument descriptions for the $args hash notation in wp_xmlrpc_server->wp_getUsersBlogs(). Drew Jaynes 2015-05-23 19:32:06 +00:00
  • ee71a2ea33 Properly notate the inline link to the xmlrpc_blog_options filter in the description for wp_xmlrpc_server->initialise_blog_option_info(). Drew Jaynes 2015-05-23 19:29:45 +00:00
  • 644b0e27a3 Add a proper return description for the wp_xmlrpc_server->addTwoNumbers() method. Drew Jaynes 2015-05-23 19:25:38 +00:00
  • 206debf59e Add proper descriptions for the $methods, $blog_options, and $error properties in wp_xmlrpc_server. Drew Jaynes 2015-05-23 19:22:40 +00:00
  • b9b734b994 Add a proper description comment for the WP_Image_Editor_Imagick->$image property. Drew Jaynes 2015-05-23 19:19:49 +00:00
  • 3bf89080cf Add a proper description comment for the WP_Image_Editor_GD->$image property. Drew Jaynes 2015-05-23 19:09:58 +00:00
  • 94a9896b05 Introduced $field argument to get_term_link(). Boone Gorges 2015-05-23 18:28:22 +00:00
  • 6cb6f3916a Unit tests for get_term_link(). Boone Gorges 2015-05-23 18:12:27 +00:00
  • 7f62f34c8e Add missing doc blockss in class-wp.php. Scott Taylor 2015-05-22 20:04:38 +00:00
  • 4ab280361c Upgrade the doc blocks in class-wp-xmlrpc-server.php. Rehabilitate some unfortunate use of tabbing. Scott Taylor 2015-05-22 19:36:22 +00:00
  • 4eb0e01825 Cleanup missing doc blocks for class-wp-walker.php. Scott Taylor 2015-05-22 17:58:42 +00:00
  • 366d1843f0 Add a missing @since version to a function introduced in [32541]. Drew Jaynes 2015-05-22 17:37:23 +00:00
  • 88947981c3 Add missing doc blocks to class-wp-theme.php. Scott Taylor 2015-05-22 17:30:44 +00:00
  • f67ecbdadc Add missing doc blocks to wp-image-editor*.php. Scott Taylor 2015-05-22 06:17:16 +00:00
  • 46752a491e When calling unset(), it is unnecessary to immediately precede it with a call to isset(). Scott Taylor 2015-05-22 05:46:47 +00:00
  • 06ea5c78be Clean up doc blocks for class-wp-embed.php. Scott Taylor 2015-05-22 05:14:30 +00:00
  • f5bfbf2cad Clean up @global doc blocks/imports for class-wp-editor.php. Scott Taylor 2015-05-22 05:09:38 +00:00
  • febd12c957 Clean up @global doc blocks/imports for class-wp-customizer-*.php and friends. Scott Taylor 2015-05-22 05:05:19 +00:00
  • 7a683940d7 Create a function, wp_roles(), to DRY the inline instantiation of the $wp_roles global. Scott Taylor 2015-05-22 04:46:36 +00:00
  • 0864ba691a Add missing doc blocks for canonical.php. Scott Taylor 2015-05-22 04:25:27 +00:00
  • de7b6c76ab Add/standardize missing doc blocks for cache.php. Scott Taylor 2015-05-22 04:23:15 +00:00
  • 339d3be328 Add missing doc blocks to author-template.php. Scott Taylor 2015-05-22 04:13:35 +00:00
  • d723ecc5f5 Add missing doc blocks to admin-bar.php. Scott Taylor 2015-05-22 03:59:13 +00:00
  • 55ce3d19ea Add missing doc blocks to class-wp-editor.php. Scott Taylor 2015-05-22 03:51:50 +00:00
  • 9333337992 In class-wp-customize-*, clarify/add some @param/@return blocks. Disambiguate some functions that are trying to return the void response of another function they call internally. Scott Taylor 2015-05-21 22:04:29 +00:00
  • 369903cd85 In class-wp-admin-bar.php, clarify/add some doc blocks. Scott Taylor 2015-05-21 21:38:41 +00:00
  • 4a362fdb7c In class-oembed.php, clarify/add some return docs. Scott Taylor 2015-05-21 21:30:31 +00:00
  • 5261e8022a In category.php: * Clarify some return docs. * In _make_cat_compat(), ensure that WP_Error is not decorated Scott Taylor 2015-05-21 21:17:42 +00:00
  • 51717c41af In category-template.php: * Clarify/add some return docs. * In walk_category_tree() and walk_category_dropdown_tree(), make behavior consistent and don't pass $walker by-reference - it is no longer necessary to do that with object instances. Scott Taylor 2015-05-21 21:04:32 +00:00
  • 5ae33c082f In capabilities.php, clarify/add some return docs. Scott Taylor 2015-05-21 20:46:25 +00:00
  • e501a4227c In canonical.php: Scott Taylor 2015-05-21 20:29:19 +00:00