Opened 8 weeks ago
Last modified 12 days ago
#65526 assigned enhancement
last of the tests for functions.php
| Reported by: | pbearne | Owned by: | pbearne |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.2 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | has-patch has-unit-tests |
| Cc: | Focuses: | tests |
Description (last modified by )
moved
mysql2date
current_time
current_datetime
date_i18n
wp_date
wp_get_http_headers
split
wpTimezone and wpTimezoneString
moved from functions.php
human_readable_durationwp_extract_urlspath_is_absolutepath_joinwp_normalize_pathwp_unique_filenamewp_check_filetype_and_extwp_get_image_mimewp_json_encodewp_recursive_ksortvalidate_filewp_generate_uuid4wp_parse_argsbool_from_ynadd_query_argget_allowed_mime_typeswp_get_mime_types_canonical_charset_device_can_uploadwp_json_file_decodemysql_to_rfc3339wp_get_ext_typeswp_ext2typewp_raise_memory_limitwp_is_uuidwp_unique_idwp_getimagesizewp_is_streamwp_is_json_media_typewp_get_default_extension_for_mime_type
moved/renamed from upload.php
_wp_upload_dir
wp_send_json
moved from file.php
get_file_data
tickets waiting for merging
wp_widgets_add_menu: #60179.
nocache_headers #54490
wp_mkdir_p #57081
wp_upload_bits #65534
wp_maybe_load_widgets #57201
wp_privacy_exports_dir #59710
wp_privacy_exports_url #59709
_deprecated_function #60116
status_header#65650
get_temp_dir#65651
wp_json_encode#65652
wp_get_update_php_url#65653
get_dirsize#65654
wp_die (and its various handlers)#65655
Change History (14)
This ticket was mentioned in PR #12307 on WordPress/wordpress-develop by @pbearne.
8 weeks ago
#6
- Keywords has-patch has-unit-tests added
#7
@
8 weeks ago
The tests moved from Functions are moved as is with no changes to the code (apart from a dataset I added)
@wildworks commented on PR #12307:
2 weeks ago
#12
Hi @pbearne, thanks for working on this. Could you please resolve the merge conflicts to move this PR forward?
#13
@
13 days ago
For history, a ticket title and summary should be clear and descriptive. Trac is the history of this project. 5 years from now, people reading this ticket should be able to immediately understand what this ticket is about by just reading the title and the summary.
Instead, I had to look at the linked PR to understand it.
When you have a chance, please edit the title and add a concise summary.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Trac ticket: https://core.trac.wordpress.org/ticket/65526
AI assistance: Yes
Tool(s): Junie (JetBrains)
Model(s): gemini-3-flash-preview
Used for: Code analysis, test implementation, and workflow management. The final implementation and tests were reviewed and edited by me.