Commit Graph

  • 17287af965 Say hello to a fresh new look for the WordPress admin. Helen Hou-Sandi 2013-11-10 00:26:50 +00:00
  • 8f85054cd0 Twenty Fourteen: allow slider "Previous" and "Next" labels to be translated, props michahwave. Fixes #25897. Lance Willett 2013-11-09 23:27:28 +00:00
  • 896ae4e6ef Bundled Themes: implement Microsoft-specific @viewport rules for better responsive styling in Windows 8 "snapped" views. Props celloexpressions, fixes #25888. Lance Willett 2013-11-09 23:19:35 +00:00
  • 0081ce7c81 Twenty Fourteen: implement UX features in spite of being non-standard CSS selectors that won't validate. @viewport for a better touch experience on Windows, and ::selection for better text selection styles. See #25888 and #25898, props celloexpressions. Lance Willett 2013-11-09 23:15:15 +00:00
  • 6072e1d4cb Avoid JSHint errors in admin comment.js. Declare globals, use single quotes. Andrew Nacin 2013-11-09 21:29:43 +00:00
  • c8ab2675f4 Avoid JSHint errors in color-picker.js. One var, single quotes, add missing semicolon, declare wpColorPickerL10n as global. Andrew Nacin 2013-11-09 21:28:27 +00:00
  • df882a2e6c Make [25064] lint-free. see #25854. Andrew Nacin 2013-11-09 21:25:02 +00:00
  • a5ec5e4cd7 Avoid JSHint errors. Use dot notation when able and declare pwsL10n as a global. Andrew Nacin 2013-11-09 21:20:25 +00:00
  • bab82b3b66 Add grunt phpunit which runs three tasks: phpunit, ajax tests, and phpunit as multisite. Andrew Nacin 2013-11-09 21:18:23 +00:00
  • 00dffd1bf8 Add grunt qunit:compiled to run the QUnit tests on the compiled JS. Andrew Nacin 2013-11-09 20:43:58 +00:00
  • 4d3e26f321 Twenty Fourteen: remove non-standard ::selection selectors. Closes #25898. Lance Willett 2013-11-09 18:46:41 +00:00
  • 82878e0859 Add @return for WP_Query::parse_search(). props tivnet. fixes #25894. Sergey Biryukov 2013-11-09 16:04:02 +00:00
  • 8a87a2345b Declare the variable before using it. props tivnet. fixes #25895 for trunk. Sergey Biryukov 2013-11-09 15:52:30 +00:00
  • 14ce5221ae Twenty Fourteen: when header is more than 48px tall (like two lines of menu items), unfix the header so it doesn't overlap the page content. Props iamtakashi, fixes #25554. Lance Willett 2013-11-09 15:31:29 +00:00
  • f5f951ab3c Remove the empty about.min.js. See [25912] for the 3.7 branch. Andrew Nacin 2013-11-09 04:56:36 +00:00
  • 539b3a254b Twenty Fourteen: fix gallery layout issue in IE, props jartes and iamtakashi. Fixes #25625. Lance Willett 2013-11-09 00:17:57 +00:00
  • e86c049a50 Fix inexcusable whitespace in tests/phpunit/tests/post/query.php. Scott Taylor 2013-11-08 23:13:41 +00:00
  • 047f7fb8bd Produce proper CAST for DECIMAL and NUMERIC in Meta Query. Adds a bunch of unit tests. Scott Taylor 2013-11-08 23:10:41 +00:00
  • 8ee904343b Merge the Widgets Area Chooser feature plugin. First run, see #25821 Andrew Ozz 2013-11-08 23:04:35 +00:00
  • cc19bb3a57 Respect the compare operator value in meta_query when value evaluates to null. Adds Unit Test. Scott Taylor 2013-11-08 22:51:03 +00:00
  • 0670cf7cc4 Don't convert URLs inside <pre> and <code> tags when parsing string using make_clickable(). Adds Unit Tests. Scott Taylor 2013-11-08 22:37:41 +00:00
  • 9f9bc20bde Remove old debug comment. props nofearinc. fixes #25865. Sergey Biryukov 2013-11-08 22:23:58 +00:00
  • 2a8b83fbb0 Split the content to balance open tags when <!--nextpage--> and <!--more.*?--> are used. Needs filter inline docs. The 4 unit tests that were previously failing for ticket 6297 now pass. Scott Taylor 2013-11-08 22:21:02 +00:00
  • c815622e87 Pass correct 'type' parameter to 'upgrader_process_complete' action in Theme_Upgrader. Sergey Biryukov 2013-11-08 17:03:19 +00:00
  • 15173413e5 Twenty Fourteen: fix case of featured posts has_tag() check that was adding an empty footer element. See #25868, props iamtakashi. Lance Willett 2013-11-08 05:53:48 +00:00
  • 2ae699bcf2 Twenty Fourteen: performance win by reducing the number of post thumbnail sizes needed in the theme. Props iamtakashi, closes #25876. Lance Willett 2013-11-08 05:30:45 +00:00
  • deda988368 Add some missing braces to get_bookmarks() which was causing an early return. Introduced in [25934]. See #25468. Fixes #25874 Dion Hulse 2013-11-08 02:19:22 +00:00
  • fcc86be587 Twenty Fourteen: add brief inline help text for Featured Content controls in Customizer. See #25837. Lance Willett 2013-11-08 01:08:18 +00:00
  • db7ec86731 Twenty Fourteen: legibility improvements for small sidebar text. Fixes #25827 props iamtakashi. Lance Willett 2013-11-08 00:54:24 +00:00
  • 3032512477 Grunt: limit JSHint's run to a single specified file. Run with grunt jshint:core --file=filename.js. Props kadamwhite, see #25187. Andrew Ozz 2013-11-08 00:40:38 +00:00
  • 3a5802dd3b Ignore wp-langs-en.js during linting, per azaozz. see #25187. Andrew Nacin 2013-11-07 21:47:24 +00:00
  • 8bdd289576 Update jshint grunt task to exclude eqeqeq and curly for now, until we've resolved other code smells. Andrew Nacin 2013-11-07 21:14:49 +00:00
  • aacc286f7c Use only one var per scope in our password-strength-meter tests. Andrew Nacin 2013-11-07 20:40:12 +00:00
  • f7c0b07d98 Twenty Fourteen: better override for Background and Colors descriptions in Customizer, props obenland. See #25869. Lance Willett 2013-11-07 20:36:09 +00:00
  • d3bd9f465c Twenty Fourteen: add contextual help text to Background and Colors controls in Customizer, using the description field. Props rachelbaker, see #25869. Lance Willett 2013-11-07 20:27:05 +00:00
  • daad8899b1 Twenty Fourteen: move all controls for managing Featured Content to the Customizer. Also implement smart fallbacks to not using a custom tag with the "featured" tag and sticky posts. Props obenland and celloexpressions, see #25549. Lance Willett 2013-11-07 20:24:24 +00:00
  • 976df5f9ed Twenty Fourteen: clean up inconsistencies in content template files. Props iamtakashi, fixes #25868. Lance Willett 2013-11-07 19:04:56 +00:00
  • 1a396b5d8a jshint: fixes for revisions.js, props adamsilverstein, fixes #25864. Andrew Ozz 2013-11-07 18:13:33 +00:00
  • 48d44afbb9 Twenty Fourteen: remove the pattern image used as a placeholder for featured images. This greatly improves the "first run" experience of the theme and gives it a more general appeal as a blog theme by putting less of a requirement on featured images. Props iamtakashi, fixes #25859. Lance Willett 2013-11-07 17:28:56 +00:00
  • bc9ca186e5 Add missing semicolon after wpLink object definition. props mt8.biz. fixes #25862. Sergey Biryukov 2013-11-07 10:41:15 +00:00
  • 01a9ea55be Add the various Drop ins to the svn:ignore property on src/wp-content. Fixes #25857 Dion Hulse 2013-11-07 05:50:19 +00:00
  • 24c2774076 Fix a case where wp_guess_url() would leave a prefixed path in the generated URL when symlinks were involved. Fixes #25797 Dion Hulse 2013-11-07 03:33:11 +00:00
  • 245b99ceb1 Twenty Fourteen: minor template fixes and a placeholder screenshot. Lance Willett 2013-11-06 23:53:13 +00:00
  • 859516cd19 Add X-UA-Compatible meta tag in the admin, locking the compatibility mode in IE to the highest supported document mode. Fixes #25575. Andrew Ozz 2013-11-06 23:48:02 +00:00
  • fc8d09e2a6 A negative term parent value should be sanitized to 0, not 1. Fix a regression in sanitize_term_field() caused by [26010]. Sergey Biryukov 2013-11-06 23:40:46 +00:00
  • 2564c74a57 Fix inverted logic for displaying the 'Broken Theme' string. props pavelevap. fixes #25465. Sergey Biryukov 2013-11-06 22:39:35 +00:00
  • 8b481f300b Twenty Fourteen: add full-width featured images for layouts without a content sidebar, but use wp_is_mobile() to load smaller-sized images for mobile. Props iamtakashi, fixes #25758. Lance Willett 2013-11-06 20:39:50 +00:00
  • 370c503d66 Add es3 and onevar to the JSHint configuration as discussed in IRC. Props jorbin, see #25187. Andrew Ozz 2013-11-06 20:26:42 +00:00
  • cd7deb0e7b Make Twenty Fourteen the default theme. props markmcwilliams. fixes #25702. Sergey Biryukov 2013-11-06 20:01:54 +00:00
  • 8f46d50138 Twenty Fourteen: add missing sidebar for post format archives. Props iamtakashi, fixes #25842. Lance Willett 2013-11-06 16:11:51 +00:00
  • 3d26edf1fe Remove irrelevant @see references. props mt8.biz. fixes #25843. Sergey Biryukov 2013-11-06 10:16:55 +00:00
  • e20baa48d8 Twenty Fourteen: improvements to Accent Color behavior, including a case where options were published too soon. Props celloexpressions, fixes #25580. Lance Willett 2013-11-05 23:28:07 +00:00
  • e2bf98b1d3 Twenty Fourteen: add Audio post format support. Props celloexpressions, closes #25807. Lance Willett 2013-11-05 21:51:03 +00:00
  • a009e64c18 Twenty Fourteen: remove a todo. Lance Willett 2013-11-05 21:48:29 +00:00
  • b3722a1edd Twenty Fourteen: add print styles, props iamtakashi. Closes #25830. Lance Willett 2013-11-05 16:42:29 +00:00
  • 34fa8af8bb Core Upgrader: Include an unmodified $wp_version in Core_Upgrader::upgrade(). This protects against cases where the global $wp_version has been modified. See #25772 Dion Hulse 2013-11-05 06:22:23 +00:00
  • 18e173ae80 Core Upgrader success statistics: Pass the version of WordPress we're upgrading from, as well as the version being upgraded to. Props nacin. See #25772 for trunk Dion Hulse 2013-11-05 06:19:05 +00:00
  • 83754e1636 Remove dead code from the Plugin Upgrader class. Props jdgrimes. Fixes #25470 Dion Hulse 2013-11-05 05:47:41 +00:00
  • 58e4a21f07 When checking filesystem permissions for core updates, only check the permissions of the files which we need to alter. Props nacin for initial patch. Fixes #25771 for trunk Dion Hulse 2013-11-05 05:42:23 +00:00
  • 43d50e9c9e Add a filter to the Background Updates debug email, matches the filter used on the non-debug post-update emails. Props pento. Fixes #25756 Dion Hulse 2013-11-05 02:14:34 +00:00
  • d8f57f88ad Respect paged when offset is used in WP_Query. Adds unit tests. Scott Taylor 2013-11-05 01:34:44 +00:00
  • 5643e3ca17 Pass $args to the export_wp action in export_wp(), which is currently passed no arguments. Scott Taylor 2013-11-05 01:26:49 +00:00
  • ed22220a0f Cast proper fields to int when returning from wp_get_object_terms(). Add term_taxonomy_id and object_id to the list in sanitize_term() and sanitize_term_field(). Scott Taylor 2013-11-05 01:18:02 +00:00
  • 67443e080c Don't globalize version variables twice. See #23685. Scott Taylor 2013-11-05 00:57:52 +00:00
  • 268667e170 When WordPress is loaded in a function (e.g. unit tests) the variables initialized at the top level aren't globals, but we expect them to be. Explicitly make the version variables global. Scott Taylor 2013-11-05 00:23:38 +00:00
  • 0923b7b93a Category and tag are typically checked before checking for a custom taxonomy. If the global query matches category or tag (even if it also has tax_query set), return category/tag as the queried object, instead of arbitrarily returning the first term in the tax_query stack (typically those added with 'pre_get_posts'). Scott Taylor 2013-11-04 23:53:55 +00:00
  • 5321bc4957 WP_UnitTestCase::go_to() tried its best to clean up global space, but ultimately fell short. Because it was blowing away WP every time it was called, it was dropping all the query vars that were registered for custom taxonomies and custom post types (ouch). Scott Taylor 2013-11-04 22:46:44 +00:00
  • 2f38d2efc6 Move Tests_Query_Conditionals::assertQueryTrue() to WP_UnitTestCase. It should be available to all unit test classes. The conditionals class is huge, other classes are necessary for better coverage. Scott Taylor 2013-11-04 21:55:12 +00:00
  • ecbcfc5a20 Set the default parent id to 0, instead of -1, in Tests_Post_Attachments::_make_attachment(). Prevents Out of range value for column 'post_parent' database error without papering over it in core. Scott Taylor 2013-11-04 21:39:35 +00:00
  • e512f03e75 Twenty Fourteen: update bundled Genericons to the latest version, 3.0.2. Props iamtakashi, closes #25812. Lance Willett 2013-11-04 18:07:18 +00:00
  • 848937c672 Twenty Thirteen: capitalize "Not Found" string for use in a page title, see #24891 and r25907. Lance Willett 2013-11-04 17:56:32 +00:00
  • 6fa1c89458 Pass comment ID and comment post ID to get_comment_class() in WP_Comments_List_Table::single_row(). Sergey Biryukov 2013-11-04 10:59:58 +00:00
  • acc8ac64b8 Fall back to comment author email in get_avatar() if the user who left the comment no longer exists. Sergey Biryukov 2013-11-02 12:19:43 +00:00
  • fcc1bb0b65 Twenty Fourteen: revamp the RTL stylesheet and related cleanup. Props iamtakashi, see #25801. Lance Willett 2013-11-02 04:35:35 +00:00
  • b604102332 Twenty Fourteen: second pass at revamping the main CSS file. Update pattern graphics to fix issue with orientation changes on tablets. Props iamtakashi, fixes #25592. Lance Willett 2013-10-31 04:27:51 +00:00
  • 3c625347e6 Correct $user_id parameter description. props mauryaratan, Corphi. fixes #25774. Sergey Biryukov 2013-10-30 20:17:21 +00:00
  • 90202aed35 Explicitly globalize $is_nginx in vars.php. Andrew Nacin 2013-10-30 19:36:39 +00:00
  • 34139288e8 Twenty Fourteen: JavaScript fixes after running jshint, see r25960: Lance Willett 2013-10-30 18:52:54 +00:00
  • 206d47a9c2 Inline documentation for hooks in wp-admin/network/edit.php and wp-admin/network/users.php. Drew Jaynes 2013-10-30 16:03:14 +00:00
  • 3dc92bdd03 Inline documentation for hooks in wp-admin/nav-menus.php. Drew Jaynes 2013-10-30 15:44:32 +00:00
  • 5c63859ffb Add jshintrc to qunit. Andrew Nacin 2013-10-30 14:38:37 +00:00
  • bc6c0c9b0f Correct @since values for various hooks. fixes #25766. Sergey Biryukov 2013-10-30 03:19:16 +00:00
  • a1fe0926b3 Remove incorrect @return value from status_header(). Rename some variables for clarity. Sergey Biryukov 2013-10-29 22:43:08 +00:00
  • 23ad7058fb Internal linking: Remove explicit orderby, thus allowing the relevancy improvements in #7394 to work. Andrew Nacin 2013-10-29 21:20:59 +00:00
  • 1cce2a89fd PHP4 compatibility for files loaded before we bail. fixes #25760. Andrew Nacin 2013-10-29 20:05:16 +00:00
  • e575c315fb Twenty Fourteen: allow any page to be set as the front page, removing requirement for front-page.php template file. Props iamtakashi, fixes #25685. Lance Willett 2013-10-29 19:05:02 +00:00
  • 6b711ca35e Inline documentation for hooks in wp-admin/edit-form-comment.php. Drew Jaynes 2013-10-29 17:35:13 +00:00
  • 7b05d5c2e7 Twenty Fourteen: get rid of two last cases of clear class value. See #25592. Lance Willett 2013-10-29 16:40:38 +00:00
  • 93b93b103f Twenty Fourteen: implement an alternate "slider" view for home page featured content. Props iamtakashi for the design and implementation. Slider JavaScript code adapted from FlexSlider v2.2.0 props WooThemes and mbmufffin. See #25550. Lance Willett 2013-10-29 16:28:11 +00:00
  • e3e3e1d109 Remove docs suggesting that wp_insert_user() can be used to update an existing user. wp_update_user() should be used instead. fixes #25745. Sergey Biryukov 2013-10-29 14:31:07 +00:00
  • 78f8c980da Use correct variable in WP_Automatic_Updater::send_email(). Andrew Nacin 2013-10-29 13:45:17 +00:00
  • 9b9311ae2b Move the unit test added in [25974] to the more appropriate file. see #25750. Andrew Nacin 2013-10-29 01:47:48 +00:00
  • 2cac0fde8a Avoid resetting the 'hierarchical' argument in get_pages() when 'parent' is -1, the default. Andrew Nacin 2013-10-29 01:46:01 +00:00
  • 4be9031dc3 Widen fields for Quick Edit for the de_DE locale and improve styles for the ru_RU locale. Dominik Schilling (ocean90) 2013-10-28 23:28:32 +00:00
  • ddf0147a4f Move test_get_pages_include_exclude() and test_get_pages_parent() to tests/post/getPages.php. Add a @ticket reference. see [25168] and [25244]. Sergey Biryukov 2013-10-28 21:49:27 +00:00
  • eb01af41c2 Twenty Fourteen: clean up post thumbnail naming. Props iamtakashi, fixes #25718. Lance Willett 2013-10-28 17:57:57 +00:00
  • 01a703070b Twenty Fourteen: Fix gallery posts in the ephemera widget. Props iamtakashi, fixes #25740. Lance Willett 2013-10-28 17:52:45 +00:00
  • bd5ac31911 Twenty Fourteen: display titles for aside, link, and quote format on small screens. Props iamtakashi, fixes #25694. Lance Willett 2013-10-28 17:48:46 +00:00
  • 2e50c871ab Avoid a PHP warning in wp_generate_attachment_metadata() if $metadata is not an array. props asakurayoh. fixes #25649. Sergey Biryukov 2013-10-28 16:42:36 +00:00
  • 030d69717c Inline documentation for hooks in wp-admin/network/settings.php. Drew Jaynes 2013-10-28 15:21:59 +00:00