Commit Graph

  • 723927ca74 Adjust CSS for "Moved to the trash" message for a pingback in the dashboard. Scott Taylor 2014-06-24 00:02:17 +00:00
  • 848034a190 Use unobtrusive JS for Comment list table row actions. Scott Taylor 2014-06-23 23:54:28 +00:00
  • ee307dc160 Use assertCount() for consistency with other tests. Sergey Biryukov 2014-06-23 22:26:12 +00:00
  • 2120ede170 Remove mbstring_binary_safe_strlen(). Use mbstring_binary_safe_encoding() and reset_mbstring_encoding() directly. Sergey Biryukov 2014-06-23 22:20:23 +00:00
  • 0adec3db8a Use the proper height property when calculating video size in wp_underscore_video_template(). Scott Taylor 2014-06-23 20:34:14 +00:00
  • 4fd715c937 Introduce a binary-safe wrapper for strlen() and use it in seems_utf8(), utf8_uri_encode(), and wp_read_image_metadata(). Sergey Biryukov 2014-06-23 14:47:08 +00:00
  • b11b6f2f2b Simplify the code for calculating plugin API check timeout. Sergey Biryukov 2014-06-23 14:30:14 +00:00
  • 21cf4d1ab4 Don't kill an empty search query. Sergey Biryukov 2014-06-23 13:33:39 +00:00
  • f7d7ecd0a6 Prevent multiple hierarchical posts with the same slug from being displayed in single post template. Sergey Biryukov 2014-06-23 13:14:39 +00:00
  • 1c7bfc7ed1 Revert [28776] and use a correct variable instead. Sergey Biryukov 2014-06-22 22:12:47 +00:00
  • 256de085ec Fix MediaElement i18n. Sergey Biryukov 2014-06-22 14:15:55 +00:00
  • f393fecbc5 Add @ticket references. Sergey Biryukov 2014-06-22 01:40:38 +00:00
  • 562d64a4a3 Improve Travis CI configuration for better performance. Scott Taylor 2014-06-21 20:05:19 +00:00
  • 72a61e941d Add a grunt jshint:plugins task. Scott Taylor 2014-06-21 20:02:47 +00:00
  • 5c48c4f8a8 Allow wp_die() to die in plain text when running the test suite. Scott Taylor 2014-06-21 19:59:28 +00:00
  • ce3248c482 Update phpunit grunt task to not use deprecated util package. Run npm install or sudo npm install to get the updates. Scott Taylor 2014-06-21 19:44:26 +00:00
  • 31da18f841 TinyMCE: revert 158b742410 and 576fa77aa2 as they may cause selection restore problems in old IE. See #28391. Andrew Ozz 2014-06-21 01:14:43 +00:00
  • c45a47efdd Stop denying wp-includes/* in our default robots.txt. Andrew Nacin 2014-06-20 21:01:29 +00:00
  • 18d069703b Fix documentation for wp_create_nonce() which wrongly suggests these tokens are actually numbers used once. Andrew Nacin 2014-06-20 20:46:13 +00:00
  • 84fb91f383 Don't annotate $wp_error twice in login_header() docs. $wp_error is always expected to be of type WP_Error. Scott Taylor 2014-06-20 19:18:25 +00:00
  • 304f4f5ba9 Posts in the Trash should not drag attachment pages down with them. Scott Taylor 2014-06-20 19:13:39 +00:00
  • e447c8f823 Add Animoto to the list of oEmbed providers. Example video: http://animoto.com/play/MlRRgXHhoT8gOZyHanM6TA. Scott Taylor 2014-06-20 18:56:11 +00:00
  • 4540455f95 Whitespace in navMenuL10n after [28707]. Scott Taylor 2014-06-20 18:29:44 +00:00
  • a7c1728f2e Reinstate the changes from [28579] with some adjustments: Scott Taylor 2014-06-20 18:26:17 +00:00
  • 05abd7e56f Cleanup wp_widget_rss_form() after [28734]. "$$input used sanitized variables which contained actual values, unlike $inputs[$input] which in that context contains data about which input fields are hidden." Scott Taylor 2014-06-20 17:28:12 +00:00
  • 76ccf2a956 Remove unused globals from link-parse-opml.php after [28743]. Scott Taylor 2014-06-20 17:25:47 +00:00
  • 33275a0826 Cleanup after [28671]: * Set better defaults in paginate_links(), so that themes don't have to calculate them on their own, like Twenty Fourteen does now. * Don't set page 1 to ?page=1 or /page/1/ - that will force a canonical redirect. * Add and cleanup unit tests Scott Taylor 2014-06-20 17:11:14 +00:00
  • eb289835f7 Further adjustments after [8364], listen to an editor instance event instead of delegating a body click when attempting to pause all players belonging to a particular MCE view. Scott Taylor 2014-06-20 16:29:47 +00:00
  • 5ec545d5ab Revert [28613] and [28664]. A good idea, but too much BC baggage. Scott Taylor 2014-06-20 16:20:35 +00:00
  • dbc30e94b3 Increase the timeout for plugin and theme update checks based on how many are being checked. Props dd32. Fixes #25788 John Blackbourn 2014-06-19 23:20:15 +00:00
  • 036c2b5fca Remove SSL verification by default for requests to wp-cron.php. Props sivel, rhurling. Fixes #12609. John Blackbourn 2014-06-19 22:52:35 +00:00
  • e27b672b22 Narrower screen when choosing a language. see #28577. Andrew Nacin 2014-06-19 04:46:40 +00:00
  • aa6ef01298 Fix variable usage in new language install choices. see #28577. Andrew Nacin 2014-06-19 04:36:29 +00:00
  • ae2cce3f64 Restore the ability to pass classes to admin menu submenu items, important for the Customize link. Accidentally left out in [24048]. fixes #28583. Helen Hou-Sandi 2014-06-19 02:17:08 +00:00
  • 4bee2a9c4a Fix copy/paste error in a comment. Sergey Biryukov 2014-06-19 01:35:28 +00:00
  • 4306de30e3 Move preg_match() that should only run once out of the loop. Sergey Biryukov 2014-06-19 00:00:27 +00:00
  • 9642d17ff8 Diambiguate type and shortcode in TinyMCE view classes and their attached view.View class. Has the added feature of not causing JS errors. Scott Taylor 2014-06-18 23:02:10 +00:00
  • 39cf46851b Allow a language to be chosen before installing WordPress. First pass. Andrew Nacin 2014-06-18 19:57:21 +00:00
  • 0688f9eb49 In wptexturize() + tests: * Allow well-formed HTML inside of shortcode attributes * Restrict recursion. HTML is allowed but ignored. * Do not allow exotic HTML comments in shortcode attributes. * Continue to ignore the [ and ] chars if they appear in any HTML attribute. * Update related regex patterns. * Update unit tests. Scott Taylor 2014-06-18 19:48:46 +00:00
  • 6719d08d2d Revert [28766]. Sergey Biryukov 2014-06-18 02:22:45 +00:00
  • 9561db4dee Don't add # to URL when clicking 'OK' without changing the permalink. Sergey Biryukov 2014-06-18 00:28:35 +00:00
  • 550d0f0aea Don't generate adjacent links in wp_head() for attachments. Sergey Biryukov 2014-06-18 00:04:14 +00:00
  • 566fd5da8d Pass WP_Customize_Setting instance to 'customize_save_*' action. Sergey Biryukov 2014-06-17 23:57:19 +00:00
  • b8fd9d997e TinyMCE: update to 4.0.28+. Includes all changes until 09-06-2014: 32cb108d41. Changelog: 32cb108d41/changelog.txt. See #28391. Andrew Ozz 2014-06-17 23:49:00 +00:00
  • f1172ba195 Pass WP_Customize_Setting instance to 'customize_preview_*' and 'customize_update_*' actions. Sergey Biryukov 2014-06-17 23:34:31 +00:00
  • 63596d6868 Prevent bulk actions from being performed when Filter button is clicked. Sergey Biryukov 2014-06-17 22:16:11 +00:00
  • b11edb94d9 Fix abbreviations mixed with quotes, example: '99% of people'. Add/alter unit tests. Scott Taylor 2014-06-17 20:18:38 +00:00
  • 1f4d925102 In wptexturize(), adjust for the treatment of abbreviated years at the end of quotations. Silence some unit tests that have never passed and may no longer be applicable. Scott Taylor 2014-06-17 20:13:54 +00:00
  • 6f658551d6 Add unit tests to confirm that --- is properly converted to — by wptexturize() where appropriate. Scott Taylor 2014-06-17 18:06:12 +00:00
  • 14f3b15d69 Add Unit Tests for i18n and wptexturize(). Don't confuse closing single quotes and apostrophes. Scott Taylor 2014-06-17 17:56:08 +00:00
  • 03a6e5f1fb wptexturize() adjustments: * Only place an apostrophe before a number when it has exactly two digits. * Never match '99' with the single prime pattern. * Always assume '99' is an abbreviated year at the end of a quotation. * Add unit tests. * Resolves the unit test broken in [28721] for #8775. Scott Taylor 2014-06-17 17:40:07 +00:00
  • abddfc4b99 Prevent get_post_class() and get_body_class() from returning duplicate classes. Sergey Biryukov 2014-06-17 15:17:36 +00:00
  • 177d39a15b Fix labels on installation screen. Sergey Biryukov 2014-06-17 14:36:22 +00:00
  • f738d86233 Twenty Fourteen: fix masthead behavior in IE when a custom header image is present. Props Kau-Boy, lancewillett. Fixes #27220. Lance Willett 2014-06-16 18:21:01 +00:00
  • 106e1dbedb Use the value of WP_TESTS_DOMAIN in some unit tests. Dominik Schilling (ocean90) 2014-06-16 15:07:37 +00:00
  • 87f306aa81 Twenty Fourteen: Adjust spacing for menu toggle button to avoid overflowing accented characters. Dominik Schilling (ocean90) 2014-06-16 14:00:15 +00:00
  • ed4a159498 TinyMCE wpView: fix selecting all of view's "text" in Safari, props avryl, fixes #28088 Andrew Ozz 2014-06-16 00:11:45 +00:00
  • ed07c215dc wpView: improve handling of embed errors/error messages, see #28195 Andrew Ozz 2014-06-15 22:52:45 +00:00
  • 084cc046ac Correct @return value for term_exists(). Sergey Biryukov 2014-06-14 14:56:21 +00:00
  • 69ecca0b6a Add "edit" mode for [embed] and URL media previews. Scott Taylor 2014-06-13 21:41:20 +00:00
  • a67759c545 wpLink: use simpler expressions to detect email address or URL. We are not validating user input here, just suggesting. Sergey Biryukov 2014-06-13 21:25:16 +00:00
  • 8ed6fd2d50 wpLink: use the proper instance of the editor when looking at the selection. Move the email and URL regexp to variables. See #19992 Andrew Ozz 2014-06-13 21:13:15 +00:00
  • 65803684f4 Add a new 'Beta Testing' tab on the plugin installer, for features as plugins such as Press This. Andrew Nacin 2014-06-12 18:08:56 +00:00
  • 09d4b541fb wpView: - Don't wrap single-line URLs in [embed]. Use them directly in generating a view. - If the embedding HTML contains a script, "sandbox" it in an iframe to prevent it from changing the editor DOM. - Automatically add toolbar and overlay when needed. - Try to embed single-line URLs only if they are pasted in an empty paragraph. Props avryl, see #28195 Andrew Ozz 2014-06-12 02:48:17 +00:00
  • e0a089d9d8 Don't use variable variables in touch_time(). See #27881. Scott Taylor 2014-06-11 21:04:56 +00:00
  • 61c1da236c Don't use variable variables in wp_reset_vars(). Test by searching in list tables, etc. Scott Taylor 2014-06-11 19:59:18 +00:00
  • eb23569835 Don't use variable variables in user-new.php. Test by causing errors when creating a new user. Scott Taylor 2014-06-11 19:53:25 +00:00
  • 6e159bb671 Don't use variable variables in setup-config.php (Step 2). See #27881. Scott Taylor 2014-06-11 19:40:27 +00:00
  • 98f3cd0548 OPML: * Learn how OPML works, cry. * Remove unused globals in startElement() * Stop using variable variables in startElement() Scott Taylor 2014-06-11 19:30:26 +00:00
  • 4ccb011960 Don't use variable variables in wp_dashboard_plugins_output(). Variable variables aren't the worst thing about this function. Scott Taylor 2014-06-11 18:55:00 +00:00
  • 0675902ec8 Don't use variable variables in wp_salt(). Scott Taylor 2014-06-11 18:35:42 +00:00
  • 0d0cdfe1c7 Don't use variable variables in wp_insert_user(). Add a local array, $meta, to provide substantial disambiguation among variables. Scott Taylor 2014-06-11 18:20:57 +00:00
  • 35af75077b Don't use variable variables in plugins_url(). Scott Taylor 2014-06-11 18:17:52 +00:00
  • ce8cff84aa Don't use variable variables in WP_Comment_Query::query(). Scott Taylor 2014-06-11 17:57:39 +00:00
  • f2b3e0c4e4 Don't use variable variables in WP_Query::get_posts(). Scott Taylor 2014-06-11 17:49:07 +00:00
  • 5fe5f8f3ad Don't use variable variables in get_terms(). Scott Taylor 2014-06-11 17:40:11 +00:00
  • e535d7fe6e Improve inline documention for set_transient() and set_site_transient() to specify the 45- and 40-character limits for their respective transient name values. Drew Jaynes (DrewAPicture) 2014-06-11 16:32:06 +00:00
  • fa03901cd8 Don't use a variable variable in wp_widget_rss_form(). Sidenote: the logic to show hidden fields is bizarre - would result in duplicate fields. Scott Taylor 2014-06-11 16:17:56 +00:00
  • eadc17c4f9 In wp_insert_term(), when no slug is provided, check for an existing term by name. If it exists, use that slug instead of calling sanitize_title( $name ). Scott Taylor 2014-06-11 02:27:36 +00:00
  • 1b07af046f Fix the layout of the Image Details modal, props gcorne, see #24716 [28682] Andrew Ozz 2014-06-11 00:22:53 +00:00
  • f02e878bb0 Only include relevant post authors in WXR exports. Fixes #20206. Props jeremyfelt. John Blackbourn 2014-06-10 19:14:26 +00:00
  • 827cf97b00 Add screen reader labels to the date inputs on the post editing screen. Fixes #25461. Props frank-klein. John Blackbourn 2014-06-10 18:49:26 +00:00
  • 121726df31 edit.php?post_type=attachment should redirect to upload.php. Without the redirect, the user is presented with an empty list table. There are probably other issues to address overall, but this accomplishes what the ticket wants. Scott Taylor 2014-06-10 18:47:57 +00:00
  • f54bb586c8 A little more abstraction in the WP_oEmbed class. Fixes #24381. John Blackbourn 2014-06-10 18:13:43 +00:00
  • 821c052473 In wptexturize(), ensure that texturization does not corrupt contents of HTML elements, HTML comments, and smartcode attributes. Scott Taylor 2014-06-10 14:33:16 +00:00
  • 9e347a40c2 In wptexturize(), allow dashes before and after curly quotes. Example: This is what she said---"Wow that is cool." Scott Taylor 2014-06-10 14:21:36 +00:00
  • 66b539bdab wptexturize() should handle apostrophes before primes. Scott Taylor 2014-06-10 14:13:52 +00:00
  • da0b2f9769 Improve inline documentation for the wp_spaces_regexp filter. Drew Jaynes (DrewAPicture) 2014-06-10 06:45:38 +00:00
  • 0d0f24fbbb Add inline documentation for the run_wptexturize filter. Drew Jaynes (DrewAPicture) 2014-06-10 06:28:19 +00:00
  • fe2ca3965e Set a variable for like-escaped string before looping in WP_User_Query::get_search_sql(). Scott Taylor 2014-06-10 02:44:35 +00:00
  • 013f3f14e3 Fix curly quotes around numbers when applicable. Scott Taylor 2014-06-10 02:42:35 +00:00
  • ce59109919 In WP_Comment_Query::get_search_sql(), don't double-like-escape. Scott Taylor 2014-06-10 02:19:30 +00:00
  • a66f776684 In wptexturize(), don't convert C-style hexadecimals to mathematical ×. Scott Taylor 2014-06-10 02:17:24 +00:00
  • f9bcf40db7 In wptexturize(), treat   like whitespace when texturizing hyphens. Scott Taylor 2014-06-10 02:08:05 +00:00
  • db7816dd0c smilies_init(), treat   like whitespace when converting smilies. Scott Taylor 2014-06-10 02:02:23 +00:00
  • 97bacb3121 Ensure that shortcode_unautop() treats   like whitespace. shortcode_unautop() and wptexturize() now use wp_spaces_regexp() instead of raw regex. Scott Taylor 2014-06-10 01:54:11 +00:00
  • 8ec05a3926 Add a $run_texturize static var to wptexturize() that is filterable via a new run-once filter: 'run_wptexturize'. Allows user to disable texturization. Scott Taylor 2014-06-10 01:45:28 +00:00
  • cfe11de507 Fix a unit test for the now deprecated function like_escape(). Scott Taylor 2014-06-10 01:21:33 +00:00
  • 4459acb59d Remove unnecessary ->test() method from Tests_Canonical_HTTPS to avoid PHP error. Scott Taylor 2014-06-10 01:09:43 +00:00
  • 84ad12b439 Replace all uses of like_escape() with $wpdb->esc_like(). Scott Taylor 2014-06-10 00:43:32 +00:00