Commit Graph

  • 2a551f57a4 LIKE escape sanity: Scott Taylor 2014-06-10 00:29:35 +00:00
  • 12ea157f2c Correct the deprecated function parameter in url_is_accessable_via_ssl(). See #19555. John Blackbourn 2014-06-09 22:26:27 +00:00
  • 7a220d7e95 Deprecate url_is_accessable_via_ssl(). Fixes #19555. Props jgadbois. John Blackbourn 2014-06-09 22:02:50 +00:00
  • b7d411e724 Add a function: wp_spaces_regexp(). It is not used yet. Scott Taylor 2014-06-09 19:29:55 +00:00
  • faf208de38 Live update the menu item title when the user is editing the "Navigation Label" field. Scott Taylor 2014-06-09 18:38:29 +00:00
  • 12e325582a Update unit tests to reflect: Scott Taylor 2014-06-09 15:58:16 +00:00
  • 69384c40a3 When a plain URL or email address is selected in the editor and "Insert/edit link" is clicked, pre-populate the URL field with the URL or mailto:<email-address>. Scott Taylor 2014-06-09 15:34:21 +00:00
  • 65890b4858 Add some basic unit tests for HTTPS canonical redirects. See #27954. John Blackbourn 2014-06-09 01:05:46 +00:00
  • 70390c48f5 Properly indicate with the cursor that the editor can be vertically resized using the entire info bar, not just the handle displayed in the corner. Helen Hou-Sandi 2014-06-08 19:47:00 +00:00
  • 3462f4d964 Twenty Twelve: bump JS version after r28700 change. See #24767. Lance Willett 2014-06-08 19:20:48 +00:00
  • 4083df4b38 Twenty Thirteen: adjust background size of header image(s) for small devices. Props senlin, fixes #26856. Lance Willett 2014-06-08 19:12:46 +00:00
  • 1ff9d938af Twenty Twelve: make submenu links work correctly on tablets. Props tar.gz, purzlbaum, DavidTheMachine. See #24767. Lance Willett 2014-06-08 18:59:45 +00:00
  • 6779256079 Twenty Thirteen: make submenu links work correctly on tablets. Props tar.gz, purzlbaum, DavidTheMachine. See #24767. Lance Willett 2014-06-08 18:47:58 +00:00
  • 7a53e007ec Twenty Fourteen: fix menu toggle display on older Android devices. Props obenland, DavidTheMachine. Fixes #27456. Lance Willett 2014-06-08 18:23:06 +00:00
  • dfffa2cffd Fix JSHint error. Sergey Biryukov 2014-06-08 12:32:50 +00:00
  • 88e8720018 Use get_pages() instead of a raw SQL query in get_body_class(). Sergey Biryukov 2014-06-07 03:21:46 +00:00
  • 40a7bccdc1 Include *.yml coding standards in .editorconfig. Sergey Biryukov 2014-06-06 22:05:25 +00:00
  • 36bf68f86f Twenty Fourteen: first pass at better Audio/Video player styling with genericons. Props celloexpressions, see #26469. Lance Willett 2014-06-06 18:56:18 +00:00
  • abef8628f5 Twenty Thirteen: update to Genericons 3.0.3. Props celloexpressions, lancewillett. Closes #25391. Lance Willett 2014-06-06 18:21:42 +00:00
  • d99120e86b Twenty Fourteen: update to Genericons 3.0.3. Props celloexpressions, closes #28456. Lance Willett 2014-06-06 17:35:24 +00:00
  • d17b15c793 Twenty Fourteen: Apply max-width values to avoid site title breaking the layout in small screens. Props sixhours, rclations. See #28237. Lance Willett 2014-06-06 17:30:38 +00:00
  • 0a0c1f9567 Twenty Fourteen: fix playlist track color in content sidebar. Props celloexpressions, fixes #28457. Lance Willett 2014-06-06 17:21:53 +00:00
  • 60cf850c00 As per @gcorne's suggestion, when calling wp.mce.views.register(), automatically set shortcode equal to the passed type in the set of default args instead of introducing a type property. It is still overrideable by the args that are passed. Scott Taylor 2014-06-06 14:21:12 +00:00
  • 655d03da0a Improve inline doc descriptions in media-views.js. wonderboymusic 2014-06-06 14:12:03 +00:00
  • 67639d7e91 wpView: fix deselecting a view when clicking outside the iframe body. Props avryl, fixes #28268 Andrew Ozz 2014-06-06 05:03:33 +00:00
  • b1b0e54f7f wpView: fire a nodeChanged event after selecting a view so the editor UI gets updated. Props avryl, fixes #28385 Andrew Ozz 2014-06-06 04:42:34 +00:00
  • 319299d42b TinyMCE: remove &nbsp from empty paragraphs inside the visual editor, props avryl, fixes #28282 Andrew Ozz 2014-06-06 04:19:09 +00:00
  • 73e4f3e13b wpView: use data-mce-selected instead of adding a class to mark a view as selected. This prevents adding an unneeded undo level. Props avryl, fixes #28313 Andrew Ozz 2014-06-06 02:11:02 +00:00
  • 6228058b64 Fix JS error in tmpl-editor-gallery, 'string'.trim() is not available in IE < 9. See #28089 Andrew Ozz 2014-06-06 01:49:44 +00:00
  • 3d9fc450b2 Grid view for the media library, first pass. This is alpha; expect imperfection. We will be iterating further. Helen Hou-Sandi 2014-06-05 22:00:24 +00:00
  • c7c1a4a88a Remove one-time variable from add_settings_error(). Sergey Biryukov 2014-06-05 18:28:15 +00:00
  • c18f082b15 Simplify the creation of MCE views somewhat: Scott Taylor 2014-06-05 17:26:24 +00:00
  • 504f5ad680 Deprecate get_all_category_ids(). Suggest get_terms() as a replacement. Sergey Biryukov 2014-06-05 16:25:01 +00:00
  • 2ed8b8578c Remove closing PHP tags from the rest of index.php files in wp-content, for consistency with wp-content/index.php. Sergey Biryukov 2014-06-05 15:58:46 +00:00
  • 83bffbc6c7 Correct @return value for get_children(). Sergey Biryukov 2014-06-05 15:52:51 +00:00
  • ff3f4e888f Add a note about return value in case of an expired transient to get_transient() and get_site_transient(). Sergey Biryukov 2014-06-05 15:33:30 +00:00
  • 60a49287f6 Media modal documentation: Scott Taylor 2014-06-05 14:53:44 +00:00
  • 0dcce859fb Force SSL admin when siteurl is explicitly configured with HTTPS. Andrew Nacin 2014-06-05 14:08:11 +00:00
  • 7f3b20c45d Remove redundant 'Visit author homepage' title attributes for plugins and themes. Sergey Biryukov 2014-06-05 04:51:55 +00:00
  • c556e74943 wp_insert_comment() and wp_new_comment() should check if the comment was successfully inserted into the database. Sergey Biryukov 2014-06-05 04:37:02 +00:00
  • 4fde71e75d Avoid an empty href attribute in paginate_links(). Add unit tests. Sergey Biryukov 2014-06-05 02:09:12 +00:00
  • 5c071dbc16 Add a filter to human_time_diff(). Sergey Biryukov 2014-06-05 00:38:33 +00:00
  • f54a73f637 Add 'wp_title_parts' filter to wp_title(). Sergey Biryukov 2014-06-05 00:27:37 +00:00
  • d33d83495c Move is_admin check to a more appropriate place. Sergey Biryukov 2014-06-04 23:46:39 +00:00
  • 0b5eac467f Avoid a PHP notice when using WP_Query::get_queried_object() in pre_get_posts action. Sergey Biryukov 2014-06-04 23:42:09 +00:00
  • 2948b6d35a Prevent admin breakage for s in WP_Query after [28623]. Scott Taylor 2014-06-04 20:02:46 +00:00
  • 577d223715 Wrap individual meta query WHERE clases in parens, missed in 28659. Scott Taylor 2014-06-04 18:20:59 +00:00
  • ee9f2e48bb After [28613], also kill queries that explicityly pass empty arrays to category__in, tag__in, tag_slug__in, and author__in to WP_Query. Scott Taylor 2014-06-04 17:49:26 +00:00
  • e0e0685ebd Twenty Fourteen: apply .widget input and textarea styles only if they are inside .widget-area. Props jesin, fixes #27677. Lance Willett 2014-06-04 17:33:42 +00:00
  • 7e678bbfce Twenty Thirteen: fix layout issue with search form in older versions of Safari and Android. Fixes #24192, props iljoja. Lance Willett 2014-06-04 17:31:15 +00:00
  • 4cfc6c0cb0 Twenty Fourteen: add documentation for global variables used in twentyfourteen_wp_title(). Closes #28421. Lance Willett 2014-06-04 17:14:24 +00:00
  • d4768ff0fe Improve inline documentation for the __construct() and add() methods in WP_Error class. Drew Jaynes (DrewAPicture) 2014-06-04 06:05:46 +00:00
  • 1ffe74ad6f Fix SQL generation when meta_query has an 'relation' => 'OR' for its queries and wants to 'orderby' => 'meta_value'. Scott Taylor 2014-06-04 05:47:19 +00:00
  • 24b3ed214e Make sure to use 3-digit x.x.x style for two 3.9.0 @since versions. Drew Jaynes (DrewAPicture) 2014-06-04 05:34:37 +00:00
  • 85961d28df Mark the MYSQL_NEW_LINK constant as deprecated in 3.9+ as no equivalent to the $new_link parameter exists in mysqli_* functions. Drew Jaynes (DrewAPicture) 2014-06-04 05:00:00 +00:00
  • 9232548142 Improve inline documentation for wp-includes/load.php. Drew Jaynes (DrewAPicture) 2014-06-04 04:11:21 +00:00
  • b884487767 Be more specific that $post_id does not default to the ID of the global $post in some cases. Drew Jaynes (DrewAPicture) 2014-06-03 04:51:05 +00:00
  • d068c888f3 Ensure $post_id is documented as optional where applicable. Drew Jaynes (DrewAPicture) 2014-06-03 04:43:47 +00:00
  • 9bb9177199 Make sure $post is properly documented as optional where applicable. Drew Jaynes (DrewAPicture) 2014-06-03 03:52:46 +00:00
  • 6a9c55cd9f Because of YouTube's overwhelming dominance in the online video space, we should help our users who paste bad URLs when possible. It is easy to fix http://youtube.com/embed/acb1233 URLs by turning them into http://youtube.com/watch?v=abc1233 embeds using an embed handler (we already have one to fix Google Video embeds). Scott Taylor 2014-06-02 01:21:13 +00:00
  • 9953e4ddaf Add oEmbed support for TED talks. Sergey Biryukov 2014-06-02 00:45:12 +00:00
  • 174af6cca4 In the spirit of [27622], add a few CSS rules to ensure that videos will be responsive, regardless of theme. Scott Taylor 2014-06-02 00:39:47 +00:00
  • 58690d7b97 In WPPlaylistView::ended(), at the end of a playlist, set the index to 0 and call ->setCurrent() instead of ->loadCurrent() so that the first track is properly highlighted. Scott Taylor 2014-06-02 00:26:24 +00:00
  • d4b336ded2 Fix typo in mbstring_binary_safe_encoding() description. Sergey Biryukov 2014-06-01 05:05:44 +00:00
  • 4ecfd017b8 Capitalize 'ID' correctly to avoid random failures of Tests_Tax_Query::test_term_taxonomy_id_field_no_taxonomy(). Sergey Biryukov 2014-06-01 03:17:16 +00:00
  • e8e39d212b Plugin activation/deletion errors should be styled as such. Sergey Biryukov 2014-05-31 20:09:26 +00:00
  • f48c3b9582 Twenty Fourteen: change hardcoded pagination base to use the WordPress Rewrite object's pagination_base value instead. Document global variable usage properly. Lance Willett 2014-05-31 18:50:16 +00:00
  • c04daa1ade Avoid stomping of the $plugin variable in activate_plugin(). Sergey Biryukov 2014-05-30 22:07:43 +00:00
  • 9120e6a9d7 Display the site scheme, not the current scheme on Edit Site screen in network admin. Sergey Biryukov 2014-05-30 22:00:45 +00:00
  • dbef7e2587 Add paragraph tags to 'Add Existing User' section on 'Add New User' screen in multisite. Sergey Biryukov 2014-05-30 21:50:24 +00:00
  • 3afd9885c2 Adjacent links in wp_head() should only be generated for posts, not pages. Sergey Biryukov 2014-05-30 21:19:55 +00:00
  • 2d0be44d85 In WP_Image_Editor_GD::_save(), pass $compression_level into the args array for ->make_image(). wonderboymusic 2014-05-30 20:05:02 +00:00
  • 804b82bd11 Make the image editor less jumpy when opening. Scott Taylor 2014-05-30 19:52:35 +00:00
  • 3d48e21248 Fix an error caused by [28604] in get_comments_number() unit tests. Scott Taylor 2014-05-30 19:46:05 +00:00
  • e996a74984 Restore $val in WP_Importer::bump_request_timeout() - even though the parent class and WP_Import ignore the parameter, it creates an incompatible interface notice in the plugin. Scott Taylor 2014-05-30 19:34:53 +00:00
  • fc2601044b wp_xmlrpc_server::wp_getPage() should return new IXR_Error( instead of return(new IXR_Error(. One of the few places that is unparseable by static analysis. Scott Taylor 2014-05-30 19:21:33 +00:00
  • 273fd5ca4c Add more test coverage for wpdb. Scott Taylor 2014-05-30 19:17:15 +00:00
  • de685a9f73 Move default to the bottom in _wp_mysql_week(). Scott Taylor 2014-05-30 18:09:43 +00:00
  • 2cd825a21b Cleanup for switch statements: * Move default to the bottom in WP_Theme_Install_List_Table * switch/endswitch syntax is not supported in Hack. Switch to switch (...) { .... } syntax. (A few template-type instances linger). Scott Taylor 2014-05-30 17:57:51 +00:00
  • dc96d99a70 Remove unnecessary "not used" notation for filter parameters in wp-admin/includes/media.php. Drew Jaynes (DrewAPicture) 2014-05-30 17:37:36 +00:00
  • 1a1994b20f Adds a unit test to demonstrate that the order of case and default in a switch statement does not matter. Scott Taylor 2014-05-30 17:31:51 +00:00
  • a0dbf001c5 Twenty Fourteen: adjust spacing for site description (tagline) to avoid cutting off accented characters. Props SergeyBiryukov, iamtakashi. Fixes #28397. Lance Willett 2014-05-30 17:08:14 +00:00
  • 7ab6b096e6 Remove some dead variable assignments. Scott Taylor 2014-05-30 16:58:36 +00:00
  • 1da8a18e5f Update the $secure_logged_in_cookie variable in the 'secure_logged_in_cookie' hook docs following [28627]. Drew Jaynes (DrewAPicture) 2014-05-30 15:19:29 +00:00
  • 8d980de0ee Use a secure logged_in_cookie when the home URL is forced HTTPS (see #27954). Andrew Nacin 2014-05-30 15:07:18 +00:00
  • d87a482353 TinyMCE in iOS: - Fix placing the caret at the bottom of longer posts when the keyboard is open. - Disable resizing on switching editors and on show/hide the kitchen sink row. See #28242 Andrew Ozz 2014-05-30 02:37:52 +00:00
  • 7f49c1320a @uses means something entirely different for unit tests. More: http://thephp.cc/viewpoints/blog/2014/03/phpunit-4-0-code-coverage-improvements Scott Taylor 2014-05-29 23:33:13 +00:00
  • 1da0e87bdc TinyMCE: remove margins from the image toolbar wrapper, props avryl, fixes #28389 Andrew Ozz 2014-05-29 22:58:27 +00:00
  • 8f247884c2 Simplify the logic for determining isset( $this->query['s'] ) after [28612], and don't limit this logic to just the main query. Scott Taylor 2014-05-29 20:49:28 +00:00
  • 8bb2117aad If post_status is passed to WP_Query as an array containing 'any' and anything else, don't exclude the other values if they match when running any's exclusion logic. Scott Taylor 2014-05-29 20:41:53 +00:00
  • eba9bf7171 These unit tests should point at an actual attachment file. Scott Taylor 2014-05-29 20:39:05 +00:00
  • 44549d4918 Fix double quote jshint warning in Gruntfile.js, fixes #26751 Andrew Ozz 2014-05-29 19:33:00 +00:00
  • fcff169970 Add unit tests to confirm that post__in orderby is working as expected with menu_order based on comments from #28012. Scott Taylor 2014-05-29 18:23:58 +00:00
  • 25593e291c When queries are passed to WP_Tax_Query, the value for operator is assumed to be uppercase. This is an unnecessary constraint. In ->get_sql(), cast it using $operator = strtoupper( $query['operator'] ). Scott Taylor 2014-05-29 17:52:25 +00:00
  • 2e1c4959af Fix a jshint error introduced in [28607]. see #23560. Helen Hou-Sandi 2014-05-29 14:24:20 +00:00
  • 220a45a32d Don't use the box shadow focus styling for the admin menu or toolbar. see #28267. Helen Hou-Sandi 2014-05-29 14:22:39 +00:00
  • 6418ba1696 Regex should be non-greedy, see #28389 Andrew Ozz 2014-05-29 07:55:17 +00:00
  • 8f5ea4bacd TinyMCE: fix problems with undo/redo after resizing an image several times. Fixes #28389. Andrew Ozz 2014-05-29 07:50:35 +00:00
  • 8530693a51 If post__in or post_parent__in is passed to WP_Query as an empty array, nuke the query. Both vars are currently only checked for truthiness after which they are ignored. Setting these vars at all indicates explicit filtering being desired. Scott Taylor 2014-05-29 06:03:15 +00:00
  • 4d1e46231b When parsing the main query, if s is set to empty: ?s= and $this->is_main_query() && array_key_exists( 's', $this->query ) - kill the query instead of loading the homepage. This will load the search page with no results. Scott Taylor 2014-05-29 05:47:35 +00:00