Opened 16 years ago
Closed 15 years ago
#9815 closed defect (bug) (fixed)
Remove vestige what_to_show
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | minor | Version: | 3.0.1 |
Component: | Database | Keywords: | has-patch tested commit |
Focuses: | Cc: |
Description
Apparently, the "what_to_show" query variable hasn't done anything since 2.0, but it's been lurking around.
Unless I'm missing something.
Attachments (1)
Change History (9)
#2
@
16 years ago
I mentioned this in IRC, but some of the lines above show old subversion files.
My patch does leave intact its appearance in wp-admin/includes/schema.php and wp-admin/includes/upgrade.php
#3
@
16 years ago
At Denis's suggestion, I refreshed the patch to remove the schema and upgrade stuff.
#4
@
16 years ago
- Keywords tested commit added; what_to_show removed
Haven't tested at all beyond making sure the site worked upon getting rid of the option, but since grep reveals no usage of this option whatsoever, it can only be clutter and can be safely removed.
#5
@
16 years ago
It's left over from when we had an option to show x number of posts per page or x number of days. We dropped the days.
#7
@
15 years ago
- Cc gazouteast added
- Component changed from Query to Database
- Resolution fixed deleted
- Severity changed from normal to minor
- Status changed from closed to reopened
- Version changed from 2.8 to 3.0.1
Nice work guys but only 98% complete
It's still lurking in wp_options table as of v3.0.1 (I'm on a de-bloating crusade).
Could probably do with having a "check for and remove" in the database modifications of v3.1.x (all of them - to be sure as many as possible get caught and killed) but might need a recursive hunt through the code as per plugin Clean Options to be sure a plugin hasn't added back the support code for what_to_show after deprecation.
I see it in 9 files: