Commit Graph

  • 6e269a7120 Append the date to $wp_version in the build output, for nightly packages. Andrew Nacin 2014-05-29 04:32:41 +00:00
  • e317e5454a Force SSL on the frontend via canonical when the home URL uses the https scheme. Andrew Nacin 2014-05-29 04:12:05 +00:00
  • 961459ee31 Forcing SSL logins now forces SSL for the entire admin, with no middle ground. Andrew Nacin 2014-05-29 03:58:41 +00:00
  • 06c142a1a5 Better align link element focus with form focus styling, which also improves the visibility. props zamfeer. see #28267. Helen Hou-Sandi 2014-05-29 03:57:44 +00:00
  • b27a8697d6 At long last, improved keyboard accessibility for the media modal. Helen Hou-Sandi 2014-05-29 03:38:31 +00:00
  • 139b5b3cb0 TinyMCE: update to 4.0.28. Also includes 43fff5b453. Part-props avryl for the patch on #27941, fixes #28391, #27941. Andrew Ozz 2014-05-29 00:58:11 +00:00
  • 32893ac7ea Allow users to sort posts by type in WP_Query. Scott Taylor 2014-05-29 00:23:45 +00:00
  • 0af37cccdb Pass $post->ID to get_comments_number filter. Dominik Schilling (ocean90) 2014-05-28 22:35:21 +00:00
  • 1140c47c30 Exclude 'test-image.bmp' from the list of non-displayable image types. Sergey Biryukov 2014-05-28 22:20:36 +00:00
  • d201ded99e Fix parameter description for the $post_id argument in get_comments_number() to note that it is optional. Drew Jaynes (DrewAPicture) 2014-05-28 22:04:59 +00:00
  • 0c7edb2045 Revert [28579] and [28582]. see #21963. Andrew Nacin 2014-05-28 18:13:55 +00:00
  • c73f5ef2de Fix displaying taxonomies in bulk edit if the post type does not support titles. Sergey Biryukov 2014-05-28 13:49:21 +00:00
  • 2d420d52bb Display Dashboard icon instead of the home icon in toolbar when the link leads to Dashboard. Sergey Biryukov 2014-05-28 13:41:23 +00:00
  • 98b4b63e40 Twenty Fourteen: Avoid passing an empty string to document.getElementById(). Sergey Biryukov 2014-05-28 13:35:47 +00:00
  • 5a8b1cfac2 Fix SlideShare oEmbed regex. Sergey Biryukov 2014-05-28 13:31:22 +00:00
  • 598e79479b RIP Viddler oEmbed support. Scott Taylor 2014-05-27 21:59:42 +00:00
  • d80969655c Update the Scribd oEmbed pattern to more actually represent which endpoints from the site are discoverable. Scott Taylor 2014-05-27 21:54:24 +00:00
  • 0b209f55ee When parsing an [embed] shortcode into a TinyMCE view, don't attempt to append any returned <script>s to the editor's <head>. This affects only a few supported endpoints: Issuu and Twitter. Scott Taylor 2014-05-27 19:59:47 +00:00
  • 7eb0253744 For YouTube playlist oEmbed, we need keep BC for wp_oembed_remove_provider() by not changing the existing YouTube endpoint keys. So, rather than merging the rules, the playlist endpoints should be on their own line. Scott Taylor 2014-05-27 18:42:30 +00:00
  • 7b133a336f Remove obsolete code from wp_dashboard_setup(). Sergey Biryukov 2014-05-27 15:40:19 +00:00
  • 2f1ad4ddbf Move 'Documentation on date and time formatting' link under the 'Time Format' block. Sergey Biryukov 2014-05-27 14:49:51 +00:00
  • b8b933418a Pass anchor text to 'edit_post_link' and 'edit_comment_link' filters. Sergey Biryukov 2014-05-27 13:42:27 +00:00
  • 86b88bd2b7 Add BMP to the list of displayable image types. Sergey Biryukov 2014-05-27 13:24:39 +00:00
  • a25a5de409 Update documentation for is_new_day(). Sergey Biryukov 2014-05-27 11:40:11 +00:00
  • c2076859eb Remove redundant get_shortcode_regex() check. Sergey Biryukov 2014-05-27 11:29:11 +00:00
  • 6bca1ca960 Clean up wp_widget_rss_output(): Sergey Biryukov 2014-05-27 11:07:32 +00:00
  • 9599dd9705 Avoid a PHP notice in bundled themes if no images were found. Sergey Biryukov 2014-05-27 10:54:54 +00:00
  • 06bf55f809 Avoid a PHP notice in adjacent_image_link() if no images were found. Sergey Biryukov 2014-05-27 10:54:45 +00:00
  • 4dd4a32cde In wp_get_object_terms(), before returning terms (and before running them through the 'wp_get_object_terms' filter) - run them through $terms = array_values( array_unique( $terms, SORT_REGULAR ) ). Scott Taylor 2014-05-27 03:28:05 +00:00
  • 7f2cad1809 Fix some inline docs churn in wp_insert_post() after [28579]. Scott Taylor 2014-05-27 00:23:21 +00:00
  • 792fe23675 When adding a URL in the Insert from URL state in the media modal, attempt to show a preview of the content. Drop the unused width and height fields. Scott Taylor 2014-05-26 23:56:27 +00:00
  • 8567bba0bf Don't pass embeds through the_content() when trying to render MCE previews, leverage WP_Embed and do_shortcode() instead. Scott Taylor 2014-05-26 23:42:08 +00:00
  • 6cd28991e3 Combine wp_insert_attachment() and wp_insert_post(). wp_insert_attachment() becomes a wrapper. Update inline docs. Scott Taylor 2014-05-26 23:19:03 +00:00
  • ef81c3fdba Add oEmbed support for Mixcloud. Scott Taylor 2014-05-26 23:09:00 +00:00
  • 5413bfc35a Allow the settings view for galleries to be disabled when instantiating wp.media.controller.GalleryEdit. Scott Taylor 2014-05-26 22:48:56 +00:00
  • 92f79f5bcd TinyMCE: fix saving the editor content on switching Visual -> Text, fixes #28353 Andrew Ozz 2014-05-25 22:46:06 +00:00
  • aa6d49590b Fix typo in [28574]. Sergey Biryukov 2014-05-25 16:11:26 +00:00
  • 508c1c1ae7 Replace $in_same_cat with $in_same_term in adjacent post functions for consistency. Sergey Biryukov 2014-05-25 16:09:07 +00:00
  • 95e42909a9 Suggest get_current_site() as an alternative for get_current_site_name(). Sergey Biryukov 2014-05-25 14:31:16 +00:00
  • 191705a964 Fix inversed logic in Walker_Category::start_el(). see [28359]. Correct 'use_desc_for_title' parameter description. Sergey Biryukov 2014-05-24 13:41:11 +00:00
  • 90a40a07a1 Pass $post to 'protected_title_format' and 'private_title_format' filters. Sergey Biryukov 2014-05-24 06:47:55 +00:00
  • cff4631f00 Add inline documentation for the option_none_value argument added to wp_dropdown_users|categories() in [28564]. Drew Jaynes (DrewAPicture) 2014-05-24 05:38:06 +00:00
  • c4dc6180a5 Use three-digit x.x.x style version for @deprecated phpDoc tags. Drew Jaynes (DrewAPicture) 2014-05-24 05:22:34 +00:00
  • 8d02021b7c TinyMCE: update to 4.0.26. Includes fixes for the 'paste' plugin (paste from Word/Excel, paste in WebKit/Blink), show/hide/isHidden in inline mode, drag/drop in tables and in Safari, and others. Fixes #28342, #28016, #28250 and #28067 Andrew Ozz 2014-05-24 01:43:16 +00:00
  • 5c3f7d5392 In media_sideload_image(), check the returned value of download_url() earlier to avoid attempting to unlink() an instance of WP_Error. Scott Taylor 2014-05-23 21:32:12 +00:00
  • b2db40a694 Add unit tests for functions in wp-includes/category.php. Scott Taylor 2014-05-23 21:07:18 +00:00
  • cfb7408e2a wpView: fix selecting a view's text string in Safari, props gcorne, fixes #28088 Andrew Ozz 2014-05-23 20:55:53 +00:00
  • cd7d3f2ee8 wp_dropdown_pages() allows option_none_value to be passed. Add that arg to the $defaults for wp_dropdown_users() and wp_dropdown_categories() as well. Scott Taylor 2014-05-23 20:46:18 +00:00
  • 70f735669a Replaces all uses of TEMPLATEPATH and STYLESHEETPATH in core with get_template_directory() and get_stylesheet_directory(). Scott Taylor 2014-05-23 20:11:08 +00:00
  • e2a124a911 When adding queries to tax_query: if the query's field is term_taxonomy_id, don't require taxonomy to be specified. In WP_Tax_Query::transform_query(), $query['taxonomy'] is never checked for the 'term_taxonomy_id' case because 'term_taxonomy_id' is the primary key being looked up. Scott Taylor 2014-05-23 19:58:52 +00:00
  • a2b0c8b2e4 In get_terms_to_edit(), call get_object_term_cache() before priming cache with wp_get_object_terms(). Scott Taylor 2014-05-23 19:28:45 +00:00
  • aa34ede226 Truly check for ! empty() instead of falsey '' when determining whether to add LIMIT clause to SQL in wp_get_archives(). Scott Taylor 2014-05-23 18:27:10 +00:00
  • 3b060c1931 Read the src attribute for the [embed] shortcode if the shortcode's body is empty. Scott Taylor 2014-05-23 18:05:24 +00:00
  • 1061a15eaf Allow get_comments_number() to officially accept $post or $post_id. Adds unit tests. Scott Taylor 2014-05-23 17:43:03 +00:00
  • d07954ea60 Add CollegeHumor.com oEmbed support. Fixes #24497. Props johnzanussi. John Blackbourn 2014-05-22 23:46:22 +00:00
  • e2240cd82f Viddler has had a new oEmbed endpoint for at least 10 months. Let us update to it. Scott Taylor 2014-05-22 23:16:11 +00:00
  • 2baa683984 Support Polldaddy's short URL format as a whitelisted oEmbed provider. Scott Taylor 2014-05-22 23:12:05 +00:00
  • 47be64543c Add Issuu to list of whitelisted oEmbed providers. Scott Taylor 2014-05-22 21:49:10 +00:00
  • a4e1ec0b90 Fix parsing in wp_match_mime_types() to allow some mime-types with + in them to appear in the list of filter links shown above the list table on upload.php. Scott Taylor 2014-05-22 21:35:36 +00:00
  • 1bc5e8329a Support oEmbed matching for YouTube playlist URLs. Scott Taylor 2014-05-22 21:11:31 +00:00
  • 285d74a283 In is_user_option_local(), $user_id is set conditionally, but never used. Scott Taylor 2014-05-22 19:17:12 +00:00
  • 7b3181e4ed $count is set in get_post_galleries() and never used, relic from PFUI RIP. Scott Taylor 2014-05-22 19:13:01 +00:00
  • 1d78b1dcc4 $gallery_div is set twice in gallery_shortcode() before it is used. Scott Taylor 2014-05-22 19:11:16 +00:00
  • ae9cf4a66d In get_attachment_icon_src(), $class is set in 2 conditions but never used. Scott Taylor 2014-05-22 19:07:30 +00:00
  • 363301f36e break is unreachable in WP_Theme::translate_header(). Scott Taylor 2014-05-22 19:04:16 +00:00
  • 8b3d002486 In WP_Customize_Manager::register_controls(), $menu_locations is set and never used. Scott Taylor 2014-05-22 19:00:30 +00:00
  • e53cdbb8f0 In wp_dashboard_recent_posts(), $i is set and never used. Scott Taylor 2014-05-22 18:55:07 +00:00
  • 70342f4a75 $theme_name is set but no longer used in wp_dashboard_right_now(). The theme name is displayed with the call to update_right_now_message(). Scott Taylor 2014-05-22 18:53:43 +00:00
  • 5edb7a633f Remove unnecessary array_reverse() from wp_get_post_revisions(). Sergey Biryukov 2014-05-22 18:50:11 +00:00
  • d6f1c4f904 Because PHP can be configured without --filter, it is not 100% safe to use filter_var(). This is problematic for casting "false" to false, as PHP always casts it to true. FILTER_VALIDATE_BOOLEAN fixes this, but it may not be available. Scott Taylor 2014-05-22 18:33:34 +00:00
  • 0baa73f2e4 Apply order to each passed value for orderby in WP_Query: Scott Taylor 2014-05-22 18:18:11 +00:00
  • b0b85cc484 Use correct variable. see [28534], [28538]. Sergey Biryukov 2014-05-22 17:39:22 +00:00
  • 312ef7b264 These functions import $wpdb but do not use it. Scott Taylor 2014-05-22 17:36:42 +00:00
  • ce653e1925 Remove redundant assignment. see [28379], [28534]. Sergey Biryukov 2014-05-22 17:34:34 +00:00
  • 15588188e8 Fix inconsistent header underlining and spacing in background update emails. Sergey Biryukov 2014-05-22 09:40:36 +00:00
  • 3bd4762f9b Twenty Fourteen: Bail early from Featured_Content::hide_featured_term() if term objects are unavailable. Sergey Biryukov 2014-05-22 09:24:33 +00:00
  • 9966795165 Use correct function name. Sergey Biryukov 2014-05-22 07:58:26 +00:00
  • a0c78339fc Fix some bad UI recursion in wp_get_archives() caused by [28379]. It appears that $afterafter was appropriately named. Scott Taylor 2014-05-20 23:08:23 +00:00
  • 6f4df85c8f WP_Query was only missing one access modifier. Scott Taylor 2014-05-19 17:40:08 +00:00
  • 707c313333 WP_Date_Query was only missing one access modifier. Scott Taylor 2014-05-19 17:29:42 +00:00
  • dc1ada20c7 Upgrade _WP_List_Table_Compat to PHP5-style constructor. Scott Taylor 2014-05-19 17:19:09 +00:00
  • be2e5f6fb5 hackificator doesn't like mixed single/double-quoted attributes. These were 2 lingering instances in the admin. Scott Taylor 2014-05-19 17:09:42 +00:00
  • d261d0030a In WP_Filesystem_Base, the constructor is a noop, so it shouldn't even be declared. Setting it implies that parent::__construct() should be called by its subclasses. Scott Taylor 2014-05-19 16:45:42 +00:00
  • 02eba613a5 Add access modifiers to WP_User_Query. Scott Taylor 2014-05-19 15:47:33 +00:00
  • 3e054a2c7e Add public access modifier to methods/members of WP_Widget and WP_Widget_Factory. Scott Taylor 2014-05-19 15:42:00 +00:00
  • 02a28ec4e9 In wpdb, make some things explicitly public. Do not set anything to private. This would instantly blow up hyperdb in the wild. Scott Taylor 2014-05-19 15:35:29 +00:00
  • 1cbef26922 Add access modifiers to WP_Text_Diff_Renderer_Table that are compatible with its parent class. Some of the inline docs suggest access that, if implemented, would produce fatal errors. Scott Taylor 2014-05-19 15:22:45 +00:00
  • daecbc9659 Classes that have __set() also need __isset() and __unset(). Scott Taylor 2014-05-19 06:51:35 +00:00
  • bf54ad6054 Add missing access modifiers to methods in WP_Query. Add magic methods for __get(), __set(), __isset(), __unset(), and __call(). Scott Taylor 2014-05-19 06:48:56 +00:00
  • 5771dfbfa5 Add missing access modifiers to methods in WP_Meta_Query. Scott Taylor 2014-05-19 06:34:01 +00:00
  • 77c6420969 Some classes with __get() method also need __set(). Scott Taylor 2014-05-19 06:31:00 +00:00
  • e76545e011 Fix fatal error in unit test. Scott Taylor 2014-05-19 06:24:06 +00:00
  • d398ea806c Add missing access modifiers to methods in WP_Comment_Query. Add a magic __call() method for BC. Scott Taylor 2014-05-19 06:18:51 +00:00
  • ce917f0bc4 Add missing access modifiers to methods in WP_Scripts and WP_Styles. Scott Taylor 2014-05-19 06:16:39 +00:00
  • bd478a0135 Add missing access modifiers to methods in WP_Dependencies and _WP_Dependency. Scott Taylor 2014-05-19 06:13:24 +00:00
  • 0e17651d7d Add missing access modifiers to methods in WP and WP_MatchesMapRegex. Add magic __call() and __get() methods to WP_MatchesMapRegex for BC. Scott Taylor 2014-05-19 06:11:34 +00:00
  • ea0e965af3 Add missing access modifiers to methods in wp_xmlrpc_server. Add a magic __call() method for BC. Scott Taylor 2014-05-19 06:08:04 +00:00
  • f716ff94e4 Add missing access modifiers to methods/members in Walker and subclasses. Add a magic __get() method. Scott Taylor 2014-05-19 05:59:07 +00:00
  • f297dcba9a Add missing access modifiers to methods/members in WP_Image_Editor_* classes. Scott Taylor 2014-05-19 05:52:24 +00:00
  • 9406ca3bb8 Add access modifiers to methods/members in WP_HTTP_IXR_Client. Scott Taylor 2014-05-19 05:50:19 +00:00