WordPress Coding Standards

1,356 views

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,356
On SlideShare
0
From Embeds
0
Number of Embeds
18
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

WordPress Coding Standards

  1. 1. WHY HAVE CODING STANDARDS?• Ensure consistency across elements• Improve readability• Avoid common errors• Easier to modify
  2. 2. TYPES OF CODE• PHP• HTML• CSS
  3. 3. WORDPRESS CODEXhttp://codex.wordpress.org/WordPress_Coding_Standards
  4. 4. SOME EXAMPLESAwful• http://plugins.trac.wordpress.org/browser/wordpress-ez- backup/tags/4.9/wp-ezbackup.phpBad, but not terrible• http://core.trac.wordpress.org/browser/tags/1.5/wp- includes/functions.phpMuch Better• http://core.trac.wordpress.org/browser/trunk/wp-includes/functions.php
  5. 5. QUESTIONS? COMMENTS?Twitter: @cgrymalaWebsite(s): http://umw.edu/ (Multi-Network Setup) http://ten-321.com/ http://svn.ten-321.com/ (SVN Repo)Email: cgrymala@umw.edu curtiss@ten-321.comSpeakerRate: http://spkr8.com/s/10608 http://about.me/cgrymala

×