Commit Graph

  • e3f8b888ad In WP_UnitTestCase, only flush rewrite rules when they're set. Boone Gorges 2015-10-13 15:21:20 +00:00
  • 5e37130fcd Docs: Add a changelog entry mentioning that the number argument now supports -1 (all). Drew Jaynes 2015-10-13 15:15:30 +00:00
  • eb85b2c11b Theme Editor: add a filter, wp_theme_editor_filetypes, to allow more filetypes to be edited via the Theme Editor. Usage of the Theme Editor is strenuously discouraged, but we should allow you to add whatever filetypes (.less, .scss) you would like. Scott Taylor 2015-10-13 14:13:12 +00:00
  • b9e34ce4a2 Theme Installer: fix the theme "Install"/"Installed" button's vertical alignment for HiDPI displays. Scott Taylor 2015-10-13 13:51:45 +00:00
  • c5c5bd31dd Toolbar: Improve padding of toolbar submenu items on small screens. Sergey Biryukov 2015-10-13 07:39:54 +00:00
  • b8530e502a Accessibility: Add back-compat styles for plugins that still use h2 as a main heading in their screens. Sergey Biryukov 2015-10-13 07:16:43 +00:00
  • 59af284f25 Accessibility: Correct the style for Popular Tags header on Edit Tags screen after [33917]. Sergey Biryukov 2015-10-13 07:13:33 +00:00
  • 4240fe532c Acessibility: "Add New Category" links on Edit Post screen should not be a header. Sergey Biryukov 2015-10-13 06:59:34 +00:00
  • 70a4da6f04 Accessibility: bump headings one level up in post meta boxes for a better headings hierarchy. Sergey Biryukov 2015-10-13 06:56:48 +00:00
  • b71dfae98c Add the CSS changes missed in [35126]. Sergey Biryukov 2015-10-13 06:50:29 +00:00
  • 4a5585e09d Accessibility: bump headings one level up on Credits screen for a better headings hierarchy. Sergey Biryukov 2015-10-13 06:49:00 +00:00
  • da6e194d93 Admin Bar: fix the alignment of secondary menu item arrows. Scott Taylor 2015-10-13 03:53:16 +00:00
  • c3d9dffae6 After [35122], update test_wp_unique_filename() to reflect the change. Scott Taylor 2015-10-13 03:41:11 +00:00
  • 0091665f1c Correct expected counts in WP_User_Query 'number' test. Boone Gorges 2015-10-13 03:25:42 +00:00
  • a6a0045460 Fotmatting: in sanitize_file_name(), escape % when uploads contain them, otherwise attachment URLs will unescape the char and break. Scott Taylor 2015-10-13 03:21:13 +00:00
  • 0f2f946736 Feeds: Remove a confusing comment from add_feed(), added in [3638]. Sergey Biryukov 2015-10-13 03:13:31 +00:00
  • 0d28b59c0b Use a more reliable method for generating get_terms() cache key. Boone Gorges 2015-10-13 03:06:27 +00:00
  • d5e0f87530 Docs: Describe the $feedname argument of add_feed(). SergeyBiryukov 2015-10-13 03:00:03 +00:00
  • 77e2cd9e18 Feeds: Pass the second parameter of "do_feed_{$feed}" action, feed name, to callbacks added via add_feed(). Sergey Biryukov 2015-10-13 02:58:21 +00:00
  • f9094e546a In get_terms(), don't store WP_Term objects in cache. Boone Gorges 2015-10-13 02:57:21 +00:00
  • 34cb01e2f1 Users: when passing a WP_User instance to wp_update_user(), ensure that the user password is not accidentally double-hashed. This is terrifying. Scott Taylor 2015-10-13 02:47:09 +00:00
  • 4a2184d00c Feeds: Pass the feed name to do_feed_{$feed} action. Sergey Biryukov 2015-10-13 02:43:30 +00:00
  • 4c0b89553a Users: allow -1 (no limit, use with extreme caution on large sites) as the value for number in WP_User_Query - similar to posts_per_page => -1 in WP_Query. Scott Taylor 2015-10-13 02:39:05 +00:00
  • 455392c531 Widgets: after [35106], ensure that the widget required by the unit test is registered. Scott Taylor 2015-10-13 02:35:47 +00:00
  • e31a0390b1 In term meta lazy-loading tests, force WP_Query to cache results. Boone Gorges 2015-10-13 02:35:36 +00:00
  • ae96d16ed9 Remove dead code from WP_Query::lazyload_term_meta(). Boone Gorges 2015-10-13 02:35:30 +00:00
  • d884c65485 Remove obsolete code from `WP_Users_List_Table::get_sortable_columns(). Sergey Biryukov 2015-10-13 02:24:12 +00:00
  • e654f82ce5 Replace get_bloginfo( 'wpurl' ) with admin_url() for plugin activation error message. Sergey Biryukov 2015-10-13 02:11:30 +00:00
  • 20225eb62a In cache tests, determine cache class name dynamically. Boone Gorges 2015-10-13 02:06:19 +00:00
  • a326105ade Replace get_bloginfo( 'wpurl' ) with admin_url() in plugin editor. Sergey Biryukov 2015-10-13 02:04:14 +00:00
  • 65c8adc252 Widgets: When using the_widget(), the $before_widget argument only receives the widget class if using the default sidebar arguments. Run sprintf after parsing the args to fix this. Scott Taylor 2015-10-13 01:48:41 +00:00
  • c0c0305749 Replace get_bloginfo( 'wpurl' ) with site_url() in rsd_link(). Sergey Biryukov 2015-10-13 01:48:32 +00:00
  • 72c81e01d4 Widgets: Rename the $name parameter in is_registered_sidebar() to $sidebar_id and adjust the accepted types to string|int as sidebar IDs can be numeric. Drew Jaynes 2015-10-13 01:44:44 +00:00
  • b272dc68b9 Widgets: add a default filter for widget_text (used by the Text widget), balanceTags, which respects the option for use_balanceTags. Scott Taylor 2015-10-13 01:39:43 +00:00
  • 3616fe5939 Widgets: add a function, is_registered_sidebar() - helps us avoid touching the $wp_registered_sidebars global. Scott Taylor 2015-10-13 01:32:27 +00:00
  • 9f551a4630 Don't match partial roles in WP_User_Query. Boone Gorges 2015-10-13 01:31:53 +00:00
  • d936110f7c Widgets: when getting settings, and none exist, set them to empty to avoid extraneous database queries on subsequent requests. Scott Taylor 2015-10-13 01:12:12 +00:00
  • 32b604de00 Color Picker: when opening and closing, toggle a wp-picker-active class on the wrapper. Scott Taylor 2015-10-13 01:07:21 +00:00
  • 681d100fd6 Feeds: Simplify logic for checking if the do_feed_{$feed} action is hooked to any callbacks. Drew Jaynes 2015-10-13 01:06:26 +00:00
  • 1246590769 Feeds: Adjust the do_feed_{$feed} hook name to actually be dynamic, rather than pre-storing the tag name in a variable and referencing that. Drew Jaynes 2015-10-13 01:02:47 +00:00
  • 6aa28b5bd3 Format the number of comments in wp-includes/embed-template.php for the locale. Sergey Biryukov 2015-10-13 01:01:53 +00:00
  • 380d27331e XML-RPC: Add a filter, xmlrpc_memory_limit, to allow the value of $xmlrpc_memory_limit to be increased. Scott Taylor 2015-10-13 01:00:04 +00:00
  • 44a4978535 Plugins: Introduce the delete_plugin transactional hook, which fires immediately after a plugin deletion attempt occurs. Drew Jaynes 2015-10-13 00:56:32 +00:00
  • 3f756da63a Login: Pass the username and WP_User object to the retrieve_password_title filter. Drew Jaynes 2015-10-13 00:50:28 +00:00
  • 34a716709c In number_format_i18n(), check if $wp_locale is set before using it. Sergey Biryukov 2015-10-13 00:29:18 +00:00
  • e85d9f1312 Correct the post_date format in WP_Date_Query tests. Sergey Biryukov 2015-10-12 23:39:50 +00:00
  • 91583fe499 Add missing @since params and update the docs for site_icon_url() and has_site_icon(). John Blackbourn 2015-10-12 23:27:18 +00:00
  • d32c6cfbc9 Remove another unnecessary function_exists() call. John Blackbourn 2015-10-12 23:19:43 +00:00
  • 33d083e263 Version bump. Drew Jaynes 2015-10-12 22:58:22 +00:00
  • 4d8c6f6e08 Remove an unnecessary function_exists() call which was included in the oEmbed feature plugin for compatibility with WordPress < 4.3. John Blackbourn 2015-10-12 22:53:28 +00:00
  • 2eaae4739b Correct two escaping functions used in wp-includes/embed-template.php. John Blackbourn 2015-10-12 22:51:32 +00:00
  • da6090d9f7 Add missing @since docs for the filters in wp-includes/embed-template.php John Blackbourn 2015-10-12 22:50:34 +00:00
  • d04e6dc919 Correct the @since doc for WP_Query::is_embed(). John Blackbourn 2015-10-12 22:12:42 +00:00
  • 743d22415f oEmbed: add fallback icons (not used yet) for older browsers. Scott Taylor 2015-10-12 21:16:10 +00:00
  • f5d2e0dd61 Add $transient as a parameter to the set_transient_{transient} action. John Blackbourn 2015-10-12 21:01:24 +00:00
  • e05891a7ec Media: avoid "divide by zero" in wp_get_attachment_image_srcset_array(). Scott Taylor 2015-10-12 20:59:12 +00:00
  • 6e6d9f9830 Docs: Specify the default image size in the $size parameter description for the image_send_to_editor hook. Drew Jaynes 2015-10-12 17:17:19 +00:00
  • dd7b3a62fd Docs: Normalize spacing in the DocBlock for get_image_send_to_editor() following [35056]. Drew Jaynes 2015-10-12 17:15:16 +00:00
  • 6ca6c6fc1c Docs: The $size parameter for the get_image_tag hook also accepts an array. Drew Jaynes 2015-10-12 17:10:59 +00:00
  • 03481541aa Docs: The $size parameter for the get_image_tag_class hook also accepts an array. Drew Jaynes 2015-10-12 17:08:39 +00:00
  • 2f5be3afcf Docs: Adjust documentation for the $size parameter in the_post_thumbnail_url() to clarify the required order of width and height values when passing an array. Drew Jaynes 2015-10-12 16:59:48 +00:00
  • 663d71de0d Docs: The post_thumbnail_size hook can also accept an array (already supported). Drew Jaynes 2015-10-12 16:56:54 +00:00
  • 38141969f2 Docs: The $size parameters in the begin_fetch_post_thumbnail_html and end_fetch_post_thumbnail_html hooks can also accept an array (already supported). Drew Jaynes 2015-10-12 16:55:08 +00:00
  • 581723a924 Docs: Normalize spacing in the post_thumbnail_html hook doc following [35072]. Drew Jaynes 2015-10-12 16:52:15 +00:00
  • a92ba46df9 Docs: Adjust documentation for the $size parameter in the post_thumbnail_html hook doc to clarify the required order of width and height values when an array is passed. Drew Jaynes 2015-10-12 16:51:15 +00:00
  • ecf49d9f10 Docs: Adjust documentation for the $size parameter in the end_fetch_post_thumbnail_html hook doc to clarify the required order of width and height values when an array is passed. Drew Jaynes 2015-10-12 16:49:14 +00:00
  • 73cfcece73 Docs: Adjust documentation for the $size parameter in the begin_fetch_post_thumbnail_html hook doc to clarify the required order of width and height values when an array is passed. Drew Jaynes 2015-10-12 16:48:26 +00:00
  • e918b66538 Docs: Adjust documentation for the $size parameter in the post_thumbnail_size hook doc to clarify the required order of width and height values when an array is passed. Drew Jaynes 2015-10-12 16:47:22 +00:00
  • debd363cd7 Docs: Adjust documentation for the $size parameter in get_the_post_thumbnail() to clarify the required order of width and height values when passing an array. Drew Jaynes 2015-10-12 16:46:15 +00:00
  • 5f5bcfb15a Docs: Adjust documentation for the $size parameter in the_post_thumbnail() to clarify the required order of width and height values when passing an array. Drew Jaynes 2015-10-12 16:45:18 +00:00
  • b0093711e4 Docs: Normalize spacing in the wp_get_attachment_link hook doc following [35065]. Drew Jaynes 2015-10-12 16:43:19 +00:00
  • e73fbb948c Docs: Adjust documentation for the $size parameter in the wp_get_attachment_link hook doc to clarify the required order of width and height values when an array is passed. Drew Jaynes 2015-10-12 16:41:54 +00:00
  • 6e4fdc4cbf Docs: Improve documentation for get_site_icon_url(), introduced in [32994]. Drew Jaynes 2015-10-12 16:37:13 +00:00
  • 6cfda71af7 Docs: Re-clarify the $sizes[ $size ] section of the hash notations for WP_Image_Editor_GD::multi_resize() and WP_Image_Editor_Imagick::multi_resize() as not fully-optional. Drew Jaynes 2015-10-12 16:33:30 +00:00
  • f66e753d46 Docs: Fix hash notation syntax for the $sizes[ $size ] section in the DocBlock for WP_Image_Editor_Imagick::multi_resize(). Drew Jaynes 2015-10-12 16:26:22 +00:00
  • 9575f53d50 Docs: Fix hash notation syntax for the $sizes[ $size ] section in the DocBlock for WP_Image_Editor_GD::multi_resize(). Drew Jaynes 2015-10-12 16:25:24 +00:00
  • 8749c5fa18 Docs: Adjust documentation for the $size parameter in the admin_post_thumbnail_size hook doc to clarify the required order of width and height values when an array is passed. Drew Jaynes 2015-10-12 16:21:57 +00:00
  • 6db985862a Docs: Normalize spacing in the image_send_to_editor hook doc following [35058]. Drew Jaynes 2015-10-12 16:18:32 +00:00
  • 59db8cfe93 Docs: Adjust documentation for the $size parameter in the image_send_to_editor hook doc to clarify the required order of width and height values when an array is passed. Drew Jaynes 2015-10-12 16:16:35 +00:00
  • f948ce0902 Docs: Fix the syntax for marking parameters optional and add defaults in the DocBlock for wp_get_attachment_link(). Drew Jaynes 2015-10-12 16:14:03 +00:00
  • 25c0710f4c Docs: Fix syntax and properly mark optional parameters as such in the DocBlock for get_image_send_to_editor(). Drew Jaynes 2015-10-12 16:10:44 +00:00
  • 4d967258f2 Docs: Adjust documentation for the $size parameter in get_image_send_to_editor() to clarify the required order of width and height values when passing an array. Drew Jaynes 2015-10-12 16:07:25 +00:00
  • 0cf4a5e121 Docs: Adjust the order of 'width' and 'height' (for consistency) for the $crop parameter documentation in image_make_intermediate_size(). Drew Jaynes 2015-10-12 16:05:30 +00:00
  • 6eb8c85678 Docs: Adjust the order of 'width' and 'height' (for consistency) for the $crop parameter documentation in image_resize_dimensions(). Drew Jaynes 2015-10-12 16:01:10 +00:00
  • 4d2fa13bf5 Docs: Adjust the order of 'width' and 'height' (for consistency) for the $crop parameter documentation in set_post_thumbnail_size(). Drew Jaynes 2015-10-12 15:59:11 +00:00
  • 1165053220 Docs: Adjust the order of 'width' and 'height' (for consistency) for the $crop parameter documentation in add_image_size(). Drew Jaynes 2015-10-12 15:58:13 +00:00
  • 9a3fcf9fee Docs: Adjust documentation for the $size parameter in wp_get_attachment_link() to clarify the required order of width and height values when passing an array. Drew Jaynes 2015-10-12 15:55:12 +00:00
  • ac9254faf8 Docs: Adjust documentation for the $size parameter in adjacent_image_link() to clarify the required order of width and height values when passing an array. Drew Jaynes 2015-10-12 15:52:30 +00:00
  • e1d1e7a4af Docs: Adjust documentation for the $size parameter in next_image_link() to clarify the required order of width and height values when passing an array. Drew Jaynes 2015-10-12 15:49:52 +00:00
  • 0cebe5df94 Docs: Adjust documentation for the $size parameter in previous_image_link() to clarify the required order of width and height values when passing an array. Drew Jaynes 2015-10-12 15:47:50 +00:00
  • da8c9d6c7e Docs: Normalize spacing in the $attr hash notation for gallery_shortcode() following [35045]. Drew Jaynes 2015-10-12 15:45:23 +00:00
  • 447cdf9fc1 Docs: Adjust documentation for the $size argument in gallery_shortcode to clarify the required order of width and height values when passing an array. Drew Jaynes 2015-10-12 15:42:22 +00:00
  • aeb289ca5f Docs: Adjust documentation for the $size parameter in wp_get_attachment_image_url() to clarify the required order of width and height values when passing an array. Drew Jaynes 2015-10-12 15:38:55 +00:00
  • 0d954c2c0b Docs: Adjust documentation for the $size parameter in the wp_get_attachment_image_attributes hook doc to clarify the required order of width and height values when an array is passed. Drew Jaynes 2015-10-12 15:37:17 +00:00
  • 4781b9d5d3 Docs: Adjust documentation for the $size parameter in wp_get_attachment_image() to clarify the required order of width and height values when passing an array. Drew Jaynes 2015-10-12 15:35:17 +00:00
  • 479532865d Docs: Adjust documentation for the $size parameter in the wp_get_attachment_image_src hook doc to clarify the required order of width and height values when an array is passed. Drew Jaynes 2015-10-12 15:33:48 +00:00
  • 43c2e54456 Docs: Adjust documentation for the $size parameter in wp_get_attachment_image_src() to clarify the required order of width and height values when passing an array. Drew Jaynes 2015-10-12 15:30:24 +00:00
  • cc1bcb6add Docs: Adjust documentation for the $size parameter in image_get_intermediate_size() to clarify the required order of width and height values when passing an array. Drew Jaynes 2015-10-12 15:28:45 +00:00
  • bb5c3bff20 Docs: Adjust documentation for the $size parameter in the get_image_tag hook doc to clarify the required order of width and height values when an array is passed. Drew Jaynes 2015-10-12 15:26:44 +00:00
  • 3fc7fea5f8 Docs: Adjust documentation for the $size parameter in the get_image_tag_class hook doc to clarify the required order of width and height values when an array is passed. Drew Jaynes 2015-10-12 15:25:41 +00:00