Commit Graph

  • f771be9e2c Term Meta: Prevent a "Multiple primary key defined" error during database upgrades. Dominik Schilling (ocean90) 2015-10-08 11:08:15 +00:00
  • 633a9870dd Posts: Add the pre_get_lastpostmodified filter to get_lastpostmodified(). Gary Pendergast 2015-10-08 05:56:57 +00:00
  • 9c9cdf28ca Allow excluded keywords when searching posts. Boone Gorges 2015-10-08 03:17:22 +00:00
  • ba7dc01639 Abstract the shortcode attribute parsing regex into its own function, update the JavaScript counterpart, and introduce a test to ensure they do not diverge again. John Blackbourn 2015-10-08 03:11:59 +00:00
  • 9b156ee2a9 Correctly set the secure flag on the post password cookie based on the scheme of the referring URL, if it's available, instead of the home URL. John Blackbourn 2015-10-08 03:08:05 +00:00
  • 855991c578 Correctly set the secure flag for the test cookie based on the login URL scheme, and the same for the user settings cookies based on the admin URL scheme. John Blackbourn 2015-10-08 03:04:41 +00:00
  • 1e223ff16b REST API: Add missing reference to WP_HTTP_Response Ryan McCue 2015-10-08 02:39:06 +00:00
  • 007e7b8cd4 REST API: Unbreak everything. Ryan McCue 2015-10-08 02:33:51 +00:00
  • b39211475d REST API: Introduce baby API to the world. Ryan McCue 2015-10-08 02:30:18 +00:00
  • 374b39d6ba REST API: Add wp_is_numeric_array helper function Ryan McCue 2015-10-08 02:13:02 +00:00
  • 0f657d21cc REST API: Add JsonSerializable compatibility to wp_json_encode Ryan McCue 2015-10-08 01:29:50 +00:00
  • 88779c7b67 Revert [34917] until the broken test is fixed. John Blackbourn 2015-10-08 01:03:39 +00:00
  • ebbe91ad8d Revert [34922] pending PHP 5.2 compatibility. See #28633 Dion Hulse 2015-10-08 00:16:07 +00:00
  • 6cc5757f10 Reset Password: Move the code for creating password reset key into a new function, get_password_reset_key(), and use it in retrieve_password(). Sergey Biryukov 2015-10-08 00:10:41 +00:00
  • ffb7ae1389 Use PHP7's random_int() CSPRNG functionality in wp_rand() with a fallback to the random_compat library for PHP 5.x. random_compat offers a set of compatible functions for older versions of PHP, filling in the gap by using other PHP extensions when available. We still include our existing wp_rand() functionality as a fallback for when no proper CSPRNG exists on the system. Dion Hulse 2015-10-08 00:01:26 +00:00
  • 1fc41894d2 Customizer: Replace context for two strings added in [30306] with a translator comment. Sergey Biryukov 2015-10-07 23:53:35 +00:00
  • 4046919a11 Avoid stripping square brackets from URLs, and instead correctly encode them. Square brackets must be encoded in the path, path parameters, query parameters, and fragment, but must not be encoded in anything up to the domain and port. John Blackbourn 2015-10-07 23:38:22 +00:00
  • f9f92b223d Handle WP_User objects properly in update_user_caches(). Boone Gorges 2015-10-07 22:41:07 +00:00
  • e1d7108e79 Add tests for update_user_caches(). Boone Gorges 2015-10-07 22:34:32 +00:00
  • ee251924b3 Pass the $post parameter to the _wp_post_revision_fields filter. This provides more context to the filter, which allows for different fields to be displayed on the revisions screen depending on the post. John Blackbourn 2015-10-07 21:52:18 +00:00
  • e40575aa99 Correctly set the scheme of the home and siteurl options when creating a new site on multisite that uses some combination of HTTPS in the admin area or on the front end. John Blackbourn 2015-10-07 21:45:17 +00:00
  • 6705184dcc Correctly encode the url parameter that gets passed to WordPress' own oEmbed endpoint URL. John Blackbourn 2015-10-07 21:42:36 +00:00
  • b877e3c692 Add an optional $description parameter to status_header() so custom HTTP status descriptions can be provided. John Blackbourn 2015-10-07 21:25:54 +00:00
  • 8483316de5 Bump H3 headings to H2 on the Network Admin > Sites > Edit Site screens. Andrea Fercia 2015-10-07 17:34:56 +00:00
  • 599fb50e09 Revert [34778], continue using _site_option() for the current network. Jeremy Felt 2015-10-07 17:11:01 +00:00
  • 9a704fa0b8 Docs: Improve documentation for post_submit_meta_box(), which serves as the display callback for the 'Publish' meta box. Drew Jaynes 2015-10-07 16:33:52 +00:00
  • 61280672d2 Prevent a PHP notice when POSTing to wp-login.php?action=register without a user_login or user_email field in the POST request. John Blackbourn 2015-10-07 14:42:39 +00:00
  • c4dd769f22 Prevent a PHP notice from appearing on wp-login.php?action=postpass when there's no $_POST['post_password'] parameter. Redirects to the referer if there is one (if there isn't one it'll just exit with a blank screen; no need for a user-friendly error message here). John Blackbourn 2015-10-07 14:29:29 +00:00
  • 7f292f7ba4 Embeds: Autoprefixer for [34903]. Dominik Schilling (ocean90) 2015-10-07 14:06:36 +00:00
  • 13e8899262 Update the explanatory text which accompanies the list of whitelisted oEmbed providers, following the change to the default value of the discover argument in WP_oEmbed::get_provider(). John Blackbourn 2015-10-07 13:04:32 +00:00
  • 46fbcc96fd Build: Fix a filename typo in [34903]. Gary Pendergast 2015-10-07 12:04:39 +00:00
  • 7c508ff9fa Tests: Exclude the oembed/headers.php test file, which was marked as PHP >= 5.3.0 in [34904]. Gary Pendergast 2015-10-07 12:00:34 +00:00
  • a170c1f67e Embeds: After [34903], remove an accidentally included text domain, and exclude a test failing in PHP 5.2. Gary Pendergast 2015-10-07 11:00:59 +00:00
  • 43bd3d46c9 Embeds: Add oEmbed provider support. Gary Pendergast 2015-10-07 10:35:18 +00:00
  • cce73768b3 Tests: Remove static capture of space used and space allowed. Jeremy Felt 2015-10-07 07:24:47 +00:00
  • dadd89575f Tests: Improve tests for upload_is_user_over_quota(). Jeremy Felt 2015-10-07 07:20:45 +00:00
  • b41be4c55c Tests: Account for non-numeric strings in tests for get_space_allowed(). Jeremy Felt 2015-10-07 06:16:58 +00:00
  • b947cad868 Tests: Improve tests for is_upload_space_available(). Jeremy Felt 2015-10-07 06:14:14 +00:00
  • 8cf73c132d Tests: Improve tests for get_space_allowed(). Jeremy Felt 2015-10-07 04:57:12 +00:00
  • 02251dcd5d List Tables: in _WP_List_Table_Compat::get_column_info(), also return $primary, which is expected since [33016]. Scott Taylor 2015-10-07 03:11:52 +00:00
  • 7cfee3c41d Move wp_installing() to load.php. Boone Gorges 2015-10-07 03:01:27 +00:00
  • 7665377058 Meta Boxes: add an action, post_submitbox_minor_actions. post_submitbox_misc_actions already exists. Pass $post to both for context - avoids having to check for a global post. Scott Taylor 2015-10-07 02:44:59 +00:00
  • aac08d7735 Introduce wp_get_server_protocol() to DRY protocol parsing logic and make adding more protocols, like HTTP/2, easier. Scott Taylor 2015-10-07 02:34:58 +00:00
  • dae3ea83cb Meta Boxes: reboot some of the code in postbox.js to support aria-expanded attribute toggling and to properly reference static class properties. Scott Taylor 2015-10-07 01:57:06 +00:00
  • b7c01dc018 List Tables: after [34276], decrease horizontal padding for sorted column headers (causing weirdness in the Count column of tax list tables) - the vertical padding change suffices in fixing the original issue. Scott Taylor 2015-10-07 01:39:27 +00:00
  • 9e267b6e72 List Tables/WP_Screen: in WP_Screen, add methods to store, retrieve, and render screen reader text, primarily used by list table screens. Scott Taylor 2015-10-07 01:27:01 +00:00
  • 84df5f067c Rewrite/Permalinks/Canonical: in url_to_postid(), call set_url_scheme() on the URL to combat mixed content issues and find posts cross-scheme. Scott Taylor 2015-10-07 01:06:58 +00:00
  • 6507668f4e Posts List Table: ensure that "All" gets the "current" CSS class when applicable. Scott Taylor 2015-10-07 00:08:42 +00:00
  • bec5838166 Build Tools: upgrade grunt-browserify to ~4.0.0 and remove the watch task for browserify, which has its own internal watcher. Run npm install to update. Scott Taylor 2015-10-07 00:00:00 +00:00
  • 24cc3db43a Remove closing PHP tag from wp-includes/class-phpass.php. Sergey Biryukov 2015-10-06 23:44:20 +00:00
  • 36736636c1 Docs: Only document get_posts() argument defaults that differ from, or aren't present in the defaults offered by WP_Query::parse_query(). Drew Jaynes 2015-10-06 23:18:05 +00:00
  • f2188269ce Login: Pass the $errors object as a parameter to the lostpassword_post hook. Drew Jaynes 2015-10-06 22:59:30 +00:00
  • 0d1c1381b3 Docs: _pad_term_counts() takes an array of objects passed by reference, not term IDs. Drew Jaynes 2015-10-06 22:38:47 +00:00
  • 346ebe0993 Customizer: Ensure that wp.customize.Widgets.savedWidgetIds is defined up front. Weston Ruter 2015-10-06 21:58:48 +00:00
  • 4bec1448f3 Registration: Remove the last remaining Lucida Grande from WordPress. Jeremy Felt 2015-10-06 21:55:39 +00:00
  • cb4554b3df Posts: Add post class for password protected posts. Konstantin Obenland 2015-10-06 21:53:20 +00:00
  • 351beec384 Revert [34875] due to unintentional breaking change Aaron Jorbin 2015-10-06 20:57:35 +00:00
  • f17e457a16 Add message with status info to temperamental assertion. Aaron Jorbin 2015-10-06 19:55:56 +00:00
  • b86e47d915 Transients: Clarify the expiration_of_site_transient_$transient filter description. Sergey Biryukov 2015-10-06 18:10:17 +00:00
  • 4099310ff5 Transients: Rename filters added in [34865]. Dominik Schilling (ocean90) 2015-10-06 17:58:19 +00:00
  • 843cdf1f73 Docs: Update an inline comment in wp_get_attachment_image_sizes(), which came in as part of the Responsive Images merge in [34855]. Drew Jaynes 2015-10-06 17:46:30 +00:00
  • 1949734cf3 Improve role-related arguments in WP_User_Query. Boone Gorges 2015-10-06 17:39:23 +00:00
  • 7825c097b8 Adjust detection of stream timeouts in maybe skip tests for https tests Aaron Jorbin 2015-10-06 17:39:14 +00:00
  • 1e06e917af MS Themes List Table: Fix inverted logic for displaying the "No items" message. Dominik Schilling (ocean90) 2015-10-06 17:34:54 +00:00
  • f5b64d1674 Fix typo in [34848]. Sergey Biryukov 2015-10-06 17:27:12 +00:00
  • be303910e9 Template: Introduce a new class_form argument in comment_form(), allowing customization of the form class attribute. Drew Jaynes 2015-10-06 17:16:09 +00:00
  • 3aca4edffa Tests: Update Tests_Rewrite_AddRewriteRule->setUp() to use the new set_permalink_structure() helper. Drew Jaynes 2015-10-06 16:01:38 +00:00
  • 81fed4b639 Script Loader: Update version of json2.js after [34863]. Dominik Schilling (ocean90) 2015-10-06 15:51:50 +00:00
  • b1b51495f3 Shortcodes: Pass the name as context for shortcode_atts_{$shortcode}. Helen Hou-Sandi 2015-10-06 14:33:27 +00:00
  • 719f51b19d Setup/Config: some dirname( ABSPATH ) file lookups should have errors suppressed due to possibility of open_basedir restrictions on hosts. Scott Taylor 2015-10-06 14:19:17 +00:00
  • bb2c59c3a8 Media: in wp_read_video|audio_metadata(), set GETID3_TEMP_DIR to get_temp_dir() if it is not defined. This is a workaround for when safe_mode is enabled pre-PHP 5.3. Scott Taylor 2015-10-06 14:13:49 +00:00
  • b054b952bc Transients, add filters for $expiration: * 'expiration_pre_set_site_transient_' . $transient * 'expiration_pre_set_transient_' . $transient Scott Taylor 2015-10-06 14:10:00 +00:00
  • f8b7bba8f6 WP Mail: replace logic that was mimicking strtotime() with strtotime(). Without this, the date parsing wasn't accounting for half-hour and quarter-hour timezones. Scott Taylor 2015-10-06 14:06:26 +00:00
  • d257aeb9a3 External Libraries: update json2.js to the 2015-05-03 version. Crockford does not tag releases: https://github.com/douglascrockford/JSON-js/commits/master Scott Taylor 2015-10-06 14:01:52 +00:00
  • 79a907edf3 Scripts: in WP_Scripts::set_group(), the args prop of the _WP_Dependency instance defaults to null - check that it is set before comparing. Scott Taylor 2015-10-06 13:53:19 +00:00
  • d71eb86075 Admin Menu: remove duplicated separators, and use strpos() (instead of strcmp()) when determining if the separator CSS class is present. Scott Taylor 2015-10-06 13:45:24 +00:00
  • 02804492e3 XML-RPC: allow wp_xmlrpc_server::wp_getPosts() to receive s as a filter. Scott Taylor 2015-10-06 13:40:09 +00:00
  • 7fe6d71d36 Users: Don't typo assertTrue() in a the uppercase letters validate_username() test. Drew Jaynes 2015-10-06 07:09:30 +00:00
  • 086d49daec Users: Add a separate test for checking the validity of a username containing uppercase characters in the scope of single vs multisite. Drew Jaynes 2015-10-06 07:01:32 +00:00
  • 536ba180df Tests: Dequeue the styles and scripts enqueued by Test_WP_Customize_Nav_Menus::test_enqueue_scripts(). Gary Pendergast 2015-10-06 05:47:17 +00:00
  • afe594bb7c Users: Empty sanitized usernames should be considered invalid when passed through validate_username(). Drew Jaynes 2015-10-06 05:34:47 +00:00
  • fabd554bb2 Merge the Responsive Images feature plugin into core, initial commit. See: https://github.com/ResponsiveImagesCG/wp-tevko-responsive-images/ Scott Taylor 2015-10-06 04:58:21 +00:00
  • fe383af11a Multisite: Introduce get_subdirectory_reserved_names(), which returns a filterable list of reserved subdirectory site names. Drew Jaynes 2015-10-06 04:34:03 +00:00
  • a409a72e94 Multisite: in wpmu_validate_blog_signup(), pass embed to the array passed to subdirectory_reserved_names. Scott Taylor 2015-10-06 04:04:24 +00:00
  • da7ddeaeab Tests: Make the Attachment Slashes tests clean up after itself. Gary Pendergast 2015-10-06 04:00:53 +00:00
  • 3eb876d7e9 Embeds: move some functions from media.php to a new file, embed-functions.php, via svn cp Scott Taylor 2015-10-06 03:58:42 +00:00
  • 9fe13be519 oEmbed: add embed to $subdirectory_reserved_names. Scott Taylor 2015-10-06 03:44:25 +00:00
  • 7764297d7b Fix whitespace issues introduced in [34848] Aaron Jorbin 2015-10-06 03:40:46 +00:00
  • ba06fc4f5b HTTP timeouts should cause some tests to be skipped, not failed Aaron Jorbin 2015-10-06 03:36:18 +00:00
  • f3f892ce46 Rewrite: add tests for add_rewrite_rule(). Scott Taylor 2015-10-06 03:35:14 +00:00
  • 5d0718497c REST API: add a utility function, mysql_to_rfc3339() to functions.php Scott Taylor 2015-10-06 03:18:45 +00:00
  • d2bb4d6745 REST API: add JsonSerializable() compatibility interface for PHP <5.4 to compat.php Scott Taylor 2015-10-06 02:55:43 +00:00
  • 51b4e75afb REST API: add json_last_error_msg() compatibility function for PHP <5.5 to compat.php Scott Taylor 2015-10-06 02:44:16 +00:00
  • 1aaa0aa607 Docs: Adjust the line wrap indentation on the $link parameter description for the wp_post_revision_title_expanded hook, introduced in [34842]. Drew Jaynes 2015-10-06 01:29:04 +00:00
  • 8baf0e0737 Revisions: Add a wp_post_revision_title_expanded filter. Helen Hou-Sandi 2015-10-06 00:58:17 +00:00
  • 95fc47be4f Image Editor: Merge two error strings. Dominik Schilling (ocean90) 2015-10-05 22:39:37 +00:00
  • 87232d4f61 MS: Pass context to get_header() and get_footer() in activation/signup. Jeremy Felt 2015-10-05 22:35:20 +00:00
  • f79a9d4ca2 Media List Table: Remove the date display in column_parent(). Dominik Schilling (ocean90) 2015-10-05 22:24:41 +00:00
  • 84e475dd80 Customizer: Ensure WP_Customize_Setting::update() returns boolean value. Weston Ruter 2015-10-05 21:57:32 +00:00
  • d8c9450179 Correct pagination when viewing the 'Mine' link on the post listing screen. John Blackbourn 2015-10-05 21:35:18 +00:00