Commit Graph

  • 5a75531f19 Replace the ancient phpfreaks.com RegEx to extract urls to ping with a more robust matcher. URLs with commas and things like & were not being pinged. The new matcher even works for most IDN URLs. Adds unit tests. Scott Taylor 2013-09-10 03:17:51 +00:00
  • e72ffa5d96 Move checks for post_type being an array inline. See [25291], [25292], #18614. Scott Taylor 2013-09-10 03:01:10 +00:00
  • 9ece28e545 Add an action at the end of WP_Query::parse_tax_query() called (wait for it...) parse_tax_query which will enable developers to alter $this->tax_query->queries before SQL is generated. pre_get_posts is too early for many scenarios. Scott Taylor 2013-09-10 02:35:26 +00:00
  • 14e44dcd05 Make sure the queried object is non-null before accessing its properties. Scott Taylor 2013-09-10 02:27:24 +00:00
  • d0a189c6be WP_HTTP: Correct the @since, and, @deprecated PHPDoc tags to reflect the class history. See #25007 Dion Hulse 2013-09-09 08:09:20 +00:00
  • 4a56e07c75 Switch to using HTTPS connections for Plugin and Theme API requests when SSL is available. See #18577 Dion Hulse 2013-09-09 07:53:15 +00:00
  • 30827b47c1 Upgrader: Deprecate a few mostly unused functions, wp_update_plugin(), wp_update_theme(), and, wp_update_core(). wp_update_core() was still used, as it was never updated to make use of the newer Skins. Fixes #21874 Dion Hulse 2013-09-09 06:44:25 +00:00
  • fb20ed8b5b WP_Filesyste: SSH2 PHP Extension support: Fix a case where defining a custom FS_CHMOD_FILE / FS_CHMOD_DIR constant wouldn't take effect due to chmod() failing with a invalid path. Fixes #23589 Dion Hulse 2013-09-09 03:05:01 +00:00
  • beaf91c019 WP_Filesystem: Let the code breathe, add some additional whitespace between method definitions and comments. Dion Hulse 2013-09-09 02:54:50 +00:00
  • 2f40784d97 WP_Filesystem: Ensure that all files are read/written correctly by verifying the return values from fwrite() and using FTP_BINARY mode (ASCII converts line endings as per the spec). See #25237 Dion Hulse 2013-09-09 02:42:52 +00:00
  • d92f3ab536 WP_HTTP: When streaming to file, ensure that fwrite() suceeds and correctly writes the file to disk. Fixes #16057 Dion Hulse 2013-09-09 01:17:17 +00:00
  • 22aa493cfc Inline documentation for hooks in http.php. Sergey Biryukov 2013-09-08 22:03:14 +00:00
  • 7f7aacbdec wp_allowed_protocols() should not contain 'data', as it is not safe. see #19354. Andrew Nacin 2013-09-08 19:41:14 +00:00
  • bde3435a63 Alignment standards for [25296]. props DrewAPicture. see #25171. Helen Hou-Sandi 2013-09-07 22:06:21 +00:00
  • 6f6decc3f2 Document 'wp_link_query_args' and 'wp_link_query' filters. props DrewAPicture. fixes #18042. Sergey Biryukov 2013-09-07 19:46:26 +00:00
  • 8e4a6b31cd Avoid PHP notices when configuring the Incoming Links dashboard widget. fixes #25250. Sergey Biryukov 2013-09-07 18:16:09 +00:00
  • ed6316d44b Add dynamic classes for attachment metadata submitbox sections. see #22333, #25171. Helen Hou-Sandi 2013-09-07 16:19:39 +00:00
  • e9173ef83b Add media_submitbox_misc_sections and audio_submitbox_misc_sections filters to allow removing or adding of attachment submitbox sections containing attachment metadata. props desroj, DrewAPicture. fixes #25171. Helen Hou-Sandi 2013-09-07 16:18:26 +00:00
  • f9bb59cb30 Clarify a string in discussion settings. props Ipstenu, DrewAPicture. fixes #16705. Sergey Biryukov 2013-09-07 15:35:26 +00:00
  • c47302e70f Use correct paths in multisite.xml. see [25165]. see #25088. Sergey Biryukov 2013-09-07 15:19:56 +00:00
  • f6b4d33ae9 Add 'wp_link_query_args' and 'wp_link_query' filters to allow for customizing the internal linking dialog. props CoenJacobs, goldenapples. fixes #18042. Sergey Biryukov 2013-09-07 12:20:57 +00:00
  • e688f070dc Check the value passed to get_post_type_object(). If it's an array, use the first item. get_query_var( 'post_type' ) can be an array if the query has been altered via filters/actions. There are several places in core that pass the query var. Adds unit tests. Scott Taylor 2013-09-06 23:38:51 +00:00
  • 48dc7e576b Ensure that the post type object is the queried object when a post type has been registered with has_archive => true. Ensure it is not stomped when decorated with tax_query. Adds unit tests. Scott Taylor 2013-09-06 22:06:40 +00:00
  • 63f35ba4b4 Document the event hook in wp-cron.php. see #25229. Andrew Nacin 2013-09-06 20:51:09 +00:00
  • 22278ec6a9 Introduce wp_using_ext_object_cache() - mimic wp_suspend_cache_invalidation() and discourage direct access to $_wp_using_ext_object_cache, cleaning up importing of globals in functions and provides function to modify that global. Loads the packaged object cache when an external cache hasn't been loaded or doesn't contain wp_cache_init(). Scott Taylor 2013-09-06 18:09:24 +00:00
  • 6bad3b660a Correct @since in admin-footer. see #25229. Andrew Nacin 2013-09-06 17:37:15 +00:00
  • 0474a18863 Allow is_tag() to accept term_id, slug, 'term_name or array of any. Many other is_*()` funcs already do this. Adds unit tests. Scott Taylor 2013-09-06 17:26:04 +00:00
  • c4068bc95b Inline docs for hooks in MagPie. Andrew Nacin 2013-09-06 17:18:33 +00:00
  • 2661cd53fc Use get_the_title() when dealing with post_type-like items in the admin. Scott Taylor 2013-09-06 17:08:00 +00:00
  • 8a0ac73f60 Document the 'query' filter in wp-db. Andrew Nacin 2013-09-06 17:07:00 +00:00
  • 595284f699 Mark the hooks in custom-background.php as duplicates. * image_size_names_choose should be documented in wp-includes/media.php * wp_create_file_in_uploads should be documented in custom-header.php Andrew Nacin 2013-09-06 17:04:36 +00:00
  • a342806b55 Document comment_edit_redirect. Andrew Nacin 2013-09-06 17:00:30 +00:00
  • 6045b39f5a Inline documentation for hooks in xmlrpc.php. Andrew Nacin 2013-09-06 16:55:41 +00:00
  • 09b9c44de9 Check bad dates and redirect, instead of 404ing, as necessary and appropriate. Adds query, conditional, and canonical Unit Tests. Scott Taylor 2013-09-06 16:35:22 +00:00
  • 69a949d160 Add new ajax_query_attachments_args filter. Andrew Nacin 2013-09-06 15:17:35 +00:00
  • 93cfccac2d Add unit test for tax_query against attachments. Scott Taylor 2013-09-06 14:43:49 +00:00
  • e8daea7de7 Use correct array key for filling the attachment title in image_attachment_fields_to_save(). props pross. Use wp_basename() to avoid issues with UTF-8 characters. fixes #25236. Sergey Biryukov 2013-09-06 14:09:07 +00:00
  • 12647e132d Deprecate get_blogaddress_by_domain(), unused since [25261]. props jeremyfelt. fixes #25235. Sergey Biryukov 2013-09-06 11:40:58 +00:00
  • 093a580656 Whitespace cleanup for password strength meter tests. props TobiasBg. fixes #25088. Sergey Biryukov 2013-09-06 10:56:01 +00:00
  • d9c5265303 WP_Filesystem: FTP Sockets: Avoid using the file_exists() / is_exists() / exists() PemFTP functionality as it's buggy on ncFTPd servers, switching to listing the file instead which is what we use for the FTP Extension transport. Fixes #14049 Dion Hulse 2013-09-06 08:28:59 +00:00
  • 37d92f4851 Short descriptions for inline docs should end with a period, per the vast majority of core. see #25229. Andrew Nacin 2013-09-06 01:37:59 +00:00
  • 9095e4b866 Upgrader: Make clearing the Plugin and Theme update caches optional during install and upgrade proceedures. See #22704 Dion Hulse 2013-09-06 01:32:09 +00:00
  • 760d5825ad More adjustments and improvements for inline documentation for get_pages(). see #25186. Andrew Nacin 2013-09-06 01:20:17 +00:00
  • bd610dd68a Simplify the check for false-y child_of arg. Scott Taylor 2013-09-05 23:35:30 +00:00
  • a73d205ab8 Move get_meta_type() into the WP_Meta_Query class as get_cast_for_type(). WP_Query can then access it like: $this->meta_query->get_cast_for_type(). Scott Taylor 2013-09-05 23:31:28 +00:00
  • d765349b75 Fix spacing in docs for get_pages(). Scott Taylor 2013-09-05 23:20:20 +00:00
  • a1556cefb6 Twenty Fourteen: further styling for medialement players, props iamtakashi. Fixes #25209. Lance Willett 2013-09-05 22:14:17 +00:00
  • dbdc3ce528 Add docs to the woefully under-documented get_pages(). Scott Taylor 2013-09-05 22:12:17 +00:00
  • 27b0660c5f Add a test case for calling get_page_uri() with a non-existent post. Andrew Nacin 2013-09-05 22:02:42 +00:00
  • f280a2f525 Remove old WP version checks from PHPUnit test cases now that tests are branched with each version. Andrew Nacin 2013-09-05 21:56:10 +00:00
  • a7a070cc2c Only variables should be passed by reference. Scott Taylor 2013-09-05 21:52:44 +00:00
  • eb63aeff1c Add check to make sure a valid argument was passed to get_page_uri(). Scott Taylor 2013-09-05 21:41:48 +00:00
  • ad1feed450 Stop using get_blogaddress_by_domain() when updating the siteurl/homeurl from the network admin. Andrew Nacin 2013-09-05 18:48:26 +00:00
  • d82fd6d7ce Twenty Fourteen: add styling for medialement players, props celloexpressions. See #25209. Lance Willett 2013-09-05 17:51:00 +00:00
  • 24e3077d77 Twenty Fourteen: break long words in comment content (not just anchor text). Fixes #24890, props rickalee. Lance Willett 2013-09-05 17:44:31 +00:00
  • a5d3bde7a0 Avoids incorrect results when url_to_postid() checking is not strict enough. Adds a bunch of Unit Tests for `url_to_postid()', which is currently only tested lightly in some XML-RPC tests. Scott Taylor 2013-09-05 17:28:52 +00:00
  • e8c7634e79 Avoid database error when include or exclude is not really a term_id. Adds more unit tests. Scott Taylor 2013-09-05 17:14:54 +00:00
  • 4286692d7d Remove redundant checks in some update functions. Adds some readability/coding standards cleanup. Scott Taylor 2013-09-05 17:04:03 +00:00
  • 83d1992d34 When meta_type is passed with orderby => meta_value, orderby must also use CAST() to avoid scenarios like: SELECTing by UNSIGNED and then ordering by CHAR. Adds unit test. Scott Taylor 2013-09-05 16:56:36 +00:00
  • 16ef2c2e36 Remove lingering instances of call time pass-by-reference, limited to instances of callable - use $this instead of &$this. Scott Taylor 2013-09-05 16:33:50 +00:00
  • 21511593a4 Document the trackback_post hook in wp-trackback.php. Andrew Nacin 2013-09-05 16:22:14 +00:00
  • 90605e02e7 Hook docs for admin-footer.php. Andrew Nacin 2013-09-05 16:20:05 +00:00
  • 48a9274146 Fixes for hook inline docs in wp-comments-post.php. see #25229. Andrew Nacin 2013-09-05 16:11:34 +00:00
  • 2f0d581810 Inline documentation for the welcome_panel hook. Andrew Nacin 2013-09-05 16:06:16 +00:00
  • 7a5e1a598f Inline documentation for hooks in wp-comments-post.php. Andrew Nacin 2013-09-05 16:04:17 +00:00
  • 57b1d5ab28 Introduce author__in and author__not_in query vars. Fixes issue with multiple author exclusion when comma-separated string is passed for author. Adds a bunch of missing unit tests. Scott Taylor 2013-09-04 21:32:11 +00:00
  • 9e6705f24e Ensure zxcvbn.min.js loads when we are guessing the wp-includes URL. Andrew Nacin 2013-09-04 21:16:00 +00:00
  • 44011782d3 Set hierarchical to false when parent is passed to get_pages() and child_of is not. Scott Taylor 2013-09-04 20:59:20 +00:00
  • 0b28c0137d Allow get_pages() to accept an array for the arg parent. Adds unit tests, some will fail until the next commit. Scott Taylor 2013-09-04 20:55:05 +00:00
  • 0e79ec02a6 Use matchdep for Grunt tasks. Andrew Nacin 2013-09-04 20:50:29 +00:00
  • 0877a3eda4 Remove error_reporting() debug cruff. Scott Taylor 2013-09-04 19:56:06 +00:00
  • 89997e4c80 Introduce description__like arg to get_terms(). Make description__like and name__like perform LIKEs with a wildcard on both sides of passed string. Previously, strings had to match the beginning of the name, so searching for burrito in This is a burrito would fail. Adds unit tests. Scott Taylor 2013-09-04 19:40:17 +00:00
  • d10b9d32a0 Remove unnecessary checks before setting $wp_settings_* arrays. Adds unit test for setting a nonexistent variable to a multi-dimensional array. Scott Taylor 2013-09-04 19:06:13 +00:00
  • 24bf60bb4f Kill the query in the following edge case: post_type => 'any' but exclude_from_search => false returns no valid post types. Adds unit tests. Scott Taylor 2013-09-04 18:50:04 +00:00
  • 0d0b17b617 Convert category__and to category__in (less expensive) and unset it when only one category is passed. Adds unit tests. Scott Taylor 2013-09-04 18:16:31 +00:00
  • 14da301031 Clarify a database upgrade string, for 3.7. Andrew Nacin 2013-09-04 17:49:16 +00:00
  • db5f9800d4 add_theme_support( 'html5' ) now defaults to comment-list, comment-form, and search-form. Andrew Nacin 2013-09-04 17:43:29 +00:00
  • 1e0d32406d Allow int to be passed in lieu of array, add append arg to wp_set_post_categories(). Adds more extensive unit tests for wp_set_post_categories(). Scott Taylor 2013-09-04 17:41:03 +00:00
  • 67500203f9 Move check_password_reset_key(), reset_password(), and register_new_user() from wp-login.php to wp-includes/user.php, to make them reusable. props beaulebens for initial patch. fixes #20279. Sergey Biryukov 2013-09-04 08:58:41 +00:00
  • 7aa0fd9a78 Add phpdoc for 'wp_redirect' and 'wp_redirect_status' filters. props DrewAPicture. fixes #25215. Sergey Biryukov 2013-09-04 08:30:37 +00:00
  • f5770d15c1 Update phpdoc for get_current_site(). props jeremyfelt. fixes #25040. Sergey Biryukov 2013-09-04 08:25:57 +00:00
  • 7c8107734f Core Auto Updates: Add a initial skin to allow capturing the output from the upgrader without displaying it (such as we need during cron calls). This has been copied almost verbatim from the automatic-updater plugin with a few style tweaks and additional upgrade-possible check. See #22704 Dion Hulse 2013-09-04 07:16:16 +00:00
  • ea02f466c9 Upgrader: Split the UI "skins" out from the main Upgrader file into a seperate file to reduce the length of the files. See #22704 Dion Hulse 2013-09-04 06:34:38 +00:00
  • f913741b58 Avoid 'Only variables should be passed by reference' notice on Widgets screen. props jdgrimes. fixes #25225. Sergey Biryukov 2013-09-04 05:10:43 +00:00
  • d18ca83a2d WP_HTTP: Re-enable curl, it was accidentally left out of [25224]. See #25007 See #16606 Dion Hulse 2013-09-04 04:49:40 +00:00
  • 5d57f260ed WP_HTTP: Replacing the Fsockopen & Streams Transports with a new Streams transport which fully supports HTTPS communication. This changeset also bundles ca-bundle.crt from the Mozilla project to allow for us to verify SSL certificates on hosts which have an incomplete, outdated, or invalid local SSL configuration. Props rmccue for major assistance getting this this far. See #25007 for discussion, also Fixes #16606 Dion Hulse 2013-09-04 04:48:21 +00:00
  • d8e8eada52 Change DB_NAME in wp-tests-config-sample.php to be something other than the placeholder in wp-config-sample.php. Andrew Nacin 2013-09-03 23:59:26 +00:00
  • a2a7f08b1b WP_HTTP: Add a filter for the available HTTP Transports to allow plugins to alter the order which HTTP Transports are tried, or to add their own. Dion Hulse 2013-09-03 08:38:56 +00:00
  • cbf4ed3a68 WP_HTTP: Clean up some comments style and remove outdated information. The change to the proxy block here is for consistency, WP_HTTP_Proxy::block_request() is never called before parse_url() has successfully operated on the URL, and in the event we cannot read the URL, it shouldn't be requested. Dion Hulse 2013-09-03 08:36:05 +00:00
  • ac84f12d0e Core Updates: Ensure that the system supports outgoing HTTPS requests before making an update check over HTTPS. Fixes a typo in [25219]. See #22704 Dion Hulse 2013-09-03 07:11:35 +00:00
  • 2da41fa7f0 Core Updates: Switch to using a new 1.7 version check API which will return extra auto-update packages when requested over SSL. The new API has switched to returning JSON. See #22704 Dion Hulse 2013-09-03 03:21:59 +00:00
  • 6d23209dca Consolidate similar menu locations strings. props DrewAPicture. fixes #24945. Sergey Biryukov 2013-09-03 01:41:49 +00:00
  • 208adf174d Twenty Fourteen: first pass at adding editor stylesheet. Props Frank Klein, see #25084. Lance Willett 2013-09-02 23:02:15 +00:00
  • c098528ba7 Twenty Fourteen: style adjustments for the new HTML5 comment markup, and minor bug fixes for comment responsive pattern. Props iamtakashi, fixes #25045. Lance Willett 2013-09-02 22:02:15 +00:00
  • bca13d3762 Twenty Fourteen: style URL type inputs, props Jayjdk. See #25045. Lance Willett 2013-09-02 21:50:24 +00:00
  • 81e5db41f4 Twenty Fourteen: remove Social Links integration. Props obenland, see #25094. Lance Willett 2013-09-02 21:24:41 +00:00
  • 06d22aed0e Twenty Fourteen: add archive page templates, fix alignment bugs for archive headers, and use content-none.php for consistency. Props obenland, fixes #25181. Lance Willett 2013-09-02 21:20:56 +00:00
  • 9c162fa2f2 Twenty Fourteen: fix SVN properties on two files. Lance Willett 2013-09-02 21:18:26 +00:00
  • f695ee97e1 Set min-height for menu item title. props garyc40. fixes #16787. Sergey Biryukov 2013-09-02 17:34:49 +00:00
  • 56731f831d Avoid 'Only variables should be passed by reference' notice on plugin search. props daankortenbach. fixes #25217. Sergey Biryukov 2013-09-02 13:53:57 +00:00