<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[1237] sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/page-commercial.php: WP.org Themes: Remove commercial theme data from template file.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="http://meta.trac.wordpress.org/changeset/1237">1237</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"http://meta.trac.wordpress.org/changeset/1237","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>coffee2code</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2015-02-09 22:01:48 +0000 (Mon, 09 Feb 2015)</dd>
</dl>

<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>WP.org Themes: Remove commercial theme data from template file.

Introduces 'wporg_themes_commercial' filter so they can be added independent of the theme. Eventually the data will be provided via a CPT.

See <a href="http://meta.trac.wordpress.org/ticket/745">#745</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemespagecommercialphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/page-commercial.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgthemespagecommercialphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/page-commercial.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/page-commercial.php      2015-02-09 20:41:59 UTC (rev 1236)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/page-commercial.php        2015-02-09 22:01:48 UTC (rev 1237)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6,440 +6,23 @@
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-/* Template:
-$commercial[] = array(
-       'name'        => '',
-       'url'         => '',
-       'description' => "",
-       'image'       => '', // Optional; only if overriding mShots
-);
-*/
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * Filter to get an array of data for theme shops to be listed.
+ *
+ * Expected structure for each element in the commercial theme shops array:
+ *
+ * array(
+ *    'name'        => '', // Theme shop name.
+ *    'url'         => '', // Company URL.
+ *    'description' => "", // Haiku.
+ *    'user_id'     => '', // User ID of the WordPress.org user associated with the theme shop.
+ *    'image'       => '', // Theme shop site screenshot URL. Optional; only if overriding default, automatic image retrieval.
+ * )
+ *
+ * @param array $commercial Array of commercial theme shops data array. Default empty array.
+ */
+$commercial = (array) apply_filters( 'wporg_themes_commercial', array() );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-$commercial[] = array(
-       'name'        => 'Arcane Palette Museum Themes',
-       'url'         => 'http://www.museumthemes.com',
-       'description' => "Artistic design\nYour muse should be inspired\nFine art WordPress themes",
-);
-
-$commercial[] = array(
-       'name'        => 'Theme Weaver',
-       'url'         => 'http://www.themeweaver.net/',
-       'description' => "Weaving together\nDesign and functionality\nStand out from the crowd"
-);
-
-$commercial[] = array(
-       'name'        => 'HeatMap',
-       'url'         => 'http://heatmaptheme.com/',
-       'description' => "You've got great content,\nIt's time to be rewarded,\nWe make it easy.\n"
-);
-
-$commercial[] = array(
-       'name'        => 'Themes by bavotasan.com',
-       'url'         => 'http://themes.bavotasan.com/',
-       'description' => "We design and build\nGreat looking themes for WordPress\nSo you don't have to"
-);
-
-$commercial[] = array(
-       'name'        => 'Graph Paper Press',
-       'url'         => 'http://graphpaperpress.com/',
-       'description' => "For visual peeps\nFrom darkroom to digital\nCapa said it best"
-);
-
-$commercial[] = array(
-       'name'        => 'ThemeHybrid',
-       'url'         => 'http://themehybrid.com/',
-       'description' => "Awesome WordPress themes\nfor devs, designers, and plain\nol' Average Joe.",
-);
-
-$commercial[] = array(
-       'name'        => 'ThemeShift',
-       'url'         => 'http://themeshift.com/',
-       'description' => "Time to make a shift\nProfessional WordPress themes\nPoetic code, clean"
-);
-
-$commercial[] = array(
-       'name'        => 'The Theme Foundry',
-       'url'         => 'http://thethemefoundry.com/',
-       'description' => "Breath of fresh spring air:\nCrisp and clean search friendly code\nMeets graceful design.",
-       /*
-               'image' => 'https://wpdotorg.files.wordpress.com/2009/08/themes-by-jestro.jpg?w=250&h=188',
-        */
-);
-
-$commercial[] = array(
-       'name'        => 'WooThemes',
-       'url'         => 'http://www.woothemes.com/',
-       'description' => "Collaborating\nDesigning, Developing\nPushing the boundary",
-       'image'       => 'https://wpdotorg.files.wordpress.com/2014/02/woothemes-240x180.png',
-);
-
-$commercial[] = array(
-       'name'        => 'Gorilla Themes',
-       'url'         => 'http://gorillathemes.com/',
-       'description' => "Dare You To Explore\nBreathless Raw Chest Pounding Themes\nGorilla Style",
-);
-
-$commercial[] = array(
-       'name'        => 'ViVA Themes',
-       'url'         => 'http://www.vivathemes.com',
-       'description' => "The purest of all\nColors of my creation\nBits of reflection"
-);
-
-$commercial[] = array(
-       'name'        => 'Organized Themes',
-       'url'         => 'http://www.organizedthemes.com/',
-       'description' => "Born not a poet\nBut a lover of graphics\nBecome organized"
-);
-
-/* removed due to them giving WooPress themes away ("We want to promote people doing original work" - matt)
-$commercial[] = array(
-       'name' => 'FreshPress Themes',
-       'url' => 'http://www.freshpressthemes.com/',
-       'description' => "Life's a lemon\nGet all the juices flowing\nPleasure in great themes"
-);
-*/
-
-$commercial[] = array(
-       'name'        => 'PageLines',
-       'url'         => 'http://www.pagelines.com/',
-       'description' => "Break Through The Clutter\nMake A Lasting Impression\nPro Themes From PageLines"
-);
-
-$commercial[] = array(
-       'name'        => 'Themes Zen',
-       'url'         => 'http://www.themeszen.com/',
-       'description' => "Business WordPress Themes\nSimple Clean Professional\nFast Friendly Support"
-);
-
-$commercial[] = array(
-       'name'        => 'WPZOOM',
-       'url'         => 'http://www.wpzoom.com/',
-       'description' => "Functional Elegance\nAwesome Support\nPriceless"
-);
-
-$commercial[] = array(
-       'name'        => 'CyberChimps',
-       'url'         => 'http://cyberchimps.com/',
-       'description' => "We are CyberChimps\nFriendly WordPress theme design\nPlus awesome support"
-);
-
-$commercial[] = array(
-       'name'        => 'PressCoders',
-       'url'         => 'http://www.presscoders.com/',
-       'description' => "Themes with depth\nInnovative design\nDeveloped with passion"
-);
-
-$commercial[] = array(
-       'name'        => 'ElegantThemes',
-       'url'         => 'http://www.elegantthemes.com/',
-       'description' => "pretty little lights\nthis digital world we make\na beautiful place"
-);
-
-$commercial[] = array(
-       'name'        => 'Styled Themes',
-       'url'         => 'http://www.styledthemes.com/',
-       'description' => "I am who I am\nnatural in mindful thought\nresourceful and true"
-);
-
-$commercial[] = array(
-       'name'        => 'Themefurnace',
-       'url'         => 'http://themefurnace.com/',
-       'description' => "Red Hot WordPress Themes\nBrought to you from the UK\nWe hope you like them!"
-);
-
-$commercial[] = array(
-       'name'        => 'WPCasa',
-       'url'         => 'http://wpcasa.com/',
-       'description' => "Real Estate Framework\nFor both newbies and the pro\nSolid and unique"
-);
-
-$commercial[] = array(
-       'name'        => 'HermesThemes',
-       'url'         => 'http://www.hermesthemes.com/',
-       'description' => "Refined Hotel Themes\nUnique Features, Prime Support\nHospitality"
-);
-
-$commercial[] = array(
-       'name'        => 'Elmastudio',
-       'url'         => 'http://www.elmastudio.de/en/',
-       'description' => "Minimal design\nresponsive, easy to use\nfor more blogging fun"
-);
-
-$commercial[] = array(
-       'name'        => 'WPshoppe',
-       'url'         => 'http://wpshoppe.com/',
-       'description' => "Minimalist, Clean\nFocus on Typography\nAffordably Best"
-);
-
-$commercial[] = array(
-       'name'        => 'Anariel Design',
-       'url'         => 'http://www.anarieldesign.com/',
-       'description' => "Our virtual world\nThe land we help to design\nMakes us different"
-);
-
-$commercial[] = array(
-       'name'        => 'MyThemeShop',
-       'url'         => 'http://mythemeshop.com/',
-       'description' => "Rock Solid Framework\nFriendly Premium Support\nLoads Fast, Looks Pretty"
-);
-
-$commercial[] = array(
-       'name'        => 'Foxnet Themes',
-       'url'         => 'https://foxnet-themes.fi/',
-       'description' => "On a good day you\nlearn something new about Themes\n- There are no bad days"
-);
-
-$commercial[] = array(
-       'name'        => 'Catch Themes',
-       'url'         => 'http://catchthemes.com',
-       'description' => "Simple, content-rich\nminimalistic, designs.\nElegant Catch Themes."
-);
-
-$commercial[] = array(
-       'name'        => 'ThemeJam',
-       'url'         => 'http://themejam.com',
-       'description' => "Passion For The Craft\nLove For Customer Support\nWordPress Themes For All"
-);
-
-$commercial[] = array(
-       'name'        => 'StartupWP',
-       'url'         => 'https://startupwp.com/',
-       'description' => "Free upgrades for life.\nFree pro support forever.\nFree limitless use."
-);
-
-$commercial[] = array(
-       'name'        => 'InkThemes',
-       'url'         => 'http://inkthemes.com/',
-       'description' => "Brilliantly crafted\nEasy-to-use themes and more\nFor your own website"
-);
-
-$commercial[] = array(
-       'name'        => 'MH Themes',
-       'url'         => 'http://mhthemes.com/',
-       'description' => "Themes from Germany\nSpecialized in Magazines\nCoded with Passion"
-);
-
-$commercial[] = array(
-       'name'        => 'Fimply',
-       'url'         => 'http://fimply.de/',
-       'description' => "Powerful great themes\nFor everyone the best theme\nThat is what we make."
-);
-
-$commercial[] = array(
-       'name'        => 'ThemeZee',
-       'url'         => 'http://themezee.com/',
-       'description' => "Clean Responsive Themes\nDownload, try and use for free\nJoin club for Pro Themes"
-);
-
-$commercial[] = array(
-       'name'        => 'DesignOrbital',
-       'url'         => 'http://designorbital.com/',
-       'description' => "We Code and Design\nInnovative WordPress Themes\nFor your own website"
-);
-
-$commercial[] = array(
-       'name'        => 'Nimbus Themes',
-       'url'         => 'http://nimbusthemes.com/',
-       'description' => "For your business needs,\nThere is a WordPress template,\nAt Nimbus Themes now!"
-);
-
-$commercial[] = array(
-       'name'        => 'ThemeKraft',
-       'url'         => 'http://themekraft.com',
-       'description' => "Customize with ease.\nFinish your project in time.\nCreate your own style."
-);
-
-$commercial[] = array(
-       'name'        => 'ThemeTrust',
-       'url'         => 'http://themetrust.com',
-       'description' => "Beautiful Design\npaired with clean code just as nice;\nmakes a solid theme"
-);
-
-$commercial[] = array(
-       'name'        => 'BizzThemes',
-       'url'         => 'http://bizzthemes.com/',
-       'description' => "WordPress Business Themes\nFast, Easy to Customize\nwith Template Builder"
-);
-
-$commercial[] = array(
-       'name'        => 'SkyThemes',
-       'url'         => 'http://skythemes.com/',
-       'description' => "Advanced Themes. Massive\nCustomizability.\nSkyThemes: Spread Your Wings."
-);
-
-$commercial[] = array(
-       'name'        => 'Template Express',
-       'url'         => 'http://templateexpress.com/',
-       'description' => "I've designed all day\nTime to see my three children\nA site for sore eyes"
-);
-
-$commercial[] = array(
-       'name'        => 'Photocrati',
-       'url'         => 'http://www.photocrati.com/',
-       'description' => "images that live\nwith bold imagination\npainted with the light"
-);
-
-$commercial[] = array(
-       'name'        => 'Storefront Themes',
-       'url'         => 'http://storefrontthemes.com/',
-       'description' => "Got something to sell?\nYou need to use a shop theme\nThat is GPL"
-);
-
-$commercial[] = array(
-       'name'        => 'Klasik Themes',
-       'url'         => 'http://www.klasikthemes.com/',
-       'description' => "Easy and Simple\nMaking Your Website Online\nWith Beautiful Theme",
-);
-
-$commercial[] = array(
-       'name'        => 'AudioTheme',
-       'url'         => 'http://audiotheme.com/',
-       'description' => "AudioTheme is\nWordPress for music makers\nLet your site be heard",
-);
-
-$commercial[] = array(
-       'name'        => 'BluChic',
-       'url'         => 'http://www.bluchic.com/',
-       'description' => "Chic feminine theme\nfor women business owners\nthat doesn't cost a bomb",
-);
-
-$commercial[] = array(
-       'name'        => 'ThemeIsle',
-       'url'         => 'http://themeisle.com/',
-       'description' => "Join Isle of Themes\nPixel Perfect WordPress Themes\nGet Blackbeard support",
-);
-
-$commercial[] = array(
-       'name'        => 'Simple Themes',
-       'url'         => 'http://www.simplethemes.com/',
-       'description' => "Minimalist Styles\nUniversal Design Styles\nSimple WordPress Themes",
-);
-
-$commercial[] = array(
-       'name'        => 'Theme4Press',
-       'url'         => 'http://theme4press.com/',
-       'description' => "New Responsive Themes\nRespected Developer\nTheme4Press.com",
-);
-
-$commercial[] = array(
-       'name'        => 'Serene Themes',
-       'url'         => 'http://serenethemes.com/',
-       'description' => "A cool fall rainstorm\nFlooding away the debris\nSerenely recedes",
-);
-
-$commercial[] = array(
-       'name'        => 'Themonic Themes',
-       'url'         => 'http://themonic.com/',
-       'description' => "Iconic Design\nResponsive, Easy Setup\nSuper Quick Support",
-);
-
-$commercial[] = array(
-       'name'        => 'ThemeAlley',
-       'url'         => 'http://www.themealley.com/',
-       'description' => "Great Responsive Themes\nBeautiful and Functional\nAffordably priced",
-);
-
-$commercial[] = array(
-       'name'        => 'Obox Themes',
-       'url'         => 'http://oboxthemes.com/',
-       'description' => "Professional Press\nDesign as it should be done\nWhat's been missing press",
-);
-
-$commercial[] = array(
-       'name'        => 'Kopatheme',
-       'url'         => 'http://kopatheme.com/',
-       'description' => "Beautiful Design\nWith Professional Support\nMakes us different",
-);
-
-$commercial[] = array(
-       'name'        => 'VP Themes',
-       'url'         => 'http://www.vpthemes.com/',
-       'description' => "Need a WordPress blog?\nVP Themes here to help you\nLet's write awesome code!",
-);
-
-$commercial[] = array(
-       'name'        => 'Gabfire Themes',
-       'url'         => 'http://www.gabfirethemes.com/',
-       'description' => "Simplicity, depth\nand some color to your site\nIt is time for change",
-);
-
-$commercial[] = array(
-       'name'        => 'ThemeinProgress',
-       'url'         => 'http://www.themeinprogress.com/',
-       'description' => "Creativity\nis the way to make unique\nour beautiful themes",
-);
-
-$commercial[] = array(
-       'name'        => 'Themify',
-       'url'         => 'http://themify.me/',
-       'description' => "Top notch theme designs\nAmazing framework built-In\nUnrivaled support",
-);
-
-$commercial[] = array(
-       'name'        => 'Array',
-       'url'         => 'https://array.is/',
-       'description' => "Eclectic design\nFocused on simplicity\nQuick, friendly support",
-);
-
-$commercial[] = array(
-       'name'        => 'TT Themes',
-       'url'         => 'http://www.tomastoman.cz/',
-       'description' => "Hand-coded Templates\nEasy customizable\nMade with love for You",
-);
-
-$commercial[] = array(
-       'name'        => 'DinevThemes',
-       'url'         => 'http://dinevthemes.com/',
-       'description' => "Design Themes WordPress\nSimple Clean, easy to use\nto make content king",
-);
-
-$commercial[] = array(
-       'name'        => 'Nice Themes',
-       'url'         => 'http://nicethemes.com/',
-       'description' => "Nice designs and code\nFast, remarkable support\nWordPress themes for you",
-);
-
-$commercial[] = array(
-       'name'        => 'SKT Themes',
-       'url'         => 'http://www.sktthemes.net/',
-       'description' => "Professional and\nResponsive WordPress themes for\nAll kinds of users",
-);
-
-$commercial[] = array(
-       'name'        => 'ThemeLab',
-       'url'         => 'http://www.themelab.com/',
-       'description' => "WordPress themes that work.\nEasy to use, ready for\nabout anything.",
-);
-
-$commercial[] = array(
-       'name'        => 'D5 Creation',
-       'url'         => 'http://d5creation.com/',
-       'description' => "Minimal design\nResponsive and elegant\nFast loading and light",
-);
-
-$commercial[] = array(
-       'name'        => 'Siteturner',
-       'url'         => 'http://siteturner.com/',
-       'description' => "Why hello there, friend\nWe're the themes you're looking for\nStep in, take a look",
-);
-
-$commercial[] = array(
-       'name'        => 'Theme Horse',
-       'url'         => 'http://www.themehorse.com/',
-       'description' => "Awesome WordPress themes.\nResponsive themes. Built with love\nand passion. Theme Horse",
-);
-
-$commercial[] = array(
-       'name'        => 'Theme Junkie',
-       'url'         => 'http://www.theme-junkie.com/',
-       'description' => "Solid code framework\nClean and flexible design\nAffordable price",
-);
-
-$commercial[] = array(
-       'name'        => 'FasterThemes',
-       'url'         => 'http://fasterthemes.com/',
-       'description' => "You want to be seen\nIt's clear speed really counts\nYou will love our themes",
-);
</del><span class="cx" style="display: block; padding: 0 10px"> shuffle( $commercial );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> get_header();
</span></span></pre>
</div>
</div>

</body>
</html>