Transcript
Page 1: Lightning Talk: Mistakes (WordCamp Phoenix 2011)

Mistakes

by @nacin

THE ONES I HAVEN’T ERASED FROM MEMORY, AT LEAST

Page 2: Lightning Talk: Mistakes (WordCamp Phoenix 2011)

“Working on old code is like

stepping back in time... to a time when I sucked.”

— @kevinmontrose

Page 3: Lightning Talk: Mistakes (WordCamp Phoenix 2011)

Not leaving myself breadcrumbs.

Useful notes and comments are a good start.

Page 4: Lightning Talk: Mistakes (WordCamp Phoenix 2011)

Theme  Name:  WordPress  Default  Theme  URI:  http://wordpress.org/  

Worse, not renaming my imposter theme.

Not using child themes.

Page 5: Lightning Talk: Mistakes (WordCamp Phoenix 2011)

Boost my ugly code’s self-esteem.

Whitespace. It’s why you can read this sentence.

Page 6: Lightning Talk: Mistakes (WordCamp Phoenix 2011)

November 16, 2009

Next time, find ways to get involved earlier.

Page 7: Lightning Talk: Mistakes (WordCamp Phoenix 2011)

“I’m reclassifying this as a defect in

the UI flow.”

[ Type changed from enhancement to bug ]

Page 8: Lightning Talk: Mistakes (WordCamp Phoenix 2011)

Older posts are next. Newer posts

are previous. Got it?

Page 9: Lightning Talk: Mistakes (WordCamp Phoenix 2011)

I know, I’ll just write

_______________ (thing that WP already does)

Page 10: Lightning Talk: Mistakes (WordCamp Phoenix 2011)

Using the Theme Editor

It’s nice and all, but…

Page 11: Lightning Talk: Mistakes (WordCamp Phoenix 2011)

Trying WordPress MU

before knowing anything about WordPress

Page 12: Lightning Talk: Mistakes (WordCamp Phoenix 2011)

Tying installs together with gum

blogs.example.com/here blogs.example.com/there

blogs.example.com/everywhere

Page 13: Lightning Talk: Mistakes (WordCamp Phoenix 2011)

Not escaping, sanitizing, or

validating Security is tough,

but it’s not optional.

Page 14: Lightning Talk: Mistakes (WordCamp Phoenix 2011)

“One word, capitalize the P.”

I swear, every wrong instance was a typo.

Page 15: Lightning Talk: Mistakes (WordCamp Phoenix 2011)

Habits I haz them.

Page 16: Lightning Talk: Mistakes (WordCamp Phoenix 2011)

a

M

T

W

T

F

S

S

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24

ZERO

21

Page 17: Lightning Talk: Mistakes (WordCamp Phoenix 2011)

M

T

W

T

F

S

S

ZERO

25

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24

Page 18: Lightning Talk: Mistakes (WordCamp Phoenix 2011)

#blamenacin (Thanks, Pete!)

Page 19: Lightning Talk: Mistakes (WordCamp Phoenix 2011)

@nacin Core Developer

WordPress.org

Tech Ninja

Audrey Capital

[email protected]

Page 20: Lightning Talk: Mistakes (WordCamp Phoenix 2011)

Learn more at the core development

workshop tomorrow