Slide 1

Slide 1 text

PREPARING YOUR PLUGIN For a .org Release Mark Wilkinson | markwilkinson.me | @wpmark

Slide 2

Slide 2 text

WHY? PREPARATION SUBMISSION AFTERCARE

Slide 3

Slide 3 text

WHY? PREPARATION SUBMISSION AFTERCARE

Slide 4

Slide 4 text

WHY? PREPARATION SUBMISSION AFTERCARE

Slide 5

Slide 5 text

WHY? PREPARATION SUBMISSION AFTERCARE

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

ASSUMPTIONS

Slide 8

Slide 8 text

WHY?

Slide 9

Slide 9 text

DEVELOPMENT WHERE WILL IT HAPPEN?

Slide 10

Slide 10 text

Coding Standards https://make.wordpress.org/core/handbook/best-practices/coding-standards/ https://upload.wikimedia.org/wikipedia/commons/1/1a/Code.jpg

Slide 11

Slide 11 text

EXTENSIBILITY do_action() / apply_filters() wordpress.tv/2014/08/29/mark-wilkinson-easy-extensible-plugins/

Slide 12

Slide 12 text

SANITIZE & VALIDATE wp_kses( $string, $allowed_html, $allowed_protocols ) esc_html( $text ) / esc_url( $url ) / esc_attr( $attr ) $wpdb->insert( $table, (array) $data )

Slide 13

Slide 13 text

define( 'WP_DEBUG', true );

Slide 14

Slide 14 text

https://www.flickr.com/photos/lendingmemo/11702409583

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

readme.txt https://wordpress.org/plugins/about/readme.txt https://wordpress.org/plugins/about/validator/ Contributors: wpmarkuk Donate link: http://markwilkinson.me/saythanks/ Tags: users, user switching Requires at least: 3.1 Tested up to: 4.4 Stable tag: 1.0.6 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

SUBMIT TO .ORG

Slide 21

Slide 21 text

https://wordpress.org/plugins/add/

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

SVN

Slide 24

Slide 24 text

assets/ branches/ tags/ trunk/

Slide 25

Slide 25 text

SUPPORT

Slide 26

Slide 26 text

1.  Must be compatible with the GNU General Public License v2, or later 2.  Must not do anything illegal, or be morally offensive 3.  You have to actually use the Subversion repository we give you 4.  The plugin must not embed external links on the public site (like a "powered by" link) without explicitly asking the user's permission. 5.  If you don’t specify a compatible license, what you check in is considered GPLv2 or later. 6.  We also have a large list of detailed guidelines, but mostly they say how not to be a spammer. FOLLOW THE RULES

Slide 27

Slide 27 text

1.  Must be compatible with the GNU General Public License v2, or later 2.  Must not do anything illegal, or be morally offensive 3.  You have to actually use the Subversion repository we give you 4.  The plugin must not embed external links on the public site (like a "powered by" link) without explicitly asking the user's permission. 5.  If you don’t specify a compatible license, what you check in is considered GPLv2 or later. 6.  We also have a large list of detailed guidelines, but mostly they say how not to be a spammer. FOLLOW THE RULES

Slide 28

Slide 28 text

1.  Must be compatible with the GNU General Public License v2, or later 2.  Must not do anything illegal, or be morally offensive 3.  You have to actually use the Subversion repository we give you 4.  The plugin must not embed external links on the public site (like a "powered by" link) without explicitly asking the user's permission. 5.  If you don’t specify a compatible license, what you check in is considered GPLv2 or later. 6.  We also have a large list of detailed guidelines, but mostly they say how not to be a spammer. FOLLOW THE RULES

Slide 29

Slide 29 text

1.  Must be compatible with the GNU General Public License v2, or later 2.  Must not do anything illegal, or be morally offensive 3.  You have to actually use the Subversion repository we give you 4.  The plugin must not embed external links on the public site (like a "powered by" link) without explicitly asking the user's permission. 5.  If you don’t specify a compatible license, what you check in is considered GPLv2 or later. 6.  We also have a large list of detailed guidelines, but mostly they say how not to be a spammer. FOLLOW THE RULES

Slide 30

Slide 30 text

1.  Must be compatible with the GNU General Public License v2, or later 2.  Must not do anything illegal, or be morally offensive 3.  You have to actually use the Subversion repository we give you 4.  The plugin must not embed external links on the public site (like a "powered by" link) without explicitly asking the user's permission. 5.  If you don’t specify a compatible license, what you check in is considered GPLv2 or later. 6.  We also have a large list of detailed guidelines, but mostly they say how not to be a spammer. FOLLOW THE RULES

Slide 31

Slide 31 text

1.  Must be compatible with the GNU General Public License v2, or later 2.  Must not do anything illegal, or be morally offensive 3.  You have to actually use the Subversion repository we give you 4.  The plugin must not embed external links on the public site (like a "powered by" link) without explicitly asking the user's permission. 5.  If you don’t specify a compatible license, what you check in is considered GPLv2 or later. 6.  We also have a large list of detailed guidelines, but mostly they say how not to be a spammer. FOLLOW THE RULES

Slide 32

Slide 32 text

#wpcumbria wpcumbria.com

Slide 33

Slide 33 text

Thank you Questions? @wpmark markwilkinson.me github.com/wpmark profiles.wordpress.org/wpmarkuk P.S. I’m available for hire!