WordPress/wp-includes
Drew Jaynes 3699ea4155 Use the correct type (integer) for the `$menu_id` parameter in the `wp_get_nav_menu_to_edit()` DocBlock.
Also properly mark the parameter as optional and specify the default value.

Props jaimieolmstead for the initial patch.
Fixes #30540.

Built from https://develop.svn.wordpress.org/trunk@30627


git-svn-id: http://core.svn.wordpress.org/trunk@30617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-30 04:25:23 +00:00
..
ID3 Update getID3 library to 1.9.8. 2014-09-11 19:07:17 +00:00
SimplePie
Text
certificates Update the bundled root CA's used for outgoing HTTPS requests. 2014-11-21 03:03:22 +00:00
css Editor: move the DFW v2 transitions CSS from editor.css to wp-admin.css. They are needed only on the Edit Post screen. 2014-11-28 02:36:23 +00:00
fonts Dashicons: Update to the latest dashicons files. 2014-08-17 15:01:16 +00:00
images TwentyFifteen: 2014-11-25 06:12:22 +00:00
js Editor: use the Alt+Shift+W keyboard shortcut for new DFW from both the Visual and Text editors. Props afercia, fixes #30450. 2014-11-28 01:44:22 +00:00
pomo Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
theme-compat
admin-bar.php Consistently handle an empty site title in Site and My Sites toolbar menus. 2014-11-28 08:13:24 +00:00
atomlib.php
author-template.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
bookmark-template.php Ensure inline code is markdown-escaped as such, and that code snippets in descriptions are properly indented. 2014-11-24 04:42:22 +00:00
bookmark.php Correct references of `@uses $wpdb` in core documentation to use `@global`. 2014-10-31 17:56:22 +00:00
cache.php Fix some words that aren't words. 2014-08-09 19:30:17 +00:00
canonical.php Correct references of `@uses $wpdb` in core documentation to use `@global`. 2014-10-31 17:56:22 +00:00
capabilities.php Ensure inline code is markdown-escaped as such, and that code snippets in descriptions are properly indented. 2014-11-24 04:42:22 +00:00
category-template.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
category.php Add inline `@see` tags to the docs for the `get_categories_taxonomy` hook. 2014-11-17 17:37:23 +00:00
class-IXR.php Fill in the `@param` types for the args for functions missing them in `wp-admin/includes/deprecated.php` (pour one out). 2014-11-03 06:08:22 +00:00
class-feed.php
class-http.php 4.1 Docs Audit: Fix some line-wrapping in the DocBlock for `WP_Http::parse_url()`. 2014-11-28 09:14:23 +00:00
class-json.php
class-oembed.php Ensure inline code is markdown-escaped as such, and that code snippets in descriptions are properly indented. 2014-11-24 04:42:22 +00:00
class-phpass.php Prevent high resource usage when hashing large passwords. props mdawaffe, pento 2014-11-20 16:03:24 +00:00
class-phpmailer.php
class-pop3.php
class-simplepie.php Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
class-smtp.php PHPMailer: Merge upstream commit (PR274). 2014-09-29 10:28:17 +00:00
class-snoopy.php
class-wp-admin-bar.php
class-wp-ajax-response.php Fix some words that aren't words. 2014-08-09 19:30:17 +00:00
class-wp-customize-control.php 4.1 Docs Audit: Improve inline documentation for various properties and methods in the `WP_Customize_Control` and `WP_Customize_Upload_Control` classes. 2014-11-28 09:20:23 +00:00
class-wp-customize-manager.php 4.1 Docs Audit: Improve inline documentation for various properties and methods in the `WP_Customize_Manager` class. 2014-11-28 10:52:22 +00:00
class-wp-customize-panel.php 4.1 Docs Audit: Improve inline documentation for various properties and methods in the `WP_Customize_Panel` class. 2014-11-28 11:03:24 +00:00
class-wp-customize-section.php 4.1 Docs Audit: Improve inline documentation for various properties and methods in the `WP_Customize_Section`, `WP_Customize_Section`, and `WP_Customize_Sidebar_Section` classes. 2014-11-28 11:10:22 +00:00
class-wp-customize-setting.php 4.1 Docs Audit: Fix DocBlock formatting for the `customize_preview_{$this->type}` hook. 2014-11-28 11:13:24 +00:00
class-wp-customize-widgets.php Customizer: Improve ability to filter active state for widget area Customizer sections. 2014-11-13 12:19:23 +00:00
class-wp-editor.php Editor: fix warnings in class-wp-editor.php, see #30453. 2014-11-26 23:04:21 +00:00
class-wp-embed.php Ensure inline code is markdown-escaped as such, and that code snippets in descriptions are properly indented. 2014-11-24 04:58:22 +00:00
class-wp-error.php New `remove()` method and some unit tests for the `WP_Error` class. 2014-10-08 07:12:18 +00:00
class-wp-http-ixr-client.php In `WP_HTTP_IXR_Client`: 2014-11-03 02:32:22 +00:00
class-wp-image-editor-gd.php `WP_Image_Editor_GD` and `WP_Image_Editor_Imagick` should specify type in a doc block for the `$image` property, instead of inferring `bool` and `null`. 2014-11-03 02:38:23 +00:00
class-wp-image-editor-imagick.php `WP_Image_Editor_GD` and `WP_Image_Editor_Imagick` should specify type in a doc block for the `$image` property, instead of inferring `bool` and `null`. 2014-11-03 02:38:23 +00:00
class-wp-image-editor.php Fix setting default quality in WP_Image_Editor. 2014-10-04 13:12:15 +00:00
class-wp-theme.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
class-wp-walker.php Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
class-wp-xmlrpc-server.php Almost every method in `wp_xmlrpc_server` can also return `IXR_Error` and should be labeled as such. Rehabilitate some `return` syntax. 2014-11-03 03:04:22 +00:00
class-wp.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
class.wp-dependencies.php Ensure inline code is markdown-escaped as such, and that code snippets in descriptions are properly indented. 2014-11-24 04:58:22 +00:00
class.wp-scripts.php Apply a filter to the `<script>` tag for enqueued scripts in the same way a filter is applied to the `<link>` tag for enqueued styles. 2014-11-20 05:18:25 +00:00
class.wp-styles.php wp_add_inline_style(): 2014-10-18 19:04:20 +00:00
comment-template.php 4.1 Docs Audit: Various formatting fixes for inline documentation in class-wp-list-table.php and comment-template.php. 2014-11-28 11:22:23 +00:00
comment.php Comments: Use proper HTTP response codes for validation errors. 2014-11-26 20:17:24 +00:00
compat.php Define `JSON_PRETTY_PRINT` so it can be used with `wp_json_encode()` 2014-10-28 21:13:22 +00:00
cron.php Ensure inline code is markdown-escaped as such, and that code snippets in descriptions are properly indented. 2014-11-24 04:58:22 +00:00
date.php Ensure only spaces are used instead of a mixture of tabs and spaces for alignment within the DocBlock for the `date_query_valid_columns` hook. See [30611]. 2014-11-28 11:29:25 +00:00
default-constants.php Set Twenty Fifteen as the new default theme. see #29799. 2014-10-14 19:58:19 +00:00
default-filters.php Revert shared taxonomy term splitting for 4.1. 2014-11-27 00:05:22 +00:00
default-widgets.php Cross-reference `WP_Comment_Query::query()` as the location for finding information on default arguments for `WP_Comment_Query`. 2014-11-08 20:35:22 +00:00
deprecated.php Ensure inline code is markdown-escaped as such, HTML tags are removed from summaries, and that code snippets in descriptions are properly indented. 2014-11-24 05:19:23 +00:00
feed-atom-comments.php
feed-atom.php
feed-rdf.php
feed-rss.php
feed-rss2-comments.php
feed-rss2.php Ensure inline code is markdown-escaped as such, HTML tags are removed from summaries, and that code snippets in descriptions are properly indented. 2014-11-24 05:19:23 +00:00
feed.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
formatting.php Fix the PHPDoc example for _split_str_by_whitespace(). 2014-11-26 03:52:22 +00:00
functions.php Improve line-wrapping and formatting in the DocBlock for `wp_send_json_error()`. 2014-11-28 11:39:22 +00:00
functions.wp-scripts.php Ensure inline code is markdown-escaped as such, HTML tags are removed from summaries, and that code snippets in descriptions are properly indented. 2014-11-24 05:39:22 +00:00
functions.wp-styles.php Translate some previously untranslated _doing_it_wrong() messages. 2014-10-05 21:06:15 +00:00
general-template.php Ensure the private function `_wp_render_title_tag()` is marked for internal usage only. 2014-11-28 11:50:22 +00:00
http.php Better validation of the URL used in core HTTP requests. 2014-11-20 14:01:23 +00:00
kses.php Fix typo in style filter. props miqrogroove 2014-11-20 13:15:24 +00:00
l10n.php Ensure inline code is markdown-escaped as such, HTML tags are removed from summaries, and that code snippets in descriptions are properly indented. 2014-11-24 05:47:23 +00:00
link-template.php 4.1 Docs Audit: Ensure optional arguments in `get_the_post_navigation()`, `the_post_navigation()`, `get_the_posts_navigation()`, `the_posts_navigation()`, `get_the_pagination()`, and `the_pagination()` are properly documented with defaults. 2014-11-28 11:57:24 +00:00
load.php Remove unbounded check for "install.php" in `wp_not_installed()`. 2014-11-26 20:56:23 +00:00
locale.php In `WP_Locale`, declare `$number_format` as a property. 2014-11-03 03:40:22 +00:00
media-template.php Add `size` to the UI for Gallery Settings in the media modal. Ensure that the TinyMCE view is refreshed when size changes. 2014-09-29 03:45:16 +00:00
media.php Ensure inline code is markdown-escaped as such, HTML tags are removed from summaries, and that code snippets in descriptions are properly indented. 2014-11-24 05:47:23 +00:00
meta.php 4.1 Docs Audit: Improve inline documentation for various `WP_Meta_Query` methods introduced or modified in 4.1. 2014-11-28 12:02:22 +00:00
ms-blogs.php Simplify the code for calling refresh_blog_details() whenever 'blogname', 'siteurl', or 'post_count' option is updated. 2014-09-02 07:30:16 +00:00
ms-default-constants.php
ms-default-filters.php Simplify the code for calling refresh_blog_details() whenever 'blogname', 'siteurl', or 'post_count' option is updated. 2014-09-02 07:30:16 +00:00
ms-deprecated.php Delete admin_created_user_subject() rather than deprecate 2014-11-02 02:07:23 +00:00
ms-files.php
ms-functions.php Remove the `wp_is_trusted_network()` function pending further discussion on terminology and behaviour. 2014-11-26 19:27:23 +00:00
ms-load.php Ensure inline code is markdown-escaped as such, HTML tags are removed from summaries, and that code snippets in descriptions are properly indented. 2014-11-24 05:53:22 +00:00
ms-settings.php
nav-menu-template.php 4.1 Docs Audit: Spell out HTML element names in DocBlock summaries for the `nav_menu_css_class`, `nav_menu_item_id`, and `nav_menu_link_attributes` filters. 2014-11-28 12:12:23 +00:00
nav-menu.php 4.1 Docs Audit: Formatting, line-wrap, and other fixes for the `wp_get_nav_menus()` DocBlock. 2014-11-28 12:15:23 +00:00
option.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
pluggable-deprecated.php
pluggable.php Fix DocBlock formatting for `wp_generate_password()`. 2014-11-26 20:38:23 +00:00
plugin.php Ensure inline code is markdown-escaped as such, HTML tags are removed from summaries, and that code snippets in descriptions are properly indented. 2014-11-24 06:05:23 +00:00
post-formats.php Remove redundant and erroneous `@uses` tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
post-template.php Ensure inline code is markdown-escaped as such, HTML tags are removed from summaries, and that code snippets in descriptions are properly indented. 2014-11-24 06:15:24 +00:00
post-thumbnail-template.php
post.php Ensure inline code is markdown-escaped as such, HTML tags are removed from summaries, and that code snippets in descriptions are properly indented. 2014-11-24 06:15:24 +00:00
query.php 4.1 Docs Audit: Improve inline documentation for the new `WP_Query::setup_postdata()` method. 2014-11-28 12:18:22 +00:00
registration-functions.php
registration.php
revision.php 4.1 Docs Audit: Remove a duplicate word from a parameter description in the DocBlock for the `wp_save_post_revision_post_has_changed` hook. 2014-11-28 12:19:23 +00:00
rewrite.php Ensure inline code is markdown-escaped as such, HTML tags are removed from summaries, and that code snippets in descriptions are properly indented. 2014-11-24 06:15:24 +00:00
rss-functions.php
rss.php Fill in the `@param` types for the args for functions missing them in `wp-admin/includes/deprecated.php` (pour one out). 2014-11-03 06:08:22 +00:00
script-loader.php Introduce Distraction-Free Writing v2, a re-think of DFW that uses the main editor instance 2014-11-13 22:31:22 +00:00
session.php Introduce a button on the user profile screen which clears all other sessions, and on the user editing screen which clears all sessions. Only appears when there are applicable sessions which can be cleared. 2014-11-13 15:21:21 +00:00
shortcodes.php Ensure inline code is markdown-escaped as such, HTML tags are removed from summaries, and that code snippets in descriptions are properly indented. 2014-11-24 06:15:24 +00:00
taxonomy.php 4.1 Docs Audit: Improve inline documentation in DocBlocks for various `WP_Tax_Query` methods, the `pre_delete_term` hook, and `get_ancestors()`. 2014-11-28 12:26:24 +00:00
template-loader.php
template.php
theme.php Correct type in the doc block for `get_theme_support()`. 2014-11-03 05:18:22 +00:00
update.php Clear update caches when site language is changed. 2014-11-24 22:50:22 +00:00
user.php 4.1 Docs Audit: Fix formatting for changelog entries in `count_user_posts()` and the `get_usernumposts` hook. 2014-11-28 12:29:23 +00:00
vars.php
version.php Use the correct type (integer) for the `$menu_id` parameter in the `wp_get_nav_menu_to_edit()` DocBlock. 2014-11-30 04:25:23 +00:00
widgets.php Add some missing inline documentation for methods in the `WP_Widget` class in wp-includes/widgets.php. 2014-11-18 22:58:22 +00:00
wlwmanifest.xml
wp-db.php 4.1 Docs Audit: Improve inline documentation for various `wpdb` methods. 2014-11-28 12:34:25 +00:00
wp-diff.php Minor syntactical adjustments to the inline documentation for the `revision_text_diff_options` hook. 2014-11-21 03:50:24 +00:00