We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bc8bc5 commit 9836c7dCopy full SHA for 9836c7d
src/wp-includes/link-template.php
@@ -3665,12 +3665,10 @@ function content_url( $path = '' ) {
3665
* or, when requested, the URL to the current time-based subdirectory
3666
* (e.g. https://example.com/wp-content/uploads/2025/09) if year/month folders are enabled.
3667
*
3668
- * This is a convenience wrapper around wp_upload_dir().
3669
- *
3670
* @since 6.9.0
3671
3672
* @param bool $with_subdir Optional. Whether to include the time-based subdirectory
3673
- * when it is configured (mirrors wp_upload_dir()['url'] vs ['baseurl']). Default true.
+ * when it is configured. Default true.
3674
* @return string Uploads URL. Empty string on failure.
3675
*/
3676
function upload_url( $with_subdir = true ) {
0 commit comments