WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#2868 closed defect (bug) (worksforme)

select which options to update in options.php

Reported by: filosofo Owned by: markjaquith
Milestone: Priority: normal
Severity: normal Version: 2.1
Component: Administration Keywords: has-patch options.php commit
Focuses: Cc:

Description

Problem: use wp-admin/options.php to update your options, and if you have a lot of options (like I do), you'll end up with many truncated (or null) options, as your server chokes trying to update all of them.

Solution: Check which options you want to update, instead of trying to update all of them.

Patch attached.

Attachments (1)

options.php.diff (1.1 KB) - added by filosofo 8 years ago.

Download all attachments as: .zip

Change History (5)

filosofo8 years ago

comment:1 markjaquith8 years ago

Could even do it AJAX style.

comment:2 markjaquith8 years ago

  • Keywords commit added
  • Owner changed from anonymous to markjaquith
  • Status changed from new to assigned

Tried the patch. I like.

+1

comment:3 markjaquith8 years ago

  • Resolution set to worksforme
  • Status changed from assigned to closed

This has been obviated, in my mind, by [4382] (trunk) and [4384] (2.0.x). The main reason options.php was choking was that it was processing a bunch of huge object arrays, like for active plugins and those big RSS cache arrays. It's worlds faster now that serialized data is skipped.

comment:4 Nazgul7 years ago

  • Milestone 2.1 deleted
Note: See TracTickets for help on using tickets.