Skip to content

Commit 9836c7d

Browse files
Improve the doc block comments
1 parent 9bc8bc5 commit 9836c7d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/wp-includes/link-template.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3665,12 +3665,10 @@ function content_url( $path = '' ) {
36653665
* or, when requested, the URL to the current time-based subdirectory
36663666
* (e.g. https://example.com/wp-content/uploads/2025/09) if year/month folders are enabled.
36673667
*
3668-
* This is a convenience wrapper around wp_upload_dir().
3669-
*
36703668
* @since 6.9.0
36713669
*
36723670
* @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.
3671+
* when it is configured. Default true.
36743672
* @return string Uploads URL. Empty string on failure.
36753673
*/
36763674
function upload_url( $with_subdir = true ) {

0 commit comments

Comments
 (0)