Commit Graph

  • 2a07fc794e General inline documentation improvements in wp-includes/functions.php. Drew Jaynes (DrewAPicture) 2014-07-07 06:18:05 +00:00
  • f30a20c9a4 TinyMCE wpView: - When a view is selected, pressing the up or down arrow key should move the caret to the block above or below the view. - Selecting some text that touches the view and deleting it should not remove part of the view. - Show/hide the "fake" carets on editor focus/blur. - Don't create new paragraphs before or after a view on pressing the arrow keys or delete key. Paragraphs are created on pressing Enter. Props avryl, see #28595. Andrew Ozz 2014-07-07 01:20:53 +00:00
  • c9f0cb6295 Clarify a string on Add New User screen. Sergey Biryukov 2014-07-07 00:53:54 +00:00
  • b3695a587f Exclude a newline between delimeters from further checks in wptexturize() for better performance. Sergey Biryukov 2014-07-06 08:49:25 +00:00
  • a6ff9013be Introduce wp_dropdown_languages() and use it on general settings. Andrew Nacin 2014-07-05 06:18:50 +00:00
  • 277ada83d8 Bring the language chooser to setup-config.php. Andrew Nacin 2014-07-05 05:13:05 +00:00
  • f25c1e989b Don't include plugin.php twice in setup-config.php. Andrew Nacin 2014-07-05 02:12:47 +00:00
  • d12c520c5e Remove debug remnants, see #28595 Andrew Ozz 2014-07-05 00:24:05 +00:00
  • 4b9c7b3e1d Add 'status-sticky' class in get_post_class() for sticky posts in the admin. Sergey Biryukov 2014-07-05 00:12:46 +00:00
  • c1c0693cee Reinstate 'install_themes_tabs' filter. Sergey Biryukov 2014-07-04 23:57:39 +00:00
  • 359fe16c9c Fix alignment of Advanced Options close toggle arrow in Edit Media dialog. Sergey Biryukov 2014-07-04 23:37:48 +00:00
  • c10391dcbe Fix a regression of positioning in Attachment Display Settings. Sergey Biryukov 2014-07-04 23:28:40 +00:00
  • fbda6f7c0a Add is_customize_preview(), a conditional function to check if the site is being previewed in the Customizer. Sergey Biryukov 2014-07-04 16:16:46 +00:00
  • d075028201 Media Grid: JSHint fixes. Scott Taylor 2014-07-04 05:13:46 +00:00
  • 7438b91f6f Media Grid: Use the proper attachment value for uploadedToTitle. Scott Taylor 2014-07-04 05:03:06 +00:00
  • 9ba94b5c58 Media Grid: for audio and video files with covers, show that instead of the icon. The filename is still present with the extension to identify the type. wonderboymusic 2014-07-04 04:59:01 +00:00
  • ee29246036 Make media grid text fields (data) toggle-able. Checking/unchecking is saved in user settings cookie. Scott Taylor 2014-07-04 04:47:40 +00:00
  • fdb58455f6 TinyMCE: improve the way wpViews work. Add two paragraphs and capture the caret in them on clicking before/after/left/right of a view or moving the caret with the arrow keys, then show a "fake" caret. Andrew Ozz 2014-07-04 03:58:20 +00:00
  • e14d866665 Media grid, round 2. Expect much more to come. Helen Hou-Sandi 2014-07-04 03:38:33 +00:00
  • 9c314d1d00 Make a new file: media-grid.js. This will be way more useful in later commits and help reduce churn and bloat in media-views.js. Scott Taylor 2014-07-04 02:17:22 +00:00
  • b67b45aaa2 The MCE view for galleries needs to read wp.media.galleryDefaults.columns after [28990]. Scott Taylor 2014-07-04 02:05:22 +00:00
  • 038dc75b66 Allow users to override default gallery settings in JS via wp_localize_script(). This is already possible in PHP by filtering shortcode_atts_gallery. Scott Taylor 2014-07-04 02:02:16 +00:00
  • f262fef790 Add more docs for media.view.MediaFrame.Select methods. Scott Taylor 2014-07-04 01:42:27 +00:00
  • 3708cdc7c2 Bring back define( 'WP_INSTALLING', true ); in phpunit/includes/install.php, which was removed in [28965]. tl;dr = wp-cli. Unit tests still pass in multisite because of the skips I added. Scott Taylor 2014-07-04 01:38:43 +00:00
  • f8b878f8da WP_Query::parse_tax_query() has always been documented as protected. Plugins should never have used it. However, it did not have a protected access modifier, so its visibility was public by default. If the access modifier had been present, accessing the method in a plugin would have produced a fatal error. The access modifier was added in [28523], along with magic methods to allow it to be accessed for BC. This one method is problematic because it expects to be passed a reference. The WP_Query::__call() logic does not go out of its way to fix this signature discrepancy, and so a warning is thrown: Parameter 1 to WP_Query::parse_tax_query() expected to be a reference, value given. Scott Taylor 2014-07-04 01:28:02 +00:00
  • 4e8afc6caa Optimize regexp usage in wptexturize() for a "3x Performance Boost." Scott Taylor 2014-07-04 01:14:08 +00:00
  • 4b58f47a5c Add IE11 to the browser whitelist for MediaElement-based MCE views. Scott Taylor 2014-07-04 01:09:25 +00:00
  • 4e3b729b09 If we already have a value for WPLANG when installing, insert this language at the top of the language selector and pre-select it. See #28577 John Blackbourn 2014-07-03 22:55:57 +00:00
  • db8b7380b2 First pass at switching to radio inputs for the install screen language selector. Needs some more work. See #28577. Props jorbin John Blackbourn 2014-07-03 22:53:01 +00:00
  • 35578f8f9a Avoid a warning if the translations API call fails on step 1. Remove assignment inside an if statement. See #28577. John Blackbourn 2014-07-03 22:30:27 +00:00
  • 71704c1156 Remove a toolbar CSS hack for a Chrome bug that no longer appears to exist. props avryl. fixes #28606. see #18868. Helen Hou-Sandi 2014-07-03 20:19:08 +00:00
  • 6d8c6d8728 Don't escape customizer control descriptions, just as section descriptions are not escaped. These are set programmatically, not via user input. props tollmanz. fixes #27981. Helen Hou-Sandi 2014-07-03 20:10:29 +00:00
  • 79dd39c19c Note in the hook docs for preview_post_link that the $post parameter was added. Drew Jaynes (DrewAPicture) 2014-07-03 20:04:56 +00:00
  • a7c3b23f1c Simplify the setup-config.php UI flow and load process. Andrew Nacin 2014-07-03 19:56:37 +00:00
  • 26e262f93d Clarify the inline documentation for plugins_url() to reflect that it also works with mu-plugins. Drew Jaynes (DrewAPicture) 2014-07-03 19:41:23 +00:00
  • b1b454c7a0 Remove backticks on $post variables in some short parameter descriptions. Drew Jaynes (DrewAPicture) 2014-07-03 19:27:54 +00:00
  • 7ffc91fdd6 Fix an incomplete docblock for wp_create_categories() as part of $post/$post_id cleanup. Drew Jaynes (DrewAPicture) 2014-07-03 19:21:34 +00:00
  • c18a28f792 Use the admin scheme for theme preview URLs when installing new themes. See #21919. John Blackbourn 2014-07-03 18:47:33 +00:00
  • 14bfade4ec Correct typo in sanitize_html_class() docblock. John Blackbourn 2014-07-03 16:57:17 +00:00
  • 3adcda996b Improve oEmbed caching. Introduces the concept of a TTL for oEmbed caches and a filter for oembed_ttl. Helen Hou-Sandi 2014-07-03 16:44:15 +00:00
  • ff3644a220 Fix texturization of quotes when enclosed by angle brackets. Sergey Biryukov 2014-07-03 16:21:18 +00:00
  • 09efb2dab9 Prevent sending a 404 status when returning the response for the customize preview, since it causes the jQuery Ajax to fail. Send 200 instead. Sergey Biryukov 2014-07-03 16:10:01 +00:00
  • 8bf7ed77f3 Pass $post object to 'preview_post_link' filter. Sergey Biryukov 2014-07-03 14:41:06 +00:00
  • 16aa589a07 URLs need to be generated, not hard-coded, in user/listAuthors.php test. Scott Taylor 2014-07-03 02:13:08 +00:00
  • 26aa4e4e7f Make sure permalink structure is consistent when running query tests. wonderboymusic 2014-07-03 01:50:02 +00:00
  • f23a5ef832 Setup rewrite changes in tests in a predictable fashion. Don't mix method calls with wrapper function calls. Scott Taylor 2014-07-03 01:42:57 +00:00
  • 73bde8a278 Transient timeouts are untestable when WP_INSTALLING is defined and set to ANY value. Transient timeouts cannot be tested during multisite runs because wpmu_create_blog() sets WP_INSTALLING. I have zero idea how these tests ever passed. Scott Taylor 2014-07-03 01:16:33 +00:00
  • 80a817ebcc Make sure hundreds of canonical tests don't fail in multisite every other time they are run. Scott Taylor 2014-07-03 00:49:32 +00:00
  • 53f98b80b7 Prepend "Draft:" to draft post titles when previewing on the front end, and add a "single-status-$status" class to the body classes for all post statuses. Fixes #28006. Props hlashbrooke John Blackbourn 2014-07-02 22:52:31 +00:00
  • 4379ec80d6 This test in post/revisions.php is too misleading and doesn't work as expected since multiple queries can occur before the one that is intended for testing. Scott Taylor 2014-07-02 19:56:50 +00:00
  • d38227dbae test_wp_get_shortlink() assumes permalink structure is '' when it starts. It is not. Scott Taylor 2014-07-02 19:49:05 +00:00
  • 59b255c445 URLs in unit tests need to be generated, not hard-coded. Scott Taylor 2014-07-02 19:44:08 +00:00
  • 4a480146c0 Avoing a PHP warning in media modal if the attached file does not exist. Sergey Biryukov 2014-07-02 14:36:29 +00:00
  • ec0e2beebb Canonical redirects should only be applied for GET requests. Sergey Biryukov 2014-07-02 14:10:07 +00:00
  • 57029ef3fb Make default 'template' argument of the_taxonomies() and get_the_taxonomies() translatable. SergeyBiryukov 2014-07-02 13:20:02 +00:00
  • 8ee9631bb4 Remove non-breaking spaces from auto update email text. Sergey Biryukov 2014-07-02 12:45:31 +00:00
  • 2d9bba0a5c Specify the $single parameter default for get_post_meta(). Docs spacing. Drew Jaynes (DrewAPicture) 2014-07-02 03:29:33 +00:00
  • 65106eff1f Mark $single parameter of get_post_meta() as optional. Sergey Biryukov 2014-07-02 03:25:28 +00:00
  • 00a3c15185 Reorder test functions in term.php for consistency. Add @ticket references. Sergey Biryukov 2014-07-02 01:49:41 +00:00
  • 8e2098d706 Fix parameter description for $append in wp_set_object_terms() inline docs. Drew Jaynes (DrewAPicture) 2014-07-02 01:38:22 +00:00
  • 2ce93f915d Clarify the docs and add more unit tests for wp_set_object_terms(). Sergey Biryukov 2014-07-02 01:27:07 +00:00
  • c6b8bae1e8 Remove duplicate of the 'oembed_providers' filter accidentally introduced in [28949]. Drew Jaynes (DrewAPicture) 2014-07-02 00:33:11 +00:00
  • 0f20132801 Introduce an annotated list of oEmbed providers, their flavors, whether they support SSL, and when they were added to the oembed_providers filter docs. Drew Jaynes (DrewAPicture) 2014-07-02 00:18:12 +00:00
  • 0d2817bf9e Simplify a condition in get_sample_permalink_html(). Sergey Biryukov 2014-07-02 00:10:13 +00:00
  • 3fe0336a63 Simplify logic in get_sample_permalink_html(), remove duplicated code. Sergey Biryukov 2014-07-02 00:03:53 +00:00
  • 7a8bedaf2a Display a correct preview link for drafts when permalinks are disabled. Sergey Biryukov 2014-07-01 23:55:58 +00:00
  • 339a0e87b7 Use correct variable. Sergey Biryukov 2014-07-01 23:29:03 +00:00
  • 44f1a76a85 Add a filter for wp_editor() settings. Sergey Biryukov 2014-07-01 23:02:58 +00:00
  • 9ab7f4b144 Avoid polluted $table_prefix and $_wp_switched_stack in multisite unit tests. Add WP_TESTS_TABLE_PREFIX in bootstrap.php to ensure the original value for $table_prefix is always available. Scott Taylor 2014-07-01 18:51:46 +00:00
  • 99d75b6acb Make wp_kses_no_null() remove any invalid control characters in a string. Sergey Biryukov 2014-07-01 18:00:50 +00:00
  • d6b9a469fe Twenty Fourteen: Fix display of center-aligned images with captions in TinyMCE. Sergey Biryukov 2014-07-01 16:40:30 +00:00
  • c6c89eed8a Only apply metabox handle styles and JS events to .postbox .hndle, as opposed to all h3s in a .postbox. Helen Hou-Sandi 2014-07-01 16:22:32 +00:00
  • 92a7523362 Asterisk is an allowed character in a URI and should not be stripped out by wp_sanitize_redirect(). Sergey Biryukov 2014-07-01 15:55:04 +00:00
  • ef5e962cfb Add @since for get_translations_for_domain(). Sergey Biryukov 2014-07-01 15:28:55 +00:00
  • fd4ad167b2 Some fixes for get_weekstartend() docs. Sergey Biryukov 2014-07-01 14:58:37 +00:00
  • ecb39eaccb General inline documentation improvements in wp-includes/functions.php. Drew Jaynes (DrewAPicture) 2014-07-01 01:43:48 +00:00
  • 8b0ef058f3 WP_Date_Query: The inclusive logic should include all times within the date range. Sergey Biryukov 2014-07-01 01:17:39 +00:00
  • 416e5bcb96 Move ms-load.php and ms-default-constants.php inclusion back to ms-settings.php to avoid breaking WP-CLI. Sergey Biryukov 2014-06-30 23:49:34 +00:00
  • 4114ff052f Remove free-spacing modifier and extra spaces from wp_extract_urls() pattern. Sergey Biryukov 2014-06-30 23:08:48 +00:00
  • df6434b9a7 TinyMCE: - Update the 'paste' plugin including cb36a78e54 - Better filtering of WebKit inserted &nbsp. - Remove empty paragraphs and all inline styles on pasting but preserve styles added in the editor. This brings back the WP 3.8 behavior and makes pasting in all browsers work the same. See #28016 Andrew Ozz 2014-06-30 21:54:20 +00:00
  • 5aeaa14d9a Customizer: Reverse arrows in RTL. See #27406. Dominik Schilling (ocean90) 2014-06-30 19:59:51 +00:00
  • 6f51a5f972 Customizer: Support textarea and commonly-used input types as control type in WP_Customize_Control. Add input_attrs property to support custom input attributes. Dominik Schilling (ocean90) 2014-06-30 19:47:56 +00:00
  • 01441b8c05 Remove obsolete comment in wptexturize(). Scott Taylor 2014-06-30 17:58:14 +00:00
  • 4e56aa8da0 Replace a redundant ! is_preview() check with a more appropriate one. Sergey Biryukov 2014-06-30 17:18:23 +00:00
  • 4f7bc0410f Support descriptions for individual customizer controls. Helen Hou-Sandi 2014-06-30 15:54:04 +00:00
  • a756c57fd9 Add @expectedIncorrectUsage to Tests_Taxonomy::test_register_long_taxonomy(). Sergey Biryukov 2014-06-30 15:09:52 +00:00
  • 5235448195 Avoid overwriting $error global with an interim variable. Sergey Biryukov 2014-06-30 14:38:21 +00:00
  • 04429059b0 Document @return value for load_plugin_textdomain(). props jdgrimes. Sergey Biryukov 2014-06-30 13:51:11 +00:00
  • 4176aa347e Pass $url parameter to wp_embed_defaults() and 'embed_defaults' filter. Sergey Biryukov 2014-06-30 11:15:33 +00:00
  • 0b9fb4f148 Avoid a PHP notice in wp_new_comment() if user ID is not passed. Sergey Biryukov 2014-06-30 11:02:10 +00:00
  • 1d38109297 Force a separator in get_wp_title_rss() if it was inadvertently filtered out by the theme. Sergey Biryukov 2014-06-30 10:10:57 +00:00
  • 913392b9a9 Display consistent preview links for drafts. Sergey Biryukov 2014-06-30 10:02:01 +00:00
  • df6eb733eb Secure embeds in the editor (first run): - When the user pastes an embeddable http URL, try to get the https embed. - If an embed provider doesn't support ssl embeds, show a placeholder/error message. - Revise the way we return error messages. See #28195, #28507. Andrew Ozz 2014-06-30 05:48:16 +00:00
  • 99faddd819 General inline documentation improvements in wp-includes/functions.php. Drew Jaynes (DrewAPicture) 2014-06-30 03:55:03 +00:00
  • 0c8b5722d2 Improve inline documentation for date_i18n(), _http_build_query(), wp_checkdate(), and wp_auth_check(). Drew Jaynes (DrewAPicture) 2014-06-30 03:46:22 +00:00
  • 29aabd08a9 Prevent bulk actions from being performed when Filter button is clicked. Sergey Biryukov 2014-06-30 01:09:25 +00:00
  • 7584b25252 Normalize 'user_id' and 'user_ID' values in wp_new_comment() before passing the comment data to 'preprocess_comment' filter. Sergey Biryukov 2014-06-30 00:40:51 +00:00
  • 923becb506 Revert [28911] for performance concerns. Scott Taylor 2014-06-29 23:42:45 +00:00
  • 11da6abc57 Allow comments in the trash to marked as spam. Scott Taylor 2014-06-29 23:18:24 +00:00
  • be32c3485a Add a function, get_comments_number_text(), that returns instead of echoing. comments_number() wraps it. Scott Taylor 2014-06-29 23:12:34 +00:00