WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#43784 closed enhancement (invalid)

No space between two words in a sentence on Media Setting page.

Reported by: pratikthink Owned by:
Milestone: Priority: normal
Severity: minor Version: 2.7
Component: Text Changes Keywords: has-screenshots has-patch
Focuses: Cc:

Description

See at the Uploading Files(bottom) option on media setting page. There is a checkbox - "Organize my uploads into month- and year-based folders". I think there should be a space between year- and based

and I want to know why hyphens added to months and years.
Thank you.

Attachments (2)

2018-04-17 04_12_51-Media Settings — WordPress.jpg (79.0 KB) - added by pratikthink 2 years ago.
Screenshot for sentence
43784.diff (663 bytes) - added by danieltj 2 years ago.
Remove hyphen suffix.

Download all attachments as: .zip

Change History (8)

#1 @SergeyBiryukov
2 years ago

Hi @pratikthink, welcome to WordPress Trac! Thanks for the report.

The sentence is correct as is. "Year-based" is an adjective with the -based suffix. In "month-based", the suffix is omitted to avoid repetition.

It could probably be simplified to "date-based folders", but that seems a bit less clear. Otherwise I don't see a need for changes here.

#2 follow-up: @danieltj
2 years ago

  • Focuses docs removed
  • Keywords ui-feedback removed

I think we should remove the hyphen after the word month. If we’re removing the word ‘based’ as the suffix for month, the hyphen seems grammatically incorrect on its own.

@danieltj
2 years ago

Remove hyphen suffix.

#3 @danieltj
2 years ago

  • Keywords has-patch needs-testing added
  • Milestone changed from Awaiting Review to Future Release
  • Severity changed from normal to minor
  • Version changed from 4.9.5 to 2.7

Added 43784.diff which removes the unnecessary hyphen from the word month.

#4 @pratikthink
2 years ago

@SergeyBiryukov Thanks for clarifying.
agree with @danieltj

#5 in reply to: ↑ 2 @netweb
2 years ago

Replying to danieltj:

I think we should remove the hyphen after the word month. If we’re removing the word ‘based’ as the suffix for month, the hyphen seems grammatically incorrect on its own.

Today I learned that multiple hyphenated compound modifiers are a thing and are grammatically correct, see here:

Special rules apply when multiple compound nouns with the same "head" are used together, often with a conjunction (and with hyphens and commas if they are needed).

The third- and fourth-grade teachers met with the parents.

Both full- and part-time employees will get raises this year.

We don't see many 3-, 4-, and 5-year-old children around here.

#6 @danieltj
2 years ago

  • Keywords 2nd-opinion needs-testing removed
  • Milestone Future Release deleted
  • Resolution set to invalid
  • Status changed from new to closed

As much as I hate to admit it because it looks so wrong having a lone hyphen like that, it seems to be correct English. For what it's worth, this seems to be known as a suspended hyphen.

The standard way to deal with this in English is your second example, "off- or on-topic". Another example of where the hyphen would be preserved for both forms of the hyphenated word might be pre- and post-

The pre- and post-match responses of the soccer fans were markedly different.

Source

Thanks @netweb

Note: See TracTickets for help on using tickets.