Commit Graph

  • d2b8163078 TinyMCE: don't show image toolbar for placeholder images. See #30147. Andrew Ozz 2014-11-16 23:11:14 +00:00
  • c33b85fd39 Add a filter to the displayed title of the default page template. John Blackbourn 2014-11-16 19:32:00 +00:00
  • 6efcf3e759 Correctly wrap the text in long input labels in the media manager. John Blackbourn 2014-11-16 19:00:04 +00:00
  • b5c2b8f9b2 Add $depth parameter to the nav_menu_css_class, nav_menu_item_id, and nav_menu_link_attributes filters. John Blackbourn 2014-11-16 07:36:52 +00:00
  • 0adcbd0094 Add $user_login and $user_data parameters to the retrieve_password_message filter. John Blackbourn 2014-11-16 07:24:39 +00:00
  • 4e1e4745ff Switch to a 403 response code in places where it is more appropriate than a 500 due to permissions errors. John Blackbourn 2014-11-16 06:15:29 +00:00
  • b68026bbfb Allow the response code to be passed as a shorthand to the $title or $args parameter of wp_die(), for brevity. John Blackbourn 2014-11-16 06:10:58 +00:00
  • 9a043693da Add some specific JSON responses when there are user permission errors for AJAX file uploads. Replace some usage of wp_json_encode() with wp_send_json_*(). John Blackbourn 2014-11-16 05:46:35 +00:00
  • ee01e3672b Display a faux revision when a post only has one revision but has an autosave. John Blackbourn 2014-11-16 03:35:37 +00:00
  • b4f9310fa6 Avoid adjusting the current submenu position when tabbing through the admin menu. John Blackbourn 2014-11-16 02:21:30 +00:00
  • 97910f325d Change Twenty Eleven's header preview callback too, missed in [30327]. Dominik Schilling (ocean90) 2014-11-15 19:14:24 +00:00
  • 47a4d58d2b Editor: enable spellchecking of the post title field on the Edit Post screen. Props marsjaninzmarsa, fixes #30338. Andrew Ozz 2014-11-15 01:42:17 +00:00
  • 256db7c4cb TinyMCE: fix the cursor appearance while it is outside the editor body. Props miyauchi, fixes #30112. Andrew Ozz 2014-11-15 01:20:41 +00:00
  • 16de5ce287 WordPress 4.1-beta1 John Blackbourn 2014-11-14 21:56:08 +00:00
  • 69a167688e Flush cache for newly created term in _split_shared_term(). Boone Gorges 2014-11-14 21:52:23 +00:00
  • e1ca159011 If a saving a post fails, remove any invalid characters (such as emoji) from the primary text fields, then try to save it again. Gary Pendergast 2014-11-14 21:33:50 +00:00
  • 6df14c1612 When creating a post containing emoji, the post can be saved incorrectly if MySQL isn't using a character set that supports emoji. Gary Pendergast 2014-11-14 21:27:17 +00:00
  • ab96cf6614 Reinstate term splitting on term update. Boone Gorges 2014-11-14 21:26:48 +00:00
  • 1b1f18baf4 Sync our jQuery UI styles with jQuery UI 1.11.2 CSS. Dominik Schilling (ocean90) 2014-11-14 19:27:38 +00:00
  • 437d90710d Media: Remove another unused string. Dominik Schilling (ocean90) 2014-11-14 17:45:39 +00:00
  • fd6bf722b7 Media: Remove unused string. Dominik Schilling (ocean90) 2014-11-14 17:30:57 +00:00
  • 6e587aed5f Only use the 'Installed' optgroup in wp_dropdown_languages() if it's needed. Andrew Nacin 2014-11-14 03:23:57 +00:00
  • 112061668f TinyMCE: set the image toolbar's z-index higher than the editor when the new DFW is active. See #30147. Andrew Ozz 2014-11-13 23:28:28 +00:00
  • 78f0186866 Introduce Distraction-Free Writing v2, a re-think of DFW that uses the main editor instance Mark Jaquith 2014-11-13 22:30:55 +00:00
  • b94dd6a7ec When asserting microtime output as a number, make it a number Aaron Jorbin 2014-11-13 22:03:15 +00:00
  • 805021f406 Don't split shared terms on term update. boonebgorges 2014-11-13 20:04:02 +00:00
  • dc8e01fa9b Site Language: Install translations on the fly. Dominik Schilling (ocean90) 2014-11-13 17:00:08 +00:00
  • 8422a51b98 Improvements to [30333]: Dominik Schilling (ocean90) 2014-11-13 15:53:52 +00:00
  • d93bad3cd3 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. John Blackbourn 2014-11-13 15:20:42 +00:00
  • c55a06370b Fix selector for the "Live Widget Previews" feature pointer. Dominik Schilling (ocean90) 2014-11-13 12:49:42 +00:00
  • 103788b4ad Twenty Fifteen: Add a transparent border to a link in the footer to avoid jumpiness on hover. Dominik Schilling (ocean90) 2014-11-13 12:41:09 +00:00
  • 2aac7ef27c Color Picker: Allow to override mode and width values for Iris via wpColorPicker options. Dominik Schilling (ocean90) 2014-11-13 12:33:27 +00:00
  • 8d476eee4f Customizer: Improve ability to filter active state for widget area Customizer sections. Dominik Schilling (ocean90) 2014-11-13 12:18:01 +00:00
  • 2a941720be Correct @since tag in count_user_posts() docs. Boone Gorges 2014-11-13 12:14:15 +00:00
  • 8d61151356 Improve keyboard accessibility on Custom Header and Custom Background screen. Dominik Schilling (ocean90) 2014-11-13 11:59:23 +00:00
  • 9c6b323976 Customizer: Prevent double-encoding in WP_Customize_Control. Dominik Schilling (ocean90) 2014-11-13 11:43:06 +00:00
  • 6f98ce5a45 Twenty Fifteen: cleaning up JS introduced in r30305 that doesn't pass jshint. Ian Stewart 2014-11-13 03:17:42 +00:00
  • d97665d331 Twenty Fifteen: unfix the sidebar if we have a menu with submenus as there is a chance visitors might not be able to scroll down to see submenus in some situations. Ian Stewart 2014-11-13 03:08:21 +00:00
  • 5e730a0cf9 Pass query object to 'the_post' filter. Boone Gorges 2014-11-13 02:24:43 +00:00
  • 3544e20e9a Introduce $post_type param for count_user_posts(). Boone Gorges 2014-11-13 02:18:30 +00:00
  • 403cf989ec Twenty Fifteen: reduce the margins on the editor body in esitor-style.css. Fixes #30331. Andrew Ozz 2014-11-13 02:01:29 +00:00
  • f5d88c355e Manually delete fixture in test_mysqli_flush_sync(). Boone Gorges 2014-11-13 01:59:49 +00:00
  • ca39f65025 Fix typo in translatable string, see #30147. azaozz 2014-11-13 00:59:03 +00:00
  • 307639954a TinyMCE: enhance the inline toolbar for images: - Add alignment (left, center, right, none) buttons. - Position the menu above the image when possible, except on iOS. - Fix selecting images on iOS. First run, part props avryl. See #30147. Andrew Ozz 2014-11-13 00:55:22 +00:00
  • 5a31b9772a Twenty Fifteen: improve appearance of page links when there are tons of pages to link to Ian Stewart 2014-11-12 23:38:02 +00:00
  • 879671c159 Twenty Fifteen: adding context to pagination links for screenreaders. Ian Stewart 2014-11-12 23:25:51 +00:00
  • 0ac9a44244 Twenty Fifteen: since color schemes can be customized let's call them base color schemes instead of just color schemes. Ian Stewart 2014-11-12 23:00:28 +00:00
  • 23259d37ef Twenty Fifteen: adding context to page links for screenreaders. Ian Stewart 2014-11-12 22:54:32 +00:00
  • 7514ac3218 Use a brighter blue against dark backgrounds in the admin menu and toolbar. Helen Hou-Sandi 2014-11-12 20:27:04 +00:00
  • 15af512035 Twenty Fifteen: clean up sprintf from template tags and use the correct escaping for twentyfifteen template tags. Ian Stewart 2014-11-12 17:20:28 +00:00
  • e542c7f7b6 PHP 5.2 compatibility for [30310], __DIR__ wasn't added until PHP 5.3. Props TobiasBg. Fixes #29628 Dion Hulse 2014-11-12 10:43:09 +00:00
  • 14d164397a Always use a full filesystem path when including the FTP handler in PemFTP. This prevents other files in the includes directory being scanned/included accidentally. See #29628 Dion Hulse 2014-11-12 03:05:31 +00:00
  • 4175d8a922 Customizer: Add support for the media library in Background Image controls. Dominik Schilling (ocean90) 2014-11-11 23:51:48 +00:00
  • 3566ac62c8 Customizer: Trigger widget-added event when initializing. Dominik Schilling (ocean90) 2014-11-11 22:45:47 +00:00
  • 3b3be684e8 Customizer: Use jQuery.fn.toggle() instead of slideUp/slideDown if panel/section/control is not inserted into DOM yet. Dominik Schilling (ocean90) 2014-11-11 22:36:51 +00:00
  • 63642323a5 Customizer: When navigating around the site within the Customizer preview, update the document title. Dominik Schilling (ocean90) 2014-11-11 22:28:38 +00:00
  • 88e80131df Twenty Fifteen: Minor formatting and docs tweaks, clearer variable name. Ian Stewart 2014-11-11 19:35:40 +00:00
  • 8454637689 Twenty Fifteen: simplify the code used to generate screen reader text for the is_home title. Ian Stewart 2014-11-11 19:23:47 +00:00
  • eeda30610c Twenty Fifteen: create consistent spacing with embeds and images. Ian Stewart 2014-11-11 19:03:55 +00:00
  • 85df1aea07 Twenty Fifteen: simpler CSS by using divs instead of spans for menu descriptions. Ian Stewart 2014-11-11 19:01:47 +00:00
  • 96eb9a93d9 Correct grammar error in WP_Date_Query error message. Boone Gorges 2014-11-11 14:55:52 +00:00
  • a26cf7ba6e Improve localization for WP_Date_Query error strings. Boone Gorges 2014-11-11 13:24:01 +00:00
  • c2fb136b47 wpdb: When flushing results on a mysqli connection, make sure that wpdb::$dbh is a valid mysqli connection handle. Gary Pendergast 2014-11-11 02:16:19 +00:00
  • df11fb8593 Exclude external-http tests when running phpunit. Boone Gorges 2014-11-10 14:48:28 +00:00
  • 4b1aa89206 wpdb::flush() was not flushing results correctly when using mysqli. Gary Pendergast 2014-11-10 05:39:50 +00:00
  • c8340a2cda TinyMCE: enable direct calls to _WP_Editors::wp_mce_translation(). When using TinyMCE directly, this makes it easier to load the translation of the default strings. Fixes #30293. Andrew Ozz 2014-11-10 02:07:00 +00:00
  • 3c360968ef Fix PHP notice in Tests_Feed_RSS2::test_items(). Boone Gorges 2014-11-10 02:04:22 +00:00
  • d011f4ef00 TinyMCE: remove strings that are not translated before outputting the translations. Fixes #27797. Andrew Ozz 2014-11-10 01:59:23 +00:00
  • 18f75bf2f7 Heartbeat: - Use the page visibility API (when available) and document.hasFocus() instead of window.onfocus/onblur. Improves speeding up/slowing down the interval and works for iframes by default. - Add a setting for minimal interval. Maximum value is 10 min. This overrides all other intervals and cannot be changed after setting it at initialization. Can be used to reduce the frequency of requests on hosts that have low limits for used CPU time, etc. - Extend the setting of interval to support 120 sec. (60 sec, is still the default). - Always suspend after one hour of keyboard/mouse/touch inactivity. Fixes #29779. Andrew Ozz 2014-11-10 01:46:04 +00:00
  • 3b3a33b583 WPDB's __get() function should perform strict comparisons against member names Gary Pendergast 2014-11-09 12:03:31 +00:00
  • 218924d9ee Remove failing Unbalanced tags tests Aaron Jorbin 2014-11-08 23:14:28 +00:00
  • 44825185f7 Remove failing shortcode unit tests Aaron Jorbin 2014-11-08 22:50:30 +00:00
  • e7e27c2e4d Remove failing uploadfile test in trunk Aaron Jorbin 2014-11-08 21:55:41 +00:00
  • 68f8703893 Fix incorrect documentation in the DocBlocks for get_lastpostmodified() and _get_last_post_time(). Drew Jaynes (DrewAPicture) 2014-11-08 21:07:46 +00:00
  • 211c7ac373 Move tests for ms_files_rewriting to separate group, ms-files Jeremy Felt 2014-11-08 21:07:05 +00:00
  • ffcfc0573b Remove failing test related to post galleries. Boone Gorges 2014-11-08 21:01:39 +00:00
  • 72cc949b5d Fix the syntax for some status-related documentation introduced in [30155]. Drew Jaynes (DrewAPicture) 2014-11-08 20:55:14 +00:00
  • 9b425eb5e4 Improve Tests_Feed_RSS2::test_items(). Boone Gorges 2014-11-08 20:54:06 +00:00
  • 13602b566d Remove failing unit tests from 'canonical' group. Boone Gorges 2014-11-08 20:36:27 +00:00
  • 136b853399 Cross-reference WP_Comment_Query::query() as the location for finding information on default arguments for WP_Comment_Query. Drew Jaynes (DrewAPicture) 2014-11-08 20:35:00 +00:00
  • 9df38af4f7 Document default arguments for WP_Comment_Query class as a hash notation. Drew Jaynes (DrewAPicture) 2014-11-08 20:18:50 +00:00
  • bcf340ff65 Use remove_added_uploads() in tearDown() for XMLRPC tests Jeremy Felt 2014-11-08 20:17:17 +00:00
  • 608084a9cc In unit tests, use wpmu_delete_user() to delete users when is_multisite(). Boone Gorges 2014-11-08 19:55:05 +00:00
  • d63ceb08a3 Share fixtures across 'canonical' automated tests. Boone Gorges 2014-11-08 19:28:12 +00:00
  • fe726039bd Share fixtures across a number of query-related test classes. Boone Gorges 2014-11-08 15:29:31 +00:00
  • a4ecf4b080 Twenty Fifteen: updates to customize-preview.js missed in r30274. Ian Stewart 2014-11-07 21:10:10 +00:00
  • 975ee2d0a8 Twenty Fifteen: add instant updating of color schemes to the customizer with postMessage. Ian Stewart 2014-11-07 20:54:48 +00:00
  • 72e9e8d3ea Twenty Fifteen: Removing email obfuscation from social links menu. Ian Stewart 2014-11-07 17:37:36 +00:00
  • 8102942f58 Twenty Fifteen: adding help text to explain how color changes to header and sidebar are affected by responsive design. Ian Stewart 2014-11-07 17:30:29 +00:00
  • 79ba410eae Twenty Fifteen: improve naming and documentation of customizer js files to match core filenaming conventions. Ian Stewart 2014-11-07 17:19:55 +00:00
  • 900307e343 Twenty Fifteen: use antispambot to obfuscate email adresses in the social links menu. Ian Stewart 2014-11-07 16:45:53 +00:00
  • cdae4f352d Twenty Fifteen: update earlier patch to borders on linked images so we're not affecting the display of linked icons in widgets. Ian Stewart 2014-11-07 16:33:23 +00:00
  • f12b0f9aad Correct variable name in WP_UnitTestCase::temp_filename(). Boone Gorges 2014-11-07 01:36:05 +00:00
  • 73eee04d38 Unset the default permalink structure after installing Multisite for automated tests. Boone Gorges 2014-11-07 01:24:19 +00:00
  • b09103c101 Use assertEqualSets() for some WP_Comment_Query tests. Boone Gorges 2014-11-06 22:27:34 +00:00
  • 642e826cd9 Don't force child_of=0 for non-hierarchical taxonomies in get_terms(). Boone Gorges 2014-11-06 21:46:18 +00:00
  • 11843fe460 Add tests for get_adjacent_post_link() wrappers. Boone Gorges 2014-11-06 20:16:10 +00:00
  • 6f7880bcf4 In get_adjacent_post(), $excluded_terms should check term_id rather than term_taxonom_id. Boone Gorges 2014-11-06 20:11:34 +00:00
  • 49d5227e76 Twenty Fifteen: Our next-previous labels were reversed. Ian Stewart 2014-11-05 20:30:53 +00:00
  • 5a2c0fef1e In get_page_children(), only check $page->ancestors once to avoid duplicates when the function recurses. Adds an argument, $ancestors. Scott Taylor 2014-11-05 20:04:55 +00:00