Fixed: "Notice: Undefined variable: upgrade_notice ... "#4
Fixed: "Notice: Undefined variable: upgrade_notice ... "#4mikeschinkel wants to merge 2 commits into
Conversation
|
Hey Mark, Turns out there as another more serious issue; it did not handle |
|
|
|
Hi Mark, Were you aware of this where @nacin said Anyway, I made my |
|
Ah, I'd forgotten it was @nacin who added it. Will have to think about that. As far as the repo goes, only GPL licenses are valid. Seems like overkill to have a URL field for one of two options. |
|
It's not a big deal to me either way as I ended up writing my own parser so I could have more control over the functionality, just thought I'd be nice and submit a pull request since I ran into readme.txt files that didn't work with yours. |
The variable
$upgrade_noticeis never initialized if there is no upgrade notice section which is the case with v1.0 plugins, so it throws the following error:This patch simply moves the initialization of
$upgrade_noticefrom inside theif( ... ) { ... }to just before it.