Skip to main content
27 events
when toggle format what by license comment
Jun 25, 2020 at 18:00 answer added pjv timeline score: 2
Nov 19, 2018 at 15:25 answer added Adam Moss timeline score: 1
Jul 8, 2017 at 22:13 answer added bbruman timeline score: 1
Jun 16, 2017 at 6:10 answer added Sid timeline score: 1
Dec 29, 2014 at 11:22 answer added Mauro Mascia timeline score: 2
S Feb 11, 2014 at 10:18 history bounty ended CommunityBot
S Feb 11, 2014 at 10:18 history notice removed CommunityBot
Feb 11, 2014 at 6:22 vote accept fischi
Feb 11, 2014 at 6:22 comment added fischi It was mot my goal doing this - but after the voting I will choose my answer, solely based on the results.
Feb 8, 2014 at 16:28 answer added Amit Sukapure timeline score: 5
Feb 6, 2014 at 7:11 comment added fischi The point is for example converting the SEO information from one plugin to another, without losing information, or inserting a lot of content - which must only run once. And with WordPress built in functions you are a lot faster a more secure than running queries in your Database.
Feb 6, 2014 at 2:54 answer added Wyck timeline score: 9
Feb 5, 2014 at 22:01 answer added tfrommen timeline score: 5
Feb 5, 2014 at 21:00 comment added Howdy_McGee I guess I don't understand why you would want to do this, if you want to change the name of a meta_key used in both the database and in your code, is there really a one-time-run-do-all script? Even if you didn't have to change the database and just needed to change code, if you included a script via include wouldn't it stay stagnant until the page is called? I suppose I'm missing the point here :/
Feb 5, 2014 at 20:14 answer added gmazzap timeline score: 4
Feb 5, 2014 at 19:58 answer added Ravinder Kumar timeline score: 20
Feb 5, 2014 at 19:38 answer added djb timeline score: 5
Feb 3, 2014 at 12:10 comment added fischi Yes, I am only talking about manual on-time operations, like migrating-scripts etc., not wp-cron scheduled events.
Feb 3, 2014 at 11:08 comment added birgire but you are not talking about scheduled one time execution, only manual?
S Feb 3, 2014 at 8:35 history bounty started fischi
S Feb 3, 2014 at 8:35 history notice added fischi Canonical answer required
Jan 29, 2014 at 22:32 history tweeted twitter.com/#!/StackWordPress/status/428656941725122560
Jan 29, 2014 at 21:14 comment added Andrew Bartel Run it on an admin page of a plugin, always worked for me. You can add auth checks at the top of the page to make sure it's you if necessary.
Jan 29, 2014 at 20:31 comment added fischi The thing is I am worried that a script might be called a second time, per coincidence. but I did your approach countless times ;)
Jan 29, 2014 at 18:44 comment added Otto If it's truly a one-time only deal, then I write the script, I run it, then I delete it. Can't nobody run it again after that. Like all things, code is fleeting. ;)
S Jan 29, 2014 at 16:24 answer added fischi timeline score: 26
S Jan 29, 2014 at 16:24 history asked fischi CC BY-SA 3.0