Commit Graph

  • 6c71ee8d84 Widgets: move classes into their own files, widgets.php loads the new files, so this is 100% BC if someone is loading widgets.php directly. New files created using svn cp. Scott Taylor 2015-08-26 02:39:50 +00:00
  • 0654d9ed35 Add oEmbed support for ReverbNation. Sergey Biryukov 2015-08-26 00:28:11 +00:00
  • b935049f24 Add 'wp_verify_nonce_failed' action that fires when nonce verification fails. Sergey Biryukov 2015-08-26 00:05:11 +00:00
  • 4bc9b3db6d Fire the check_ajax_referer action on failure as well as success. Sergey Biryukov 2015-08-25 23:24:39 +00:00
  • 6598033243 Remove rounded corners from "Choose from the most used tags" result in Tags meta box. Sergey Biryukov 2015-08-25 23:13:30 +00:00
  • b73b9ed936 Customizer: Use existing decoupled strings in Menu Locations section. See [31941] and [31951]. Sergey Biryukov 2015-08-25 21:52:45 +00:00
  • a0a351a75d Add some more data for Shortcode unit tests. Scott Taylor 2015-08-25 21:50:55 +00:00
  • 4a622d21fb Allow these CSS properties in KSES: min-height', 'max-height', 'min-width', 'max-width' Scott Taylor 2015-08-25 21:45:42 +00:00
  • c76e3b3273 Pass option name to option and transient filters with dynamic names. Scott Taylor 2015-08-25 21:41:53 +00:00
  • 20bad276e8 After [33698], wrap the time constants in a DocBlock template. wonderboymusic 2015-08-25 21:20:02 +00:00
  • 1fb94edb99 In get_home_url(), import the $pagenow global to avoid having to check if it exists before comparing against it. Scott Taylor 2015-08-25 21:02:14 +00:00
  • ff7fcf5f04 In WP_Users_List_Table::single_row(), $actions is not always set before being used. Scott Taylor 2015-08-25 20:37:50 +00:00
  • 3b8c5529cb foreach is a statement, not a function. Scott Taylor 2015-08-25 20:27:56 +00:00
  • 755d109d10 Instead of [33713], allow WP_Posts_List_Table::get_bulk_actions() to check edit_posts AND delete_posts. Scott Taylor 2015-08-25 20:11:27 +00:00
  • b59d10ccac Multisite: Add 'invite_user' action that fires immediately after a user is invited to join a site, but before the notification is sent. Sergey Biryukov 2015-08-25 17:47:26 +00:00
  • 40ce8c68fe Docs: The type for the $t_time parameter in the post_date_column_time filter docs should be string, not array. Drew Jaynes 2015-08-25 17:14:28 +00:00
  • e853c467fd Docs: Document the default comment data arguments for wp_new_comment(). Drew Jaynes 2015-08-25 17:02:51 +00:00
  • e1b1541932 Media: Scott Taylor 2015-08-25 12:12:59 +00:00
  • a9b27cbc07 TinyMCE: ensure the wordpress plugin is loaded before calling _createToolbar(). Props hauvong, azaozz. Fixes #33393. Andrew Ozz 2015-08-25 04:37:27 +00:00
  • 3b525395cc Term Splitting: Switch to a faster cron unschedule process to benefit sites with thousands of affected jobs. Fix the cron hook name in the failsafe rescheduler. Dion Hulse 2015-08-25 04:31:52 +00:00
  • 8b0cfb52ca Build Tools: Update grunt-contrib-uglify to 0.9.2. Gary Pendergast 2015-08-25 03:27:23 +00:00
  • bc9e25d053 Docs: Clarify the return description for wp_create_user() to illustrate that a WP_Error object will be returned on failure. Drew Jaynes 2015-08-24 22:22:33 +00:00
  • 32cd95e1c1 In WP_Query::parse_tax_query(), allow 'cat' and 'tag' querystrings to be formatted as arrays. Boone Gorges 2015-08-24 21:21:49 +00:00
  • 5f3879e37c With a few modifications in wp-admin/menu.php, we can eliminate the extra logic for Post and Page menu registration. Instead, they can just declare menu_position on post type registration. Scott Taylor 2015-08-24 21:18:20 +00:00
  • dc577d6072 WP_Query: add changelog for the title param after [33706] Scott Taylor 2015-08-24 20:09:25 +00:00
  • 7b7cd91984 Docs: Improve pared formatting of the oEmbed providers tables by removing the unrecognized first and last rows in the hook docs for the oembed_providers filter. Drew Jaynes 2015-08-24 04:37:40 +00:00
  • 845d31baf9 oEmbed: Remove blip.tv as an oEmbed provider, the service has been shut down. Gary Pendergast 2015-08-24 04:11:13 +00:00
  • bf3d36e0b6 WPDB: get_table_from_query() didn't find table names with hyphens in them. Gary Pendergast 2015-08-24 00:18:49 +00:00
  • 83476bb77f Docs: Add a description and example to the hook docs for the navigation_markup_template filter, introduced in [33714]. Drew Jaynes 2015-08-23 18:07:41 +00:00
  • 3969554606 Docs: Better clarify that the $post_type parameter for the get_usernumposts filter and count_user_posts() can accept either a single post type or array of post types. Drew Jaynes 2015-08-23 17:45:51 +00:00
  • 797b6c4d7c Docs: Add better documentation for all accepted values for the fields argument in get_terms(). Drew Jaynes 2015-08-23 17:39:07 +00:00
  • d8ba4fde1b Add a filter to _navigation_markup: 'navigation_markup_template' Scott Taylor 2015-08-23 16:33:25 +00:00
  • 9596ae0993 Posts List Table: Scott Taylor 2015-08-23 16:27:44 +00:00
  • dfa9da5356 Docs: Fix a minor alignment issue in the DocBlock for get_pagenum_link(). Drew Jaynes 2015-08-23 07:18:19 +00:00
  • b01b3be23e In wp_delete_term(), the $deleted_term object passed to filters should be generated before term relationships are deleted. Boone Gorges 2015-08-22 19:42:30 +00:00
  • 6c3449b710 Pass the $public_only value to 'get_usernumposts' filter. Boone Gorges 2015-08-22 18:58:18 +00:00
  • a679368d8b Add some JS Docs for Customizer. Scott Taylor 2015-08-22 17:23:37 +00:00
  • 7e894153a4 In wp_insert_user(), add a filter: insert_user_meta, to filter a user's meta values and keys before the user is created or updated. Scott Taylor 2015-08-22 17:11:42 +00:00
  • 36a9be2af5 In wp_sanitize_redirect(), don't eat @ characters. According to RFC 3986, "@" is a perfectly valid character in a URL path or query string. Scott Taylor 2015-08-22 17:04:17 +00:00
  • dc48f3d795 Query: Scott Taylor 2015-08-22 16:58:21 +00:00
  • a70e0183e5 Ensure that attachment_url_to_postid() matches cross-scheme when front-end and back-end schemes are different. Scott Taylor 2015-08-22 16:38:09 +00:00
  • e76b48a26c update-core.php help docs, update string to include translations: themes, plugins, and translations Scott Taylor 2015-08-22 16:24:58 +00:00
  • 918dd71257 Tests: Fix a typo in function names for $autoload tests. Dominik Schilling (ocean90) 2015-08-22 09:44:48 +00:00
  • cb4a9ea174 Tests: Skip some tests for the Transients API when an external object cache is in use. Dominik Schilling (ocean90) 2015-08-21 20:32:42 +00:00
  • 326b67c0aa In wpdb::get_col_length(), breaks are not necessary when a case returns Scott Taylor 2015-08-21 18:40:55 +00:00
  • 5d494bae12 Doc block for_wp_specialchars: $quote_style can also be string ('single' or 'double') Scott Taylor 2015-08-21 18:35:31 +00:00
  • a14be1fffa In _WP_Editors::editor_settings(), $first_run is unused. Scott Taylor 2015-08-21 18:29:31 +00:00
  • 3b24c024b5 Add new constant MONTH_IN_SECONDS and expand time convenience documentation. Aaron Jorbin 2015-08-21 18:15:52 +00:00
  • e4f8047716 In wp_ajax_add_meta(), do not juggle the value of $_POST and alter it directly. This was done so that edit_post() could pull $_POST out of the air by-reference and alter it (equally as bad). edit_post() accepts a $post_data array. Do that instead. Scott Taylor 2015-08-21 18:12:56 +00:00
  • d40b6eab66 Widgets: Switch back to using array_key_exists() instead of isset() for widget instance existence check. Weston Ruter 2015-08-21 18:08:53 +00:00
  • a1e5332489 Make 'Docs Committer' translatable. Scott Taylor 2015-08-21 17:46:54 +00:00
  • 9e784dd59f Clarify doc entry for _wp_customize_include() Scott Taylor 2015-08-21 17:44:11 +00:00
  • ab71eb93b1 When createing "Sample Page" on install, comments should be closed. Scott Taylor 2015-08-21 17:41:16 +00:00
  • 7dd261ce61 Comment List Tables: Scott Taylor 2015-08-21 17:25:06 +00:00
  • e6466911d7 Docs: Add a changelog entry for the $post_type parameter added to the restrict_manage_posts hook in [33644]. Drew Jaynes 2015-08-21 16:11:31 +00:00
  • 31e802293c Docs: Fix a typo in the DocBlock description for _get_additional_user_keys(), introduced in [33687]. Drew Jaynes 2015-08-21 16:00:35 +00:00
  • 961dd71cf3 List tables: Allow filtering of hidden and default hidden columns. Helen Hou-Sandi 2015-08-21 15:31:30 +00:00
  • 466500743f WP_Filesystem: SSH2 handler: Remove support for is_writable() via SSH, it turns out PHP doesn't verify the writability via SFTP and instead uses a comparison based on the current php system process user instead of the ssh user. This fixes the 'The update cannot be installed because we will be unable to copy some files.' error encountered during updates by skipping the write test completely. Dion Hulse 2015-08-21 11:42:04 +00:00
  • 143c3e8a87 Docs: Clarify the DocBlock summary and add a description and return description for _get_additional_user_keys(). Drew Jaynes 2015-08-21 05:32:53 +00:00
  • e803952278 Docs: Fix some minor inline documentation syntax issues in the hook docs for the post_edit_category_parent_dropdown_args filter, introduced in [33682]. Drew Jaynes 2015-08-21 04:54:00 +00:00
  • a65c2e068a Docs: Fix a variety of inline documentation syntax issues and add some strategic spacing. Drew Jaynes 2015-08-21 04:12:45 +00:00
  • c53fe2779e Docs: Add missing @access tags to properties and methods in wp-admin/includes/class-wp-upgrader. Drew Jaynes 2015-08-21 04:04:23 +00:00
  • 3721940e0f Docs: Correct a typo in the summary for the Theme_Upgrader->bulk property. Drew Jaynes 2015-08-21 03:14:35 +00:00
  • 57592ef976 Filter the arguments passed to wp_dropdown_categories() in the Categories post edit metabox. Boone Gorges 2015-08-21 01:27:15 +00:00
  • c1b8f1f72a In Walker_CategoryDropdown::start_el(), cast values to strings before deciding whether to append 'selected' attribute. Boone Gorges 2015-08-21 01:10:34 +00:00
  • f35fde4e35 Docs: Standardize @deprecated tag formatting in the DocBlock for the logIO() function. Drew Jaynes 2015-08-20 22:43:02 +00:00
  • 6db612790d Docs: Standardize @deprecated tag formatting in the DocBlocks for several wpdb methods. Drew Jaynes 2015-08-20 22:41:07 +00:00
  • 2cfd34e85e Docs: Standardize @deprecated tag formatting in the DocBlock for WP_Object_Cache:reset(). Drew Jaynes 2015-08-20 22:38:45 +00:00
  • d83fcf8e9c Docs: Standardize @deprecated tag formatting in the DocBlock for wp_xmlrpc_server::login_pass_ok(). Drew Jaynes 2015-08-20 22:37:16 +00:00
  • a66a94a149 Docs: Standardize @deprecated tag formatting and add missing summaries to deprecated functions in wp-includes/ms-deprecated.php. Drew Jaynes 2015-08-20 22:35:30 +00:00
  • b09cedbd11 Docs: Standardize @deprecated tag formatting for deprecated functions in wp-admin/includes/ms-deprecated.php. Drew Jaynes 2015-08-20 22:25:41 +00:00
  • 5c0b568ea1 Docs: Standardize @deprecated tag formatting for deprecated functions in wp-includes/pluggable-deprecated.php. Drew Jaynes 2015-08-20 22:14:44 +00:00
  • 6374a86e6c Docs: Standardize @deprecated tag formatting and add missing DocBlock summaries to deprecated functions in wp-includes/deprecated.php. Drew Jaynes 2015-08-20 22:10:20 +00:00
  • 3b1e7ba1e0 After [33666], fix broken sprintf cruff. Scott Taylor 2015-08-20 21:36:03 +00:00
  • 8edff9c979 Docs: Standardize @deprecated tag formatting and add missing DocBlocks to deprecated functions in wp-admin/includes/deprecated.php. Drew Jaynes 2015-08-20 21:22:26 +00:00
  • 5e6f651daf Docs: Add a missing summary to the DocBlock for wp_media_upload_handler(). Drew Jaynes 2015-08-20 21:00:42 +00:00
  • f804d9a91d In wp_get_attachment_link(), accept an id or WP_Post as the first parameter. Scott Taylor 2015-08-20 20:31:34 +00:00
  • 0af6d275b0 Docs: Clarify the different return conditions in the DocBlock for WP_List_Table->handle_row_actions(). Drew Jaynes 2015-08-20 20:21:45 +00:00
  • 695560bf58 In WP_Posts_List_Table::inline_edit(), check that $post_formats[0] is an array before traversing. Scott Taylor 2015-08-20 20:18:35 +00:00
  • 98de66207f Custom Post Types: Scott Taylor 2015-08-20 19:39:57 +00:00
  • ab8417702e Docs: Correct the phpDoc type to a boolean for the $single parameter in the get_{$meta_type}_metadata hook docs. Drew Jaynes 2015-08-20 19:35:43 +00:00
  • ad2afcd0d9 Docs: Mark the $notify parameter in the DocBlock for wp_new_user_notification() as optional, and provide additional context on the difference between the accepted values. Drew Jaynes 2015-08-20 18:26:00 +00:00
  • 25004acaa6 After [33662], remove unused var. Scott Taylor 2015-08-20 17:18:51 +00:00
  • 28e0ad2de1 Comment List Tables: Scott Taylor 2015-08-20 16:35:21 +00:00
  • 3b4c1e7dd6 WordPress 4.3 has just passed 2,222,222 downloads. Dominik Schilling (ocean90) 2015-08-20 15:59:30 +00:00
  • 89ecad8808 JSHint after [33655]. Scott Taylor 2015-08-20 06:30:48 +00:00
  • 4b746c4b4e Deprecate post_permalink() (Introduced in 1.0, already had a deprecated argument in 1.3), which just wraps get_permalink() and was only used by XML-RPC in 4 places. Scott Taylor 2015-08-20 06:24:00 +00:00
  • 8528ff2ab4 Ensure that feeds are served with the proper Content-Type HTTP header. Scott Taylor 2015-08-20 06:09:28 +00:00
  • 64944b7a87 Comments List Table: Scott Taylor 2015-08-20 05:53:41 +00:00
  • 88e804f6c0 Comments List Table: Scott Taylor 2015-08-20 04:01:35 +00:00
  • 9b6f5b6270 Comments List Table: Scott Taylor 2015-08-20 02:50:20 +00:00
  • cb9f80009f Comments shouldn't have more than one _wp_trash_meta_status entry. When deleting _wp_trash_meta_status, also delete _wp_trash_meta_time. Scott Taylor 2015-08-20 02:44:39 +00:00
  • 5e9a216cf7 Introduce post_name__in parameter for WP_Query. Boone Gorges 2015-08-20 02:18:05 +00:00
  • 9bb010f2a1 wp_update_term() should return a true integer for 'term_taxonomy_id'. Boone Gorges 2015-08-19 19:32:04 +00:00
  • 96437b6d57 Themes: Prevent short descriptions from wrapping version info. Konstantin Obenland 2015-08-19 19:09:20 +00:00
  • 2ec26f617f Themes: Open preview when requesting a single theme in the installer. Konstantin Obenland 2015-08-19 18:53:36 +00:00
  • f0ec4d5a7b Upgrades: When upgrading via FTP, use LIST -a to detect if a file exists. LIST & NLST by default on some servers require the -a flag to view hidden files (ie. .maintenance) Although we could simply pass the -a flag to NLST, opting to use LIST which we use elsewhere should mean less chance of server incompatibilities. Dion Hulse 2015-08-19 12:37:56 +00:00
  • 63fd3a32dd Term Splitting: Fix a reversal of parameters to wp_schedule_single_event() introduced in [33621]. The existing invalid cron entries will not be purged automatically (as the 'timestamp' is never matched) so we do this ourselves. Dion Hulse 2015-08-19 11:30:42 +00:00
  • 26e7094951 Fix PHP notice after [33492] when updating themes. Dion Hulse 2015-08-19 10:34:51 +00:00
  • 5cbc7a706d The 'restrict_manage_posts' hook currently fires on the Post and Media list tables, but is passed zero arguments. Pass $post_type. Scott Taylor 2015-08-19 06:22:40 +00:00