Commit Graph

  • 9cc39e7f46 Use includes_url( ..., 'relative' ) in script-loader.php in lieu of hard-coding /wp-includes/.... everywhere. Scott Taylor 2014-06-29 22:55:39 +00:00
  • 9e24832a0e Add initial unit tests for multisite's bootstrap. Andrew Nacin 2014-06-29 22:50:44 +00:00
  • 75ff222c93 Convert documentation of default arguments in wp_list_authors() to the hash-notation style. Drew Jaynes (DrewAPicture) 2014-06-29 22:33:46 +00:00
  • 0b1a0b39fd Use includes_url() in wlwmanifest_link(). Scott Taylor 2014-06-29 22:26:59 +00:00
  • 0a3e448168 WP_Scripts->in_default_dir() should use the WPINC constant Scott Taylor 2014-06-29 22:22:16 +00:00
  • d204e4dea0 Admin screens should use the WPINC constant Scott Taylor 2014-06-29 22:20:26 +00:00
  • acd2a45cc2 wlwmanifest_link() should use the WPINC constant Scott Taylor 2014-06-29 22:16:52 +00:00
  • 48c145ee78 WP_Filesystem_Base->abspath() should use the WPINC constant Scott Taylor 2014-06-29 22:15:10 +00:00
  • dcd7ff837d Use the WPINC constant when loading class-phpass.php Scott Taylor 2014-06-29 22:11:44 +00:00
  • 00678ab0df Notify developers when register_post_type() or register_taxonomy() fails because of post type or taxonomy key length. Sergey Biryukov 2014-06-29 21:53:35 +00:00
  • 978f3df40f Add documentation for the default playlist shortcode attributes in wp_playlist_shortcode(). Drew Jaynes (DrewAPicture) 2014-06-29 21:28:54 +00:00
  • 02094174f9 Add index key support for wp_list_pluck(), à la array_column(). Andrew Nacin 2014-06-29 21:25:21 +00:00
  • 1388b15b67 Re-document default arguments in wp_link_pages() using the hash-notation style. Drew Jaynes (DrewAPicture) 2014-06-29 18:55:45 +00:00
  • 1e7b12978c Set date format before going into the loop to avoid a PHP notice if 'lastupdated' column is filtered out. Sergey Biryukov 2014-06-29 18:10:52 +00:00
  • 107001213b Fix feature pointer positioning issues for both LTR and RTL. Sergey Biryukov 2014-06-29 16:05:53 +00:00
  • db4da6e488 Remove the WordPress logo from the focusable elements on the install/update screens. Fixes #28674. Props stompweb John Blackbourn 2014-06-29 14:09:39 +00:00
  • 15e019d99e Conditionally set the the secure flag on the test cookie, post password cookie, settings cookies, and comment author cookies depending on whether the front end and/or admin area are served over https. Fixes #28427 John Blackbourn 2014-06-29 13:24:55 +00:00
  • 3c77cf1140 Introduce is_https_url() for testing whether the scheme for a given URL is https. See #28487. John Blackbourn 2014-06-29 11:31:25 +00:00
  • 3426416dac Normalise the schemes used in get_home_path() so it returns the correct path for sites using SSL in the admin area but not the front end. Fixes #25767. Props GregLone for the initial patch. John Blackbourn 2014-06-29 10:28:52 +00:00
  • 075be3e54b Introduce a filter to control the minimum characters required for an AJAX term search. Fixes #13580. Props iamfriendly, brianlayman John Blackbourn 2014-06-29 10:04:05 +00:00
  • 416f6d01b2 General phpDoc fixes in wp-includes/plugin.php. Drew Jaynes (DrewAPicture) 2014-06-29 09:18:41 +00:00
  • 08969ece9e Show a "No themes found" message if the search for an installed theme doesn't produce any results. Sergey Biryukov 2014-06-29 09:15:08 +00:00
  • 665e2c3ce0 List the expected @param type first. Sergey Biryukov 2014-06-29 08:46:33 +00:00
  • fd6ece2e93 More tweaks to @param docs in wp-includes/plugin.php. Sergey Biryukov 2014-06-29 08:41:38 +00:00
  • 6e7e9f07ab First-run documention of WP_Query argument defaults. Drew Jaynes (DrewAPicture) 2014-06-28 23:02:05 +00:00
  • faedd0d5fe Update @param docs in plugin.php Scott Taylor 2014-06-28 04:49:39 +00:00
  • 2d56abdd2e Add new action 'delete_user_form' in wp-admin/users.php and wp-admin/network/users.php. Scott Taylor 2014-06-28 04:42:24 +00:00
  • 79b2bb391c After [28883], remove_filter() should set $GLOBALS['wp_filter'][ $tag ] to array() when empty. Scott Taylor 2014-06-28 04:37:47 +00:00
  • d88a14ee67 remove_all_filters() should set to array(), not call unset(). Scott Taylor 2014-06-28 04:26:49 +00:00
  • 56e66c79b4 wp_extract_urls() should not match dates. Scott Taylor 2014-06-28 04:15:30 +00:00
  • dca6040b0b In multisite, on the updated_option action, if the option name is one of: 'blogname', 'siteurl', 'post_count' - refresh the blog details cache for the current blog id. Scott Taylor 2014-06-28 04:06:12 +00:00
  • 54d4f34ad2 If the get_the_excerpt() is called out of bounds of a global $post, return ''. Scott Taylor 2014-06-28 04:00:27 +00:00
  • c2b7f8022c Add ->get_quality() method to WP_Image_Editor class. Scott Taylor 2014-06-28 03:49:55 +00:00
  • 34ed4c44f5 Fix typo in a comment. Sergey Biryukov 2014-06-28 03:29:10 +00:00
  • 7debe46f3e Fix the spacing between the wp-pointer arrow and bubble in LTR and RTL. Scott Taylor 2014-06-28 02:25:40 +00:00
  • 9becde117d Make the posts list table mode a sticky user setting. props garyc40, azaozz, ericmann. fixes #16774, #20335. Helen Hou-Sandi 2014-06-28 02:16:59 +00:00
  • cf67d53408 Remove obsolete wp_cache_delete('get_pages', 'posts') from clean_post_cache(). Scott Taylor 2014-06-28 02:15:45 +00:00
  • e8f2862421 Perform a canonical redirect for posts that are published but are visited at a ?p=123&preview=true URL. Scott Taylor 2014-06-28 02:12:19 +00:00
  • 373842cdb6 Exclude jshint:plugins from both grunt precommit and grunt travis:js. Scott Taylor 2014-06-28 02:08:05 +00:00
  • 572e27c682 Remove remaining Heartbeat API experimental notices Scott Taylor 2014-06-28 02:05:54 +00:00
  • 2371f75688 In deprecated media iframe code, attachment_fields_to_save filter should not be called twice after initial image upload in post. Scott Taylor 2014-06-27 21:31:28 +00:00
  • 119add95d9 Remove title attributes in wp_authenticate_username_password(). Scott Taylor 2014-06-27 20:04:52 +00:00
  • c27492cf26 Don't switch contextual help tabs when tabbing around. props neil_pie. see #28209. Helen Hou-Sandi 2014-06-27 19:09:17 +00:00
  • d2d985ffeb Avoid duplication of callbacks in theme browser sidebar each time the Next or Previous button is clicked. Sergey Biryukov 2014-06-27 16:05:07 +00:00
  • 0ff197f471 Correct filter documentation in wp_nav_menu(). Sergey Biryukov 2014-06-27 03:36:05 +00:00
  • 9dfcd4030c TinyMCE: force 'font-weight: bold` for <strong> and <b> inside the editor or Chrome and Safari may replace them with spans on pasting. Fixes #28656. Andrew Ozz 2014-06-27 02:59:13 +00:00
  • b864d0955e Avoid a PHP notice and warning on language selection screen. Sergey Biryukov 2014-06-27 00:24:36 +00:00
  • f68d096c31 Make sure the first number in LIMIT clause in WP_Query::get_posts() is always an integer. Sergey Biryukov 2014-06-27 00:03:05 +00:00
  • ce8a35edd1 Make sure the audio player's time tooltip is visible in the media modal for Audio Details. Scott Taylor 2014-06-26 20:28:12 +00:00
  • 2e22fc3778 Revert property change in [28861]. Dominik Schilling (ocean90) 2014-06-26 20:20:24 +00:00
  • 7edd9edde4 Customizer: Introduce a "panel" API to organize multiple sections into a one section. Dominik Schilling (ocean90) 2014-06-26 20:16:21 +00:00
  • bc83ca24d4 Use correct data providers. SergeyBiryukov 2014-06-26 19:07:03 +00:00
  • f09a6ee73c Use correct data provider. Sergey Biryukov 2014-06-26 18:59:55 +00:00
  • 782bd3ee67 Do not touch absint(). Reverts [28855]. Scott Taylor 2014-06-26 18:44:45 +00:00
  • 8ec1723e03 Revert [28856] at nacin's behest. See #23383. Scott Taylor 2014-06-26 18:33:50 +00:00
  • ce6de601e3 absint() should always return PHP_INT_MAX if the resulting value exceeds it. Scott Taylor 2014-06-26 18:23:51 +00:00
  • df04529010 Add a second optional parameter to absint() to limit the result to PHP_INT_MAX. Scott Taylor 2014-06-26 17:51:52 +00:00
  • 146bcaa937 XML-RPC: Make sure wp.newPost does not produce a fatal error when a post_date field is included in the data. Sergey Biryukov 2014-06-26 17:42:17 +00:00
  • 0f45c941f6 Fix wpautop() unit tests. See #25646, #22230, #25856. Scott Taylor 2014-06-26 17:27:49 +00:00
  • 8103dc5ade Use less greedy regex in wptexturize(). Adds unit tests. Scott Taylor 2014-06-26 17:14:47 +00:00
  • 3513f37623 Fix unexpected replacement of a previous tag when selecting a tag from autosuggest results. Sergey Biryukov 2014-06-26 16:07:36 +00:00
  • 2187cc6f98 Slightly bump up the login logo size to avoid getting chopped off by Firefox's rounding problems. props SergeyBiryukov for the initial patch. fixes #28393. Helen Hou-Sandi 2014-06-26 15:35:19 +00:00
  • 772903e5e9 XML-RPC: Add wp.deleteMediaItem as an alias to wp_deletePost. Sergey Biryukov 2014-06-26 15:20:07 +00:00
  • 7fa39e6839 Replace Y/m/d date format in general settings with a more popular one, Y-m-d. Sergey Biryukov 2014-06-26 14:28:04 +00:00
  • 38debafe60 Uploader: enable selecting multiple files on mobile devices (still doesn't work on Android). See #28640. Andrew Ozz 2014-06-26 04:14:59 +00:00
  • 7139817d2e When wp_oembed_add_provider() or wp_oembed_remove_provider() is called before the plugins_loaded hook has, store the values statically on the WP_oEmbed object and add them just-in-time when the object is instantiated. Scott Taylor 2014-06-26 02:29:20 +00:00
  • 4d1313bffc In kses.php, ensure that $allowedposttags, $allowedtags, and $allowedentitynames are added to the global namespace. Scott Taylor 2014-06-26 02:13:16 +00:00
  • b4c75b8ab1 Check for the existence of $post before using it in get_the_ID(). Return false if it doesn't exist. Scott Taylor 2014-06-26 02:04:38 +00:00
  • cf15c523d3 Only apply a subtle semi-transparent border to attachments that are images in the media list table. Scott Taylor 2014-06-26 01:57:37 +00:00
  • f92d73310a Apply a subtle semi-transparent border to images in the media list table to avoid the "white on white (like a polar bear in Antarctica)" problem. Scott Taylor 2014-06-26 01:51:20 +00:00
  • 6d924f9d53 Add mime support for 3gp, 3g2 and 3gpp video formats. These are not supported by MediaElement or the WP media shortcodes, just an FYI. Scott Taylor 2014-06-26 01:42:54 +00:00
  • f106f80768 In wp_localize_script(), instantiate the $wp_scripts global instead of bailing when it is called before wp_enqueue_scripts. This allows wp_enqueue_media() to be called on the front end with no JS errors. Scott Taylor 2014-06-26 01:37:13 +00:00
  • 0105f41c77 Dynamically prepend screen reader text to the attachment filters dropdown and the search box in the media modal. Scott Taylor 2014-06-26 01:27:37 +00:00
  • 3ace2eba1d Race conditions can cause .uploader-window to be visible with opacity of 0. It will cause the user to have to refresh the page or inspect the element to hide it. Add a delay in wp.media.view.UploaderWindow.hide() to ensure that the uploader window is indeed hidden. Scott Taylor 2014-06-26 01:19:18 +00:00
  • 95f3506532 In media_buttons(), add a static var $instance to increment the id attribute of insert-media-button-%d on each call. Scott Taylor 2014-06-26 01:04:32 +00:00
  • 7e9cf1d2c0 return false in has_nav_menu() if the $location does not exist in the $_wp_registered_nav_menus global. Scott Taylor 2014-06-26 00:56:07 +00:00
  • b917e7998d get_blog_details()->post_count should update on more actions than just publish_post. Scott Taylor 2014-06-26 00:52:25 +00:00
  • 8621b2c92c Switch to SSL for the Flickr and Slideshare oEmbed endpoints. Add support for SSL embeds on flic.kr. See #28507. John Blackbourn 2014-06-25 23:35:02 +00:00
  • 8130335b9d Add braces missed while adding docs for the option_page_capability_{$option_page} hook. Drew Jaynes (DrewAPicture) 2014-06-25 21:47:14 +00:00
  • 1c947d9ef1 Bring the list of upload_filetypes for multisite into modernity based on .com upgrades and supported extensions for audio and video. Scott Taylor 2014-06-25 17:59:54 +00:00
  • 96484fd3f9 Optimize the wptexturize() loop: * Take the ampersand pattern out of the loop for speed. * Fix old bugs in the ampersand pattern. * Refactor _wptexturize_pushpop_element() without PCRE for speed. * Update unit tests. Scott Taylor 2014-06-25 17:48:20 +00:00
  • 69101fe0f3 The "old iframe media modal" has some pretty busted styles. Although this is a "deprecated" feature, clean up some of the broken styles. Scott Taylor 2014-06-25 17:38:28 +00:00
  • 6f220c7fc7 Make the list of gallery attachments in the "old iframe media modal" break less. The "columns" are not aligned with the headers, but this would require a markup rewrite of a deprecated feature. Scott Taylor 2014-06-25 17:11:36 +00:00
  • 7a2d51e539 wpLink: support whole URLs including query/fragment when pre-filling the URL field. Fixes #19992 Andrew Ozz 2014-06-25 00:36:24 +00:00
  • ccdfdb2c8e Allow for easier adding of custom class variables when extending WP_Customize_Section or WP_Customize_Setting. Sergey Biryukov 2014-06-24 22:55:56 +00:00
  • 6385135983 When selecting a fallback menu in wp_nav_menu(), the "first" menu is retrieved from an unsorted query. When retrieving a fallback menu, pass array( 'orderby' => 'name' ) to wp_get_nav_menus() to return a menu consistently. Scott Taylor 2014-06-24 17:24:23 +00:00
  • 77cf8a1184 Simplify the setting of $args['include'] in wp_get_nav_menu_items(). wonderboymusic 2014-06-24 17:16:02 +00:00
  • 73fe9d548b Ensure that a has_children parameter is given to Walker::start_el(). Scott Taylor 2014-06-24 17:05:56 +00:00
  • 94be170877 Use direct typecasting instead of intval() for better performance. Sergey Biryukov 2014-06-24 16:05:54 +00:00
  • a10aa6c53c Merge two Animoto oEmbed patterns. Sergey Biryukov 2014-06-24 15:55:37 +00:00
  • 40ce1a6adf Multiple strings in .editorconfig section names should be wrapped in curly brackets. Sergey Biryukov 2014-06-24 10:54:41 +00:00
  • b1fd1dbbcf Add ISO date standard YYYY-MM-DD format to general settings. Sergey Biryukov 2014-06-24 09:49:37 +00:00
  • ddaf46505d Add @ticket references. Sergey Biryukov 2014-06-24 03:54:52 +00:00
  • 882f41cb64 Add unit tests for [28817]. Scott Taylor 2014-06-24 00:54:22 +00:00
  • 832bbb2821 Remove noscript from wpautop()'s list of block elements. Scott Taylor 2014-06-24 00:53:41 +00:00
  • f6050ce8eb wp.mce.embedView.fetch() and wp.media.view.EmbedLink.fetch() need to pass the same parameters. Scott Taylor 2014-06-24 00:39:29 +00:00
  • f5bda24b70 Add a filter/docs: 'oembed_remote_get_args' to WP_oEmbed->discover() and ->_fetch_with_format(). Scott Taylor 2014-06-24 00:27:55 +00:00
  • 220fda0095 In $wpdb->update(), prevent explosions when $where is empty. Scott Taylor 2014-06-24 00:23:09 +00:00
  • 76bd35fa79 In comment_form(), allow name_submit to be passed to change the name attribute of the submit button. Scott Taylor 2014-06-24 00:09:51 +00:00
  • 0d7450108c Use dir instead of folder in the language for jshint:plugins Scott Taylor 2014-06-24 00:07:00 +00:00