├── README.markdown └── config ├── public ├── phpinfo.php ├── wp-config.php └── wp-content │ ├── advanced-cache.php │ ├── index.php │ ├── object-cache.php │ ├── plugins │ ├── akismet │ │ ├── admin.php │ │ ├── akismet.css │ │ ├── akismet.gif │ │ ├── akismet.js │ │ ├── akismet.php │ │ ├── img │ │ │ ├── logo.png │ │ │ └── logo@2x.png │ │ ├── index.php │ │ ├── legacy.php │ │ ├── readme.txt │ │ └── widget.php │ ├── batcache │ │ ├── batcache.php │ │ └── readme.txt │ ├── cloudflare │ │ ├── cloudflare.php │ │ ├── ip_in_range.php │ │ └── readme.txt │ ├── contact-form-7 │ │ ├── admin │ │ │ ├── admin-functions.php │ │ │ ├── admin.php │ │ │ ├── css │ │ │ │ ├── styles-rtl.css │ │ │ │ └── styles.css │ │ │ ├── edit-contact-form.php │ │ │ ├── images │ │ │ │ ├── dropdown.gif │ │ │ │ ├── fade-butt.png │ │ │ │ ├── menu-icon.png │ │ │ │ └── screen-icon.png │ │ │ ├── includes │ │ │ │ ├── class-contact-forms-list-table.php │ │ │ │ └── meta-boxes.php │ │ │ └── js │ │ │ │ ├── scripts.js │ │ │ │ └── taggenerator.js │ │ ├── images │ │ │ └── ajax-loader.gif │ │ ├── includes │ │ │ ├── capabilities.php │ │ │ ├── classes.php │ │ │ ├── controller.php │ │ │ ├── css │ │ │ │ ├── styles-rtl.css │ │ │ │ └── styles.css │ │ │ ├── deprecated.php │ │ │ ├── formatting.php │ │ │ ├── functions.php │ │ │ ├── js │ │ │ │ ├── jquery-ui │ │ │ │ │ └── themes │ │ │ │ │ │ └── smoothness │ │ │ │ │ │ ├── images │ │ │ │ │ │ ├── animated-overlay.gif │ │ │ │ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ │ │ │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ │ │ │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ │ │ │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ │ │ │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ │ │ │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ │ │ │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ │ │ │ │ ├── ui-bg_highlight-soft_75_cccccc_1x100.png │ │ │ │ │ │ ├── ui-icons_222222_256x240.png │ │ │ │ │ │ ├── ui-icons_2e83ff_256x240.png │ │ │ │ │ │ ├── ui-icons_454545_256x240.png │ │ │ │ │ │ ├── ui-icons_888888_256x240.png │ │ │ │ │ │ └── ui-icons_cd0a0a_256x240.png │ │ │ │ │ │ ├── jquery-ui.css │ │ │ │ │ │ ├── jquery-ui.min.css │ │ │ │ │ │ └── jquery.ui.theme.css │ │ │ │ ├── jquery.form.js │ │ │ │ ├── jquery.form.min.js │ │ │ │ └── scripts.js │ │ │ ├── pipe.php │ │ │ └── shortcodes.php │ │ ├── languages │ │ │ ├── readme.txt │ │ │ ├── wpcf7-af.mo │ │ │ ├── wpcf7-ar.mo │ │ │ ├── wpcf7-az_AZ.mo │ │ │ ├── wpcf7-be_BY.mo │ │ │ ├── wpcf7-bg_BG.mo │ │ │ ├── wpcf7-bn_BD.mo │ │ │ ├── wpcf7-bn_IN.mo │ │ │ ├── wpcf7-bs.mo │ │ │ ├── wpcf7-ca.mo │ │ │ ├── wpcf7-ckb.mo │ │ │ ├── wpcf7-cs_CZ.mo │ │ │ ├── wpcf7-da_DK.mo │ │ │ ├── wpcf7-de_DE.mo │ │ │ ├── wpcf7-el.mo │ │ │ ├── wpcf7-eo_EO.mo │ │ │ ├── wpcf7-es_ES.mo │ │ │ ├── wpcf7-et.mo │ │ │ ├── wpcf7-eu.mo │ │ │ ├── wpcf7-fa_IR.mo │ │ │ ├── wpcf7-fi.mo │ │ │ ├── wpcf7-fr_FR.mo │ │ │ ├── wpcf7-ga_IE.mo │ │ │ ├── wpcf7-gl_ES.mo │ │ │ ├── wpcf7-gu_IN.mo │ │ │ ├── wpcf7-he_IL.mo │ │ │ ├── wpcf7-hi_IN.mo │ │ │ ├── wpcf7-hr.mo │ │ │ ├── wpcf7-hu_HU.mo │ │ │ ├── wpcf7-hy_AM.mo │ │ │ ├── wpcf7-id_ID.mo │ │ │ ├── wpcf7-it_IT.mo │ │ │ ├── wpcf7-ja.mo │ │ │ ├── wpcf7-ka_GE.mo │ │ │ ├── wpcf7-ko_KR.mo │ │ │ ├── wpcf7-lt_LT.mo │ │ │ ├── wpcf7-lv.mo │ │ │ ├── wpcf7-mk_MK.mo │ │ │ ├── wpcf7-ml_IN.mo │ │ │ ├── wpcf7-ms_MY.mo │ │ │ ├── wpcf7-mt_MT.mo │ │ │ ├── wpcf7-nb_NO.mo │ │ │ ├── wpcf7-nl_NL.mo │ │ │ ├── wpcf7-pl_PL.mo │ │ │ ├── wpcf7-pt_BR.mo │ │ │ ├── wpcf7-pt_PT.mo │ │ │ ├── wpcf7-ro_RO.mo │ │ │ ├── wpcf7-ru_RU.mo │ │ │ ├── wpcf7-si_LK.mo │ │ │ ├── wpcf7-sk_SK.mo │ │ │ ├── wpcf7-sl_SI.mo │ │ │ ├── wpcf7-sq.mo │ │ │ ├── wpcf7-sr_RS.mo │ │ │ ├── wpcf7-sv_SE.mo │ │ │ ├── wpcf7-ta.mo │ │ │ ├── wpcf7-th.mo │ │ │ ├── wpcf7-tl.mo │ │ │ ├── wpcf7-tr_TR.mo │ │ │ ├── wpcf7-uk.mo │ │ │ ├── wpcf7-vi.mo │ │ │ ├── wpcf7-zh_CN.mo │ │ │ ├── wpcf7-zh_TW.mo │ │ │ └── wpcf7.pot │ │ ├── license.txt │ │ ├── modules │ │ │ ├── acceptance.php │ │ │ ├── akismet.php │ │ │ ├── captcha.php │ │ │ ├── checkbox.php │ │ │ ├── date.php │ │ │ ├── file.php │ │ │ ├── flamingo.php │ │ │ ├── jetpack.php │ │ │ ├── number.php │ │ │ ├── quiz.php │ │ │ ├── response.php │ │ │ ├── select.php │ │ │ ├── special-mail-tags.php │ │ │ ├── submit.php │ │ │ ├── text.php │ │ │ └── textarea.php │ │ ├── readme.txt │ │ ├── settings.php │ │ ├── uninstall.php │ │ └── wp-contact-form-7.php │ ├── hello.php │ ├── heroku-google-analytics.php │ ├── heroku-sendgrid.php │ ├── index.php │ ├── memcachier │ │ ├── MemcacheSASL.php │ │ └── readme.txt │ └── wpro │ │ ├── license.txt │ │ ├── readme.txt │ │ └── wpro.php │ └── themes │ ├── index.php │ ├── twentyeleven │ ├── 404.php │ ├── archive.php │ ├── author.php │ ├── category.php │ ├── colors │ │ └── dark.css │ ├── comments.php │ ├── content-aside.php │ ├── content-featured.php │ ├── content-gallery.php │ ├── content-image.php │ ├── content-intro.php │ ├── content-link.php │ ├── content-page.php │ ├── content-quote.php │ ├── content-single.php │ ├── content-status.php │ ├── content.php │ ├── editor-style-rtl.css │ ├── editor-style.css │ ├── footer.php │ ├── functions.php │ ├── header.php │ ├── image.php │ ├── images │ │ ├── comment-arrow-bypostauthor-dark-rtl.png │ │ ├── comment-arrow-bypostauthor-dark.png │ │ ├── comment-arrow-bypostauthor-rtl.png │ │ ├── comment-arrow-bypostauthor.png │ │ ├── comment-arrow-dark-rtl.png │ │ ├── comment-arrow-dark.png │ │ ├── comment-arrow-rtl.png │ │ ├── comment-arrow.png │ │ ├── comment-bubble-dark-rtl.png │ │ ├── comment-bubble-dark.png │ │ ├── comment-bubble-rtl.png │ │ ├── comment-bubble.png │ │ ├── headers │ │ │ ├── chessboard-thumbnail.jpg │ │ │ ├── chessboard.jpg │ │ │ ├── hanoi-thumbnail.jpg │ │ │ ├── hanoi.jpg │ │ │ ├── lanterns-thumbnail.jpg │ │ │ ├── lanterns.jpg │ │ │ ├── pine-cone-thumbnail.jpg │ │ │ ├── pine-cone.jpg │ │ │ ├── shore-thumbnail.jpg │ │ │ ├── shore.jpg │ │ │ ├── trolley-thumbnail.jpg │ │ │ ├── trolley.jpg │ │ │ ├── wheel-thumbnail.jpg │ │ │ ├── wheel.jpg │ │ │ ├── willow-thumbnail.jpg │ │ │ └── willow.jpg │ │ ├── search.png │ │ └── wordpress.png │ ├── inc │ │ ├── images │ │ │ ├── content-sidebar.png │ │ │ ├── content.png │ │ │ ├── dark.png │ │ │ ├── light.png │ │ │ └── sidebar-content.png │ │ ├── theme-customizer.js │ │ ├── theme-options.css │ │ ├── theme-options.js │ │ ├── theme-options.php │ │ └── widgets.php │ ├── index.php │ ├── js │ │ ├── html5.js │ │ └── showcase.js │ ├── languages │ │ └── twentyeleven.pot │ ├── license.txt │ ├── page.php │ ├── readme.txt │ ├── rtl.css │ ├── screenshot.png │ ├── search.php │ ├── searchform.php │ ├── showcase.php │ ├── sidebar-footer.php │ ├── sidebar-page.php │ ├── sidebar.php │ ├── single.php │ ├── style.css │ └── tag.php │ └── twentytwelve │ ├── 404.php │ ├── archive.php │ ├── author.php │ ├── category.php │ ├── comments.php │ ├── content-aside.php │ ├── content-image.php │ ├── content-link.php │ ├── content-none.php │ ├── content-page.php │ ├── content-quote.php │ ├── content-status.php │ ├── content.php │ ├── css │ └── ie.css │ ├── editor-style-rtl.css │ ├── editor-style.css │ ├── footer.php │ ├── functions.php │ ├── header.php │ ├── image.php │ ├── inc │ └── custom-header.php │ ├── index.php │ ├── js │ ├── html5.js │ ├── navigation.js │ └── theme-customizer.js │ ├── languages │ └── twentytwelve.pot │ ├── page-templates │ ├── front-page.php │ └── full-width.php │ ├── page.php │ ├── rtl.css │ ├── screenshot.png │ ├── search.php │ ├── sidebar-front.php │ ├── sidebar.php │ ├── single.php │ ├── style.css │ └── tag.php └── vendor ├── nginx └── conf │ ├── nginx.conf │ └── wordpress.conf.erb └── php ├── etc └── php-fpm.conf └── php.ini /README.markdown: -------------------------------------------------------------------------------- 1 | # Wordpress on Heroku 2 | 3 | This is where changes to your Wordpress site are made. Changes committed to this directory will overwrite all the vendor defaults. 4 | 5 | Generally, you'll be interested in adding plugins, adding themes, and modifying wordpress.conf.erb. 6 | ``` 7 | └── config # Config files 8 | ├── public # Public directory 9 | │   └── wp-content # Themes & plugins 10 | │   ├── plugins 11 | │   └── themes 12 | └── vendor # Config files for vendored apps 13 | ├── nginx 14 | │   └── conf # nginx.conf + wordpress.conf.erb 15 | └── php # php.ini 16 | └── etc # php-fpm.conf 17 | ``` 18 | 19 | For everything you ever wanted to know about running Wordpress on Heroku, check out my [heroku-buildpack-wordpress](http://github.com/mchung/heroku-buildpack-wordpress). -------------------------------------------------------------------------------- /config/public/phpinfo.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /config/public/wp-content/index.php: -------------------------------------------------------------------------------- 1 | __( 'Display the number of spam comments Akismet has caught' ) ) 12 | ); 13 | 14 | if ( is_active_widget( false, false, $this->id_base ) ) { 15 | add_action( 'wp_head', array( $this, 'css' ) ); 16 | } 17 | } 18 | 19 | function css() { 20 | ?> 21 | 22 | 58 | 59 | 70 | 71 |

72 | 73 | 74 |

75 | 76 | 94 | 95 |
96 | %1$s spam blocked by Akismet', '%1$s spam blocked by Akismet', $count ), number_format_i18n( $count ) ); ?> 97 |
98 | 99 | configure_groups(); 16 | 17 | // Regen home and permalink on posts and pages 18 | add_action('clean_post_cache', 'batcache_post'); 19 | 20 | // Regen permalink on comments (TODO) 21 | //add_action('comment_post', 'batcache_comment'); 22 | //add_action('wp_set_comment_status', 'batcache_comment'); 23 | //add_action('edit_comment', 'batcache_comment'); 24 | 25 | function batcache_post($post_id) { 26 | global $batcache; 27 | 28 | $post = get_post($post_id); 29 | if ( $post->post_type == 'revision' || get_post_status($post_id) != 'publish' ) 30 | return; 31 | 32 | batcache_clear_url( get_option('home') ); 33 | batcache_clear_url( trailingslashit( get_option('home') ) ); 34 | batcache_clear_url( get_permalink($post_id) ); 35 | } 36 | 37 | function batcache_clear_url($url) { 38 | global $batcache; 39 | if ( empty($url) ) 40 | return false; 41 | $url_key = md5($url); 42 | wp_cache_add("{$url_key}_version", 0, $batcache->group); 43 | return wp_cache_incr("{$url_key}_version", 1, $batcache->group); 44 | } 45 | 46 | -------------------------------------------------------------------------------- /config/public/wp-content/plugins/batcache/readme.txt: -------------------------------------------------------------------------------- 1 | === Batcache === 2 | Contributors: automattic, andy, orensol, markjaquith, vnsavage, batmoo, yoavf 3 | Tags: cache, memcache, memcached, speed, performance, load, server 4 | Requires at least: 3.2 5 | Tested up to: 3.5 6 | Stable tag: 1.2 7 | 8 | Batcache uses Memcached to store and serve rendered pages. 9 | 10 | == Description == 11 | 12 | Batcache uses Memcached to store and serve rendered pages. It can also optionally cache redirects. It's not as fast as Donncha's WP-Super-Cache but it can be used where file-based caching is not practical or not desired. For instance, any site that is run on more than one server should use Batcache because it allows all servers to use the same storage. 13 | 14 | Development testing showed a 40x reduction in page generation times: pages generated in 200ms were served from the cache in 5ms. Traffic simulations with Siege demonstrate that WordPress can handle up to twenty times more traffic with Batcache installed. 15 | 16 | Batcache is aimed at preventing a flood of traffic from breaking your site. It does this by serving old pages to new users. This reduces the demand on the web server CPU and the database. It also means some people may see a page that is a few minutes old. However this only applies to people who have not interacted with your web site before. Once they have logged in or left a comment they will always get fresh pages. 17 | 18 | Possible future features: 19 | 20 | * Comments, edits, and new posts will trigger cache regeneration 21 | * Online installation assistance 22 | * Configuration page 23 | * Stats 24 | 25 | == Installation == 26 | 27 | 1. Get the Memcached backend working. See below. 28 | 29 | 1. Upload `advanced-cache.php` to the `/wp-content/` directory 30 | 31 | 1. Add this line the top of `wp-config.php` to activate Batcache: 32 | 33 | `define('WP_CACHE', true);` 34 | 35 | 1. Test by reloading a page in your browser several times and then viewing the source. Just above the `` closing tag you should see some Batcache stats. 36 | 37 | 1. Tweak the options near the top of `advanced-cache.php` 38 | 39 | 1. *Optional* Upload `batcache.php` to the `/wp-content/plugins/` directory. 40 | 41 | = Memcached backend = 42 | 43 | 1. Install [memcached](http://danga.com/memcached) on at least one server. Note the connection info. The default is `127.0.0.1:11211`. 44 | 45 | 1. Install the [PECL memcached extension](http://pecl.php.net/package/memcache) and [Ryan's Memcached backend 2.0](http://svn.wp-plugins.org/memcached/trunk/). Use the [1.0 branch](http://svn.wp-plugins.org/memcached/branches/1.0/) if you don't have or can't install the PECL extension. 46 | 47 | == Frequently Asked Questions == 48 | 49 | = Should I use this? = 50 | 51 | Batcache can be used anywhere Memcached is available. WP-Super-Cache is preferred for most blogs. If you have more than one web server, try Batcache. 52 | 53 | = Why was this written? = 54 | 55 | Batcache was written to help WordPress.com cope with the massive and prolonged traffic spike on Gizmodo's live blog during Apple events. Live blogs were famous for failing under the load of traffic. Gizmodo's live blog stays up because of Batcache. 56 | 57 | Actually all of WordPress.com stays up during Apple events because of Batcache. The traffic is twice the average during Apple events. But the web servers and databases barely feel the difference. 58 | 59 | = What does it have to do with bats? = 60 | 61 | Batcache was named "supercache" when it was written. (It's still called that on WordPress.com.) A few months later, while "supercache" was still private, Donncha released the WP-Super-Cache plugin. It wouldn't be fun to dispute the name or create confusion for users so a name change seemed best. The move from "Super" to "Bat" was inspired by comic book heroes. It has nothing to do with the fact that the author's city is home to the [world's largest urban bat colony](http://www.batcon.org/home/index.asp?idPage=122). 62 | 63 | == Changelog == 64 | 65 | = trunk = 66 | * Add REQUEST_METHOD to the cache keys. Prevents GET requests receiving bodyless HEAD responses. This change invalidates the entire cache at upgrade time. 67 | 68 | = 1.1 = 69 | * Many bugfixes and updates from trunk 70 | -------------------------------------------------------------------------------- /config/public/wp-content/plugins/cloudflare/readme.txt: -------------------------------------------------------------------------------- 1 | === CloudFlare === 2 | Contributors: i3149, jchen329, jamescf 3 | Tags: cloudflare, comments, spam, cdn, free, website, performance, speed 4 | Requires at least: 2.8 5 | Tested up to: 3.5 6 | Stable tag: 1.3.10 7 | License: GPLv2 8 | 9 | The CloudFlare WordPress Plugin ensures your WordPress blog is running optimally on the CloudFlare platform. 10 | 11 | == Description == 12 | 13 | CloudFlare has developed a plugin for WordPress. By using the CloudFlare WordPress Plugin, you receive: 14 | 15 | * Correct IP Address information for comments posted to your site 16 | 17 | * Better protection as spammers from your WordPress blog get reported to CloudFlare 18 | 19 | THINGS YOU NEED TO KNOW: 20 | 21 | * The main purpose of this plugin is to ensure you have no change to your originating IPs when using CloudFlare. Since CloudFlare acts a reverse proxy, connecting IPs now come from CloudFlare's range. This plugin will ensure you can continue to see the originating IP. 22 | 23 | * Every time you click the 'spam' button on your blog, this threat information is sent to CloudFlare to ensure you are constantly getting the best site protection. 24 | 25 | * We recommend that any user on WordPress and CloudFlare should use this plugin. 26 | 27 | MORE INFORMATION ON CLOUDFLARE: 28 | 29 | CloudFlare is a service that makes websites load faster and protects sites from online spammers and hackers. Any website with a root domain (ie www.mydomain.com) can use CloudFlare. On average, it takes less than 5 minutes to sign up. You can learn more here: [CloudFlare.com](https://www.cloudflare.com/overview.html). 30 | 31 | == Installation == 32 | 33 | Upload the CloudFlare plugin to your blog, Activate it, and you're done! 34 | 35 | You will also want to sign up your blog with CloudFlare.com 36 | 37 | [Read more](http://blog.cloudflare.com/introducing-the-cloudflare-wordpress-plugin) on why we created this plugin. 38 | 39 | == Changelog == 40 | 41 | = 1.3.10 = 42 | 43 | * Added IP ranges. 44 | 45 | = 1.3.9 = 46 | * Made adjustment to syntax surrounding cURL detection for PHP installations that do not have short_open_tag enabled. 47 | 48 | = 1.3.8 = 49 | * Fixed issue with invalid header. 50 | * Updated IP ranges 51 | * Fixed support link 52 | 53 | = 1.3.7 = 54 | * Remove Database Optimizer related text. 55 | 56 | = 1.3.6 = 57 | * Remove Database Optimizer. 58 | 59 | = 1.3.5 = 60 | * Disable Development Mode option if cURL not installed. Will Use JSONP in future release to allow domains without cURL to use Development Mode. 61 | 62 | = 1.3.4 = 63 | * Add in IPV6 support and Development Mode option to wordpress plugin settings page. Remove cached IP range text file. 64 | 65 | = 1.3.3 = 66 | * Bump stable version number. 67 | 68 | = 1.3.2.Beta = 69 | * BETA RELEASE: IPv6 support - Pull the IPv6 range from https://www.cloudflare.com/ips-v6. Added Development Mode option to wordpress plugin settings page. 70 | 71 | = 1.2.4 = 72 | * Pull the IP range from https://www.cloudflare.com/ips-v4. Modified to keep all files within cloudflare plugin directory. 73 | 74 | = 1.2.3 = 75 | * Updated with new IP range 76 | 77 | = 1.2.2 = 78 | * Restricted database optimization to administrators 79 | 80 | = 1.2.1 = 81 | * Increased load priority to avoid conflicts with other plugins 82 | 83 | = 1.2.0 = 84 | 85 | * WP 3.3 compatibility. 86 | 87 | = 1.1.9 = 88 | 89 | * Includes latest CloudFlare IP allocation -- 108.162.192.0/18. 90 | 91 | = 1.1.8 = 92 | 93 | * WP 3.2 compatibility. 94 | 95 | = 1.1.7 = 96 | 97 | * Implements several security updates. 98 | 99 | = 1.1.6 = 100 | 101 | * Includes latest CloudFlare IP allocation -- 141.101.64.0/18. 102 | 103 | = 1.1.5 = 104 | 105 | * Includes latest CloudFlare IP allocation -- 103.22.200.0/22. 106 | 107 | = 1.1.4 = 108 | 109 | * Updated messaging. 110 | 111 | = 1.1.3 = 112 | 113 | * Better permission checking for DB optimizer. 114 | * Added CloudFlare's latest /20 to the list of CloudFlare IP ranges. 115 | 116 | = 1.1.2 = 117 | 118 | * Fixed several broken help links. 119 | * Fixed confusing error message. 120 | 121 | = 1.1.1 = 122 | 123 | * Fix for Admin menus which are breaking when page variable contains '-'. 124 | 125 | = 1.1.0 = 126 | 127 | * Added a box to input CloudFlare API credentials. 128 | * Added a call to CloudFlare's report spam API when a comment is marked as spam. 129 | 130 | = 1.0.1 = 131 | 132 | * Fix to check that it is OK to add a header before adding one. 133 | 134 | = 1.0.0 = 135 | 136 | * Initial feature set 137 | * Set RemoteIP header correctly. 138 | * On comment spam, send the offending IP to CloudFlare. 139 | * Clean up DB on load. 140 | -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/admin/admin-functions.php: -------------------------------------------------------------------------------- 1 | $title, 29 | 'content' => $elm_id, 30 | 'options' => $options ); 31 | 32 | if ( is_callable( $callback ) ) 33 | add_action( 'wpcf7_admin_footer', $callback ); 34 | 35 | return true; 36 | } 37 | 38 | function wpcf7_tag_generators() { 39 | global $wpcf7_tag_generators; 40 | 41 | $taggenerators = array(); 42 | 43 | foreach ( (array) $wpcf7_tag_generators as $name => $tg ) { 44 | $taggenerators[$name] = array_merge( 45 | (array) $tg['options'], 46 | array( 'title' => $tg['title'], 'content' => $tg['content'] ) ); 47 | } 48 | 49 | return $taggenerators; 50 | } 51 | 52 | ?> -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/admin/css/styles-rtl.css: -------------------------------------------------------------------------------- 1 | div.save-contact-form { 2 | direction: rtl; 3 | } 4 | 5 | div.actions-link { 6 | right: auto; 7 | left: 0; 8 | } 9 | 10 | div.tg-pane table caption { 11 | text-align: right; 12 | } 13 | 14 | div.tg-dropdown { 15 | left: auto; 16 | right: 0; 17 | } 18 | 19 | div.wrap div.cf7com-links { 20 | text-align: left; 21 | } -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/admin/images/dropdown.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/admin/images/dropdown.gif -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/admin/images/fade-butt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/admin/images/fade-butt.png -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/admin/images/menu-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/admin/images/menu-icon.png -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/admin/images/screen-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/admin/images/screen-icon.png -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/admin/js/scripts.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | 3 | $(function() { 4 | try { 5 | $('div.cf7com-links').insertAfter($('div.wrap h2:first')); 6 | 7 | $.extend($.tgPanes, _wpcf7.tagGenerators); 8 | $('#taggenerator').tagGenerator(_wpcf7.generateTag, { 9 | dropdownIconUrl: _wpcf7.pluginUrl + '/admin/images/dropdown.gif', 10 | fadebuttImageUrl: _wpcf7.pluginUrl + '/admin/images/fade-butt.png' }); 11 | 12 | $('input#wpcf7-title:disabled').css({cursor: 'default'}); 13 | 14 | $('input#wpcf7-title').mouseover(function() { 15 | $(this).not('.focus').addClass('mouseover'); 16 | }); 17 | 18 | $('input#wpcf7-title').mouseout(function() { 19 | $(this).removeClass('mouseover'); 20 | }); 21 | 22 | $('input#wpcf7-title').focus(function() { 23 | $(this).addClass('focus').removeClass('mouseover'); 24 | }); 25 | 26 | $('input#wpcf7-title').blur(function() { 27 | $(this).removeClass('focus'); 28 | }); 29 | 30 | $('input#wpcf7-title').change(function() { 31 | updateTag(); 32 | }); 33 | 34 | updateTag(); 35 | 36 | $('.check-if-these-fields-are-active').each(function(index) { 37 | if (! $(this).is(':checked')) 38 | $(this).parent().siblings('.mail-fields').hide(); 39 | 40 | $(this).click(function() { 41 | if ($(this).parent().siblings('.mail-fields').is(':hidden') 42 | && $(this).is(':checked')) { 43 | $(this).parent().siblings('.mail-fields').slideDown('fast'); 44 | } else if ($(this).parent().siblings('.mail-fields').is(':visible') 45 | && $(this).not(':checked')) { 46 | $(this).parent().siblings('.mail-fields').slideUp('fast'); 47 | } 48 | }); 49 | }); 50 | 51 | postboxes.add_postbox_toggles(_wpcf7.screenId); 52 | 53 | } catch (e) { 54 | } 55 | }); 56 | 57 | function updateTag() { 58 | var title = $('input#wpcf7-title').val(); 59 | 60 | if (title) 61 | title = title.replace(/["'\[\]]/g, ''); 62 | 63 | $('input#wpcf7-title').val(title); 64 | var postId = $('input#post_ID').val(); 65 | var tag = '[contact-form-7 id="' + postId + '" title="' + title + '"]'; 66 | $('input#contact-form-anchor-text').val(tag); 67 | 68 | var oldId = $('input#wpcf7-id').val(); 69 | 70 | if (0 != oldId) { 71 | var tagOld = '[contact-form ' + oldId + ' "' + title + '"]'; 72 | $('input#contact-form-anchor-text-old').val(tagOld).parent('p.tagcode').show(); 73 | } 74 | } 75 | 76 | })(jQuery); -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/images/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/images/ajax-loader.gif -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/includes/capabilities.php: -------------------------------------------------------------------------------- 1 | WPCF7_ADMIN_READ_WRITE_CAPABILITY, 8 | 'wpcf7_edit_contact_forms' => WPCF7_ADMIN_READ_WRITE_CAPABILITY, 9 | 'wpcf7_read_contact_forms' => WPCF7_ADMIN_READ_CAPABILITY, 10 | 'wpcf7_delete_contact_form' => WPCF7_ADMIN_READ_WRITE_CAPABILITY ); 11 | 12 | $meta_caps = apply_filters( 'wpcf7_map_meta_cap', $meta_caps ); 13 | 14 | $caps = array_diff( $caps, array_keys( $meta_caps ) ); 15 | 16 | if ( isset( $meta_caps[$cap] ) ) 17 | $caps[] = $meta_caps[$cap]; 18 | 19 | return $caps; 20 | } 21 | 22 | ?> -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/includes/css/styles-rtl.css: -------------------------------------------------------------------------------- 1 | span.wpcf7-not-valid-tip { 2 | left: auto; 3 | right: 20%; 4 | direction: rtl; 5 | } 6 | span.wpcf7-not-valid-tip-no-ajax { 7 | direction: rtl; 8 | } 9 | span.wpcf7-list-item { 10 | margin-left: 0; 11 | margin-right: 0.5em; 12 | } 13 | -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/includes/css/styles.css: -------------------------------------------------------------------------------- 1 | div.wpcf7 { 2 | margin: 0; 3 | padding: 0; 4 | } 5 | 6 | div.wpcf7-response-output { 7 | margin: 2em 0.5em 1em; 8 | padding: 0.2em 1em; 9 | } 10 | 11 | div.wpcf7-mail-sent-ok { 12 | border: 2px solid #398f14; 13 | } 14 | 15 | div.wpcf7-mail-sent-ng { 16 | border: 2px solid #ff0000; 17 | } 18 | 19 | div.wpcf7-spam-blocked { 20 | border: 2px solid #ffa500; 21 | } 22 | 23 | div.wpcf7-validation-errors { 24 | border: 2px solid #f7e700; 25 | } 26 | 27 | span.wpcf7-form-control-wrap { 28 | position: relative; 29 | } 30 | 31 | span.wpcf7-not-valid-tip { 32 | position: absolute; 33 | top: 20%; 34 | left: 20%; 35 | z-index: 100; 36 | background: #fff; 37 | border: 1px solid #ff0000; 38 | font-size: 10pt; 39 | width: 280px; 40 | padding: 2px; 41 | } 42 | 43 | span.wpcf7-not-valid-tip-no-ajax { 44 | color: #f00; 45 | font-size: 10pt; 46 | display: block; 47 | } 48 | 49 | span.wpcf7-list-item { 50 | margin-left: 0.5em; 51 | } 52 | 53 | .wpcf7-display-none { 54 | display: none; 55 | } 56 | 57 | div.wpcf7 img.ajax-loader { 58 | border: none; 59 | vertical-align: middle; 60 | margin-left: 4px; 61 | } 62 | 63 | div.wpcf7 div.ajax-error { 64 | display: none; 65 | } 66 | 67 | div.wpcf7 .placeheld { 68 | color: #888; 69 | } -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/includes/deprecated.php: -------------------------------------------------------------------------------- 1 | 'wpcf7' ); 10 | $args = wp_parse_args( $args, $defaults ); 11 | 12 | $url = menu_page_url( $args['page'], false ); 13 | unset( $args['page'] ); 14 | 15 | $url = add_query_arg( $args, $url ); 16 | 17 | return esc_url_raw( $url ); 18 | } 19 | 20 | function wpcf7_contact_form_default_pack( $locale = null ) { 21 | wpcf7_deprecated_function( __FUNCTION__, '3.0', 'wpcf7_get_contact_form_default_pack()' ); 22 | 23 | return wpcf7_get_contact_form_default_pack( array( 'locale' => $locale ) ); 24 | } 25 | 26 | ?> -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/animated-overlay.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/animated-overlay.gif -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/includes/js/jquery-ui/themes/smoothness/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/includes/pipe.php: -------------------------------------------------------------------------------- 1 | before = $this->after = trim( $text ); 12 | } else { 13 | $this->before = trim( substr( $text, 0, $pipe_pos ) ); 14 | $this->after = trim( substr( $text, $pipe_pos + 1 ) ); 15 | } 16 | } 17 | } 18 | 19 | class WPCF7_Pipes { 20 | 21 | var $pipes = array(); 22 | 23 | function WPCF7_Pipes( $texts ) { 24 | if ( ! is_array( $texts ) ) 25 | return; 26 | 27 | foreach ( $texts as $text ) { 28 | $this->add_pipe( $text ); 29 | } 30 | } 31 | 32 | function add_pipe( $text ) { 33 | $pipe = new WPCF7_Pipe( $text ); 34 | $this->pipes[] = $pipe; 35 | } 36 | 37 | function do_pipe( $before ) { 38 | foreach ( $this->pipes as $pipe ) { 39 | if ( $pipe->before == $before ) 40 | return $pipe->after; 41 | } 42 | return $before; 43 | } 44 | 45 | function collect_befores() { 46 | $befores = array(); 47 | 48 | foreach ( $this->pipes as $pipe ) { 49 | $befores[] = $pipe->before; 50 | } 51 | 52 | return $befores; 53 | } 54 | 55 | function zero() { 56 | return empty( $this->pipes ); 57 | } 58 | 59 | function random_pipe() { 60 | if ( $this->zero() ) 61 | return null; 62 | 63 | return $this->pipes[array_rand( $this->pipes )]; 64 | } 65 | } 66 | 67 | ?> -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/readme.txt: -------------------------------------------------------------------------------- 1 | == For Translators == 2 | 3 | Note: this folder contains MO files and POT file only. If you are looking for PO file, you can download it from here: 4 | 5 | http://plugins.svn.wordpress.org/contact-form-7/branches/languages/ 6 | 7 | If you have created your own translation, or have an update of an existing one, please send it to Takayuki Miyoshi so that I can bundle it into the next release of Contact Form 7. 8 | 9 | Thank you. -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-af.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-af.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ar.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ar.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-az_AZ.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-az_AZ.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-be_BY.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-be_BY.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-bg_BG.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-bg_BG.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-bn_BD.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-bn_BD.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-bn_IN.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-bn_IN.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-bs.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-bs.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ca.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ca.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ckb.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ckb.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-cs_CZ.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-cs_CZ.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-da_DK.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-da_DK.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-de_DE.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-el.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-el.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-eo_EO.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-eo_EO.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-es_ES.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-es_ES.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-et.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-et.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-eu.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-eu.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-fa_IR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-fa_IR.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-fi.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-fi.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-fr_FR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-fr_FR.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ga_IE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ga_IE.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-gl_ES.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-gl_ES.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-gu_IN.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-gu_IN.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-he_IL.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-he_IL.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-hi_IN.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-hi_IN.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-hr.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-hr.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-hu_HU.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-hu_HU.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-hy_AM.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-hy_AM.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-id_ID.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-id_ID.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-it_IT.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-it_IT.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ja.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ja.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ka_GE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ka_GE.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ko_KR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ko_KR.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-lt_LT.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-lt_LT.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-lv.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-lv.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-mk_MK.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-mk_MK.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ml_IN.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ml_IN.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ms_MY.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ms_MY.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-mt_MT.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-mt_MT.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-nb_NO.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-nb_NO.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-nl_NL.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-nl_NL.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-pl_PL.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-pl_PL.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-pt_BR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-pt_BR.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-pt_PT.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-pt_PT.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ro_RO.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ro_RO.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ru_RU.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ru_RU.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-si_LK.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-si_LK.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-sk_SK.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-sk_SK.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-sl_SI.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-sl_SI.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-sq.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-sq.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-sr_RS.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-sr_RS.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-sv_SE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-sv_SE.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ta.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-ta.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-th.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-th.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-tl.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-tl.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-tr_TR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-tr_TR.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-uk.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-uk.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-vi.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-vi.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-zh_CN.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-zh_CN.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/languages/wpcf7-zh_TW.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/plugins/contact-form-7/languages/wpcf7-zh_TW.mo -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/modules/akismet.php: -------------------------------------------------------------------------------- 1 | $value ) { 49 | if ( ! in_array( $key, (array) $ignore ) ) 50 | $c["$key"] = $value; 51 | } 52 | 53 | return wpcf7_akismet_comment_check( $c ); 54 | } 55 | 56 | function wpcf7_akismet_submitted_params() { 57 | $params = array( 58 | 'author' => '', 59 | 'author_email' => '', 60 | 'author_url' => '' ); 61 | 62 | $content = ''; 63 | 64 | $fes = wpcf7_scan_shortcode(); 65 | 66 | foreach ( $fes as $fe ) { 67 | if ( ! isset( $fe['name'] ) || ! isset( $_POST[$fe['name']] ) ) 68 | continue; 69 | 70 | $value = $_POST[$fe['name']]; 71 | 72 | if ( is_array( $value ) ) 73 | $value = implode( ', ', wpcf7_array_flatten( $value ) ); 74 | 75 | $value = trim( $value ); 76 | 77 | $options = (array) $fe['options']; 78 | 79 | if ( preg_grep( '%^akismet:author$%', $options ) ) { 80 | $params['author'] = trim( $params['author'] . ' ' . $value ); 81 | 82 | } elseif ( preg_grep( '%^akismet:author_email$%', $options ) ) { 83 | if ( '' == $params['author_email'] ) 84 | $params['author_email'] = $value; 85 | 86 | } elseif ( preg_grep( '%^akismet:author_url$%', $options ) ) { 87 | if ( '' == $params['author_url'] ) 88 | $params['author_url'] = $value; 89 | } 90 | 91 | $content = trim( $content . "\n\n" . $value ); 92 | } 93 | 94 | $params = array_filter( $params ); 95 | 96 | if ( ! $params ) 97 | return false; 98 | 99 | $params['content'] = $content; 100 | 101 | return $params; 102 | } 103 | 104 | function wpcf7_akismet_comment_check( $comment ) { 105 | global $akismet_api_host, $akismet_api_port; 106 | 107 | $spam = false; 108 | $query_string = ''; 109 | 110 | foreach ( $comment as $key => $data ) 111 | $query_string .= $key . '=' . urlencode( stripslashes( (string) $data ) ) . '&'; 112 | 113 | $response = akismet_http_post( $query_string, 114 | $akismet_api_host, '/1.1/comment-check', $akismet_api_port ); 115 | 116 | if ( 'true' == $response[1] ) 117 | $spam = true; 118 | 119 | if ( $contact_form = wpcf7_get_current_contact_form() ) 120 | $contact_form->akismet = array( 'comment' => $comment, 'spam' => $spam ); 121 | 122 | return apply_filters( 'wpcf7_akismet_comment_check', $spam, $comment ); 123 | } 124 | 125 | ?> -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/modules/flamingo.php: -------------------------------------------------------------------------------- 1 | 'contact-form-7' ) ); 17 | } 18 | } 19 | 20 | add_action( 'wpcf7_before_send_mail', 'wpcf7_flamingo_before_send_mail' ); 21 | 22 | function wpcf7_flamingo_before_send_mail( $contactform ) { 23 | if ( ! ( class_exists( 'Flamingo_Contact' ) && class_exists( 'Flamingo_Inbound_Message' ) ) ) 24 | return; 25 | 26 | if ( empty( $contactform->posted_data ) || ! empty( $contactform->skip_mail ) ) 27 | return; 28 | 29 | $fields_senseless = $contactform->form_scan_shortcode( 30 | array( 'type' => array( 'captchar', 'quiz', 'acceptance' ) ) ); 31 | 32 | $exclude_names = array(); 33 | 34 | foreach ( $fields_senseless as $tag ) 35 | $exclude_names[] = $tag['name']; 36 | 37 | $posted_data = $contactform->posted_data; 38 | 39 | foreach ( $posted_data as $key => $value ) { 40 | if ( '_' == substr( $key, 0, 1 ) || in_array( $key, $exclude_names ) ) 41 | unset( $posted_data[$key] ); 42 | } 43 | 44 | $email = isset( $posted_data['your-email'] ) ? trim( $posted_data['your-email'] ) : ''; 45 | $name = isset( $posted_data['your-name'] ) ? trim( $posted_data['your-name'] ) : ''; 46 | $subject = isset( $posted_data['your-subject'] ) ? trim( $posted_data['your-subject'] ) : ''; 47 | 48 | $meta = array(); 49 | 50 | $special_mail_tags = array( 'remote_ip', 'user_agent', 'url', 'date', 'time', 51 | 'post_id', 'post_name', 'post_title', 'post_url', 'post_author', 'post_author_email' ); 52 | 53 | foreach ( $special_mail_tags as $smt ) 54 | $meta[$smt] = apply_filters( 'wpcf7_special_mail_tags', '', '_' . $smt, false ); 55 | 56 | $akismet = isset( $contactform->akismet ) ? (array) $contactform->akismet : null; 57 | 58 | Flamingo_Contact::add( array( 59 | 'email' => $email, 60 | 'name' => $name ) ); 61 | 62 | Flamingo_Inbound_Message::add( array( 63 | 'channel' => 'contact-form-7', 64 | 'subject' => $subject, 65 | 'from' => trim( sprintf( '%s <%s>', $name, $email ) ), 66 | 'from_name' => $name, 67 | 'from_email' => $email, 68 | 'fields' => $posted_data, 69 | 'meta' => $meta, 70 | 'akismet' => $akismet ) ); 71 | } 72 | 73 | ?> -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/modules/jetpack.php: -------------------------------------------------------------------------------- 1 | postmeta WHERE meta_key = '_old_cf7_unit_id'"; 14 | 15 | if ( ! $wpdb->get_var( $q ) ) 16 | return; 17 | 18 | $url = 'http://contactform7.com/jetpack-overrides-contact-forms/'; 19 | ?> 20 |
21 |

Jetpack may cause problems for other plugins in certain cases. See how to avoid it.', 'wpcf7' ), $url ); ?>

22 |
23 | -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/modules/response.php: -------------------------------------------------------------------------------- 1 | responses_count += 1; 13 | return $contact_form->form_response_output(); 14 | } 15 | } 16 | 17 | ?> -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/modules/special-mail-tags.php: -------------------------------------------------------------------------------- 1 | post_author ); 55 | 56 | // For backwards compat. 57 | $name = preg_replace( '/^wpcf7\./', '_', $name ); 58 | 59 | if ( '_post_id' == $name ) 60 | $output = (string) $post->ID; 61 | 62 | elseif ( '_post_name' == $name ) 63 | $output = $post->post_name; 64 | 65 | elseif ( '_post_title' == $name ) 66 | $output = $post->post_title; 67 | 68 | elseif ( '_post_url' == $name ) 69 | $output = get_permalink( $post->ID ); 70 | 71 | elseif ( '_post_author' == $name ) 72 | $output = $user->display_name; 73 | 74 | elseif ( '_post_author_email' == $name ) 75 | $output = $user->user_email; 76 | 77 | return $output; 78 | } 79 | 80 | ?> -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/modules/submit.php: -------------------------------------------------------------------------------- 1 | type ); 18 | 19 | $atts = array(); 20 | 21 | $atts['class'] = $tag->get_class_option( $class ); 22 | $atts['id'] = $tag->get_option( 'id', 'id', true ); 23 | $atts['tabindex'] = $tag->get_option( 'tabindex', 'int', true ); 24 | 25 | $value = isset( $tag->values[0] ) ? $tag->values[0] : ''; 26 | 27 | if ( empty( $value ) ) 28 | $value = __( 'Send', 'wpcf7' ); 29 | 30 | $atts['type'] = 'submit'; 31 | $atts['value'] = $value; 32 | 33 | $atts = wpcf7_format_atts( $atts ); 34 | 35 | $html = sprintf( '', $atts ); 36 | 37 | return $html; 38 | } 39 | 40 | 41 | /* Tag generator */ 42 | 43 | add_action( 'admin_init', 'wpcf7_add_tag_generator_submit', 55 ); 44 | 45 | function wpcf7_add_tag_generator_submit() { 46 | if ( ! function_exists( 'wpcf7_add_tag_generator' ) ) 47 | return; 48 | 49 | wpcf7_add_tag_generator( 'submit', __( 'Submit button', 'wpcf7' ), 50 | 'wpcf7-tg-pane-submit', 'wpcf7_tg_pane_submit', array( 'nameless' => 1 ) ); 51 | } 52 | 53 | function wpcf7_tg_pane_submit( &$contact_form ) { 54 | ?> 55 | 77 | -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/uninstall.php: -------------------------------------------------------------------------------- 1 | -1, 13 | 'post_type' => 'wpcf7_contact_form', 14 | 'post_status' => 'any' ) ); 15 | 16 | foreach ( $posts as $post ) 17 | wp_delete_post( $post->ID, true ); 18 | 19 | $table_name = $wpdb->prefix . "contact_form_7"; 20 | 21 | $wpdb->query( "DROP TABLE IF EXISTS $table_name" ); 22 | } 23 | 24 | wpcf7_delete_plugin(); 25 | 26 | ?> -------------------------------------------------------------------------------- /config/public/wp-content/plugins/contact-form-7/wp-contact-form-7.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /config/public/wp-content/plugins/hello.php: -------------------------------------------------------------------------------- 1 | Hello, Dolly in the upper right of your admin screen on every page. 10 | Author: Matt Mullenweg 11 | Version: 1.6 12 | Author URI: http://ma.tt/ 13 | */ 14 | 15 | function hello_dolly_get_lyric() { 16 | /** These are the lyrics to Hello Dolly */ 17 | $lyrics = "Hello, Dolly 18 | Well, hello, Dolly 19 | It's so nice to have you back where you belong 20 | You're lookin' swell, Dolly 21 | I can tell, Dolly 22 | You're still glowin', you're still crowin' 23 | You're still goin' strong 24 | We feel the room swayin' 25 | While the band's playin' 26 | One of your old favourite songs from way back when 27 | So, take her wrap, fellas 28 | Find her an empty lap, fellas 29 | Dolly'll never go away again 30 | Hello, Dolly 31 | Well, hello, Dolly 32 | It's so nice to have you back where you belong 33 | You're lookin' swell, Dolly 34 | I can tell, Dolly 35 | You're still glowin', you're still crowin' 36 | You're still goin' strong 37 | We feel the room swayin' 38 | While the band's playin' 39 | One of your old favourite songs from way back when 40 | Golly, gee, fellas 41 | Find her a vacant knee, fellas 42 | Dolly'll never go away 43 | Dolly'll never go away 44 | Dolly'll never go away again"; 45 | 46 | // Here we split it into lines 47 | $lyrics = explode( "\n", $lyrics ); 48 | 49 | // And then randomly choose a line 50 | return wptexturize( $lyrics[ mt_rand( 0, count( $lyrics ) - 1 ) ] ); 51 | } 52 | 53 | // This just echoes the chosen line, we'll position it later 54 | function hello_dolly() { 55 | $chosen = hello_dolly_get_lyric(); 56 | echo "

$chosen

"; 57 | } 58 | 59 | // Now we set that function up to execute when the admin_notices action is called 60 | add_action( 'admin_notices', 'hello_dolly' ); 61 | 62 | // We need some CSS to position the paragraph 63 | function dolly_css() { 64 | // This makes sure that the positioning is also good for right-to-left languages 65 | $x = is_rtl() ? 'left' : 'right'; 66 | 67 | echo " 68 | 77 | "; 78 | } 79 | 80 | add_action( 'admin_head', 'dolly_css' ); 81 | 82 | ?> 83 | -------------------------------------------------------------------------------- /config/public/wp-content/plugins/heroku-google-analytics.php: -------------------------------------------------------------------------------- 1 | 17 | 30 | -------------------------------------------------------------------------------- /config/public/wp-content/plugins/heroku-sendgrid.php: -------------------------------------------------------------------------------- 1 | IsSMTP(); 15 | 16 | $phpmailer->Host = 'smtp.sendgrid.net'; 17 | $phpmailer->Username = getenv("SENDGRID_USERNAME"); 18 | $phpmailer->Password = getenv("SENDGRID_PASSWORD"); 19 | $phpmailer->Hostname = getenv("SERVER_NAME"); 20 | $phpmailer->Port = 587; 21 | $phpmailer->SMTPAuth = true; 22 | $phpmailer->SMTPSecure = 'tls'; 23 | } 24 | 25 | add_filter('wp_mail_from', 'change_mail_from'); 26 | 27 | /* Return from email address */ 28 | function change_mail_from($wp_mail_from) 29 | { 30 | return get_bloginfo('admin_email', 'raw'); 31 | } 32 | 33 | add_filter('wp_mail_from_name', 'change_mail_from_name'); 34 | 35 | /* Return mail from name */ 36 | function change_mail_from_name($wp_mail_from_name) 37 | { 38 | $display_name = get_userdata(1)->display_name; 39 | $blogname = get_bloginfo('blogname', 'raw'); 40 | return "$display_name from $blogname"; 41 | } 42 | 43 | add_filter('wpcf7_mail_components', 'send_from_wpcf7'); 44 | 45 | function send_from_wpcf7($components) { 46 | // In the case where wpcf7 is called, 47 | // depend on those settings instead. 48 | remove_filter('wp_mail_from', 'change_mail_from'); 49 | remove_filter('wp_mail_from_name', 'change_mail_from_name'); 50 | 51 | return $components; 52 | } 53 | 54 | ?> -------------------------------------------------------------------------------- /config/public/wp-content/plugins/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /config/public/wp-content/plugins/memcachier/readme.txt: -------------------------------------------------------------------------------- 1 | === MemCachier === 2 | Contributors: PerS, ryan, sivel 3 | Tags: cache, Memcachier, Memcached, admin, manage cache, object cache, WP Object Cache 4 | Requires at least: 3.4 5 | Tested up to: 3.5 6 | Stable Tag: 1.0 7 | 8 | Use MemCachier to implement WP Object Cache 9 | 10 | == Description == 11 | 12 | Changed the [Memcached WP Object Cache](http://wordpress.org/extend/plugins/memcached/) backend to use [MemCachier](http://www.memcachier.com/). 13 | 14 | This initial release is only tested with WordPress at [AppFog](https://www.appfog.com/products/appfog/jumpstarts/), but [should work on other sites](http://www.memcachier.com/2012/12/19/memcachier-powered-wordpress-object-caching/). 15 | 16 | 17 | Demo at [memcachier.soderlind.no](http://memcachier.soderlind.no) 18 | 19 | = Credits = 20 | I've only [changed the WP_Object_Cache constructor](http://soderlind.no/archives/2012/12/19/memcachier-backend-for-the-wp-object-cache/), so the credits goes to ryan and sivel for [Memcached WP Object Cache](http://wordpress.org/extend/plugins/memcached/), and ronnywang for [PHPMemcacheSASL](https://github.com/ronnywang/PHPMemcacheSASL) 21 | 22 | == Installation == 23 | 1. Add [MemCachier](https://www.appfog.com/products/appfog/add-ons/) to your WordPress site at AppFog 24 | 1. Install the plugin by copying it to the plugins/memcachier folder 25 | 1. Move plugins/memcachier/object-cache.php to wp-content/object-cache.php 26 | 27 | == Changelog == 28 | 29 | = 1.0 = 30 | * Initial release 31 | 32 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/404.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 |
14 | 15 |
16 |
17 |

18 |
19 | 20 |
21 |

22 | 23 | 24 | 25 | 10 ), array( 'widget_id' => '404' ) ); ?> 26 | 27 |
28 |

29 |
    30 | 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10 ) ); ?> 31 |
32 |
33 | 34 | ' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'twentyeleven' ), convert_smilies( ':)' ) ) . '

'; 37 | the_widget( 'WP_Widget_Archives', array('count' => 0 , 'dropdown' => 1 ), array( 'after_title' => ''.$archive_content ) ); 38 | ?> 39 | 40 | 41 | 42 |
43 |
44 | 45 |
46 |
47 | 48 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/archive.php: -------------------------------------------------------------------------------- 1 | 16 | 17 |
18 |
19 | 20 | 21 | 22 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 |
56 |
57 |

58 |
59 | 60 |
61 |

62 | 63 |
64 |
65 | 66 | 67 | 68 |
69 |
70 | 71 | 72 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/author.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 |
14 | 15 | 16 | 17 | 26 | 27 | 30 | 31 | 38 | 39 | 40 | 41 | 44 |
45 |
46 | 47 |
48 |
49 |

50 | 51 |
52 |
53 | 54 | 55 | 56 | 57 | 58 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 |
73 |
74 |

75 |
76 | 77 |
78 |

79 | 80 |
81 |
82 | 83 | 84 | 85 |
86 |
87 | 88 | 89 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/category.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 |
14 | 15 | 16 | 17 |
' ); 26 | ?> 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 |
49 |
50 |

51 |
52 | 53 |
54 |

55 | 56 |
57 |
58 | 59 | 60 | 61 | 62 |
63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/comments.php: -------------------------------------------------------------------------------- 1 | 15 |
16 | 17 |

18 |
19 | 27 | 28 | 29 | 30 | 31 |

32 | ' . get_the_title() . '' ); 35 | ?> 36 |

37 | 38 | 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> 39 | 44 | 45 | 46 |
    47 | 'twentyeleven_comment' ) ); 55 | ?> 56 |
57 | 58 | 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> 59 | 64 | 65 | 66 | 71 |

72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/content-aside.php: -------------------------------------------------------------------------------- 1 | 12 | 13 |
> 14 |
15 |
16 |

17 |

18 |
19 | 20 | 21 | 24 | 25 |
26 | 27 | 28 |
29 | 30 |
31 | 32 |
33 | →', 'twentyeleven' ) ); ?> 34 | '' ) ); ?> 35 |
36 | 37 | 38 |
39 | 40 | 41 | | 42 | ' . __( 'Leave a reply', 'twentyeleven' ) . '', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?> 43 | 44 | ', '' ); ?> 45 |
46 |
47 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/content-featured.php: -------------------------------------------------------------------------------- 1 | 12 |
> 13 |
14 |

15 | 16 | 19 |
20 | 21 |
22 | 23 | '' ) ); ?> 24 |
25 | 26 |
27 | permalink.', 'twentyeleven' ); 32 | } else { 33 | $utility_text = __( 'This entry was posted in %1$s. Bookmark the permalink.', 'twentyeleven' ); 34 | } 35 | printf( 36 | $utility_text, 37 | /* translators: used between list items, there is a space after the comma */ 38 | get_the_category_list( __( ', ', 'twentyeleven' ) ), 39 | $tag_list, 40 | esc_url( get_permalink() ), 41 | the_title_attribute( 'echo=0' ) 42 | ); 43 | ?> 44 | 45 | ', '' ); ?> 46 |
47 |
48 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/content-gallery.php: -------------------------------------------------------------------------------- 1 | 12 | 13 |
> 14 |
15 |
16 |

17 |

18 |
19 | 20 | 23 |
24 | 25 | 26 |
27 | 28 |
29 | 30 |
31 | 32 | →', 'twentyeleven' ) ); ?> 33 | 34 | 35 | $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 999 ) ); 37 | if ( $images ) : 38 | $total_images = count( $images ); 39 | $image = array_shift( $images ); 40 | $image_img_tag = wp_get_attachment_image( $image->ID, 'thumbnail' ); 41 | ?> 42 | 43 | 46 | 47 |

%2$s photo.', 'This gallery contains %2$s photos.', $total_images, 'twentyeleven' ), 48 | 'href="' . esc_url( get_permalink() ) . '" title="' . esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ) . '" rel="bookmark"', 49 | number_format_i18n( $total_images ) 50 | ); ?>

51 | 52 | 53 | 54 | '' ) ); ?> 55 |
56 | 57 | 58 |
59 | 60 | 65 | 66 | Posted in %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); 67 | $show_sep = true; ?> 68 | 69 | 70 | 75 | | 76 | 77 | 78 | Tagged %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); 79 | $show_sep = true; ?> 80 | 81 | 82 | 83 | 84 | 85 | | 86 | 87 | ' . __( 'Leave a reply', 'twentyeleven' ) . '', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?> 88 | 89 | 90 | ', '' ); ?> 91 |
92 |
93 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/content-image.php: -------------------------------------------------------------------------------- 1 | 12 |
> 13 |
14 |
15 |

16 |

17 |
18 | 19 | 20 | 23 | 24 |
25 | 26 |
27 | →', 'twentyeleven' ) ); ?> 28 | '' ) ); ?> 29 |
30 | 31 |
32 | 44 | 67 | 68 | ', '' ); ?> 69 |
70 |
71 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/content-intro.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |
> 12 |
13 |

14 |
15 | 16 |
17 | 18 | '' ) ); ?> 19 | ', '' ); ?> 20 |
21 |
22 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/content-link.php: -------------------------------------------------------------------------------- 1 | 12 | 13 |
> 14 |
15 |
16 |

17 |

18 |
19 | 20 | 21 | 24 | 25 |
26 | 27 | 28 |
29 | 30 |
31 | 32 |
33 | →', 'twentyeleven' ) ); ?> 34 | '' ) ); ?> 35 |
36 | 37 | 38 |
39 | 40 | 41 | | 42 | ' . __( 'Leave a reply', 'twentyeleven' ) . '', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?> 43 | 44 | ', '' ); ?> 45 |
46 |
47 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/content-page.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |
> 12 |
13 |

14 |
15 | 16 |
17 | 18 | '' ) ); ?> 19 |
20 |
21 | ', '' ); ?> 22 |
23 |
24 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/content-quote.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |
> 12 |
13 |
14 |

15 |

16 |
17 | 18 | 21 | 22 | 23 | 26 | 27 |
28 | 29 | 30 |
31 | 32 |
33 | 34 |
35 | →', 'twentyeleven' ) ); ?> 36 | '' ) ); ?> 37 |
38 | 39 | 40 |
41 | 42 | 47 | 48 | Posted in %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); 49 | $show_sep = true; ?> 50 | 51 | 52 | 57 | | 58 | 59 | 60 | Tagged %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); 61 | $show_sep = true; ?> 62 | 63 | 64 | 65 | 66 | 67 | | 68 | 69 | ' . __( 'Leave a reply', 'twentyeleven' ) . '', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?> 70 | 71 | 72 | ', '' ); ?> 73 |
74 |
75 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/content-single.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |
> 12 |
13 |

14 | 15 | 16 | 19 | 20 |
21 | 22 |
23 | 24 | '' ) ); ?> 25 |
26 | 27 |
28 | %5$s. Bookmark the permalink.', 'twentyeleven' ); 36 | } elseif ( '' != $categories_list ) { 37 | $utility_text = __( 'This entry was posted in %1$s by %5$s. Bookmark the permalink.', 'twentyeleven' ); 38 | } else { 39 | $utility_text = __( 'This entry was posted by %5$s. Bookmark the permalink.', 'twentyeleven' ); 40 | } 41 | 42 | printf( 43 | $utility_text, 44 | $categories_list, 45 | $tag_list, 46 | esc_url( get_permalink() ), 47 | the_title_attribute( 'echo=0' ), 48 | get_the_author(), 49 | esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) 50 | ); 51 | ?> 52 | ', '' ); ?> 53 | 54 | 55 |
56 |
57 | 58 |
59 | 68 |
69 | 70 |
71 |
72 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/content-status.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
> 13 |
14 |
15 |

16 |

17 |
18 | 19 | 20 | 23 | 24 |
25 | 26 | 27 |
28 | 29 |
30 | 31 |
32 |
33 | 34 | →', 'twentyeleven' ) ); ?> 35 | '' ) ); ?> 36 |
37 | 38 | 39 |
40 | 41 | 42 | | 43 | ' . __( 'Leave a reply', 'twentyeleven' ) . '', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?> 44 | 45 | ', '' ); ?> 46 |
47 |
48 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/content.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |
> 12 |
13 | 14 |
15 |

16 |

17 |
18 | 19 |

20 | 21 | 22 | 23 | 26 | 27 | 28 | 29 | 32 | 33 |
34 | 35 | 36 |
37 | 38 |
39 | 40 |
41 | →', 'twentyeleven' ) ); ?> 42 | '' ) ); ?> 43 |
44 | 45 | 46 |
47 | 48 | 49 | 54 | 55 | Posted in %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); 56 | $show_sep = true; ?> 57 | 58 | 59 | 60 | 61 | 66 | | 67 | 68 | 69 | Tagged %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); 70 | $show_sep = true; ?> 71 | 72 | 73 | 74 | 75 | 76 | 77 | | 78 | 79 | ' . __( 'Leave a reply', 'twentyeleven' ) . '', __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?> 80 | 81 | 82 | ', '' ); ?> 83 |
84 |
85 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/editor-style-rtl.css: -------------------------------------------------------------------------------- 1 | /* 2 | Theme Name: Twenty Eleven 3 | */ 4 | /* 5 | Used to style the TinyMCE editor. 6 | */ 7 | html .mceContentBody { 8 | direction: rtl; 9 | unicode-bidi: embed; 10 | float: right; 11 | width: 584px; 12 | } 13 | * { 14 | font-family: Arial, Tahoma, sans-serif; 15 | } 16 | ul, ol { 17 | margin: 0 2.5em 1.625em 0; 18 | } 19 | blockquote { 20 | font-style: normal; 21 | } 22 | table { 23 | text-align: right; 24 | } -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/footer.php: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | 15 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/image.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 |
14 | 15 | 16 | 17 | 22 | 23 |
> 24 |
25 |

26 | 27 | 43 | 44 |
45 | 46 |
47 | 48 |
49 |
50 | $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID' ) ) ); 56 | foreach ( $attachments as $k => $attachment ) { 57 | if ( $attachment->ID == $post->ID ) 58 | break; 59 | } 60 | $k++; 61 | // If there is more than 1 attachment in a gallery 62 | if ( count( $attachments ) > 1 ) { 63 | if ( isset( $attachments[ $k ] ) ) 64 | // get the URL of the next image attachment 65 | $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID ); 66 | else 67 | // or get the URL of the first image attachment 68 | $next_attachment_url = get_attachment_link( $attachments[ 0 ]->ID ); 69 | } else { 70 | // or, if there's only 1 image, get the URL of the image 71 | $next_attachment_url = wp_get_attachment_url(); 72 | } 73 | ?> 74 | ID, array( $attachment_size, 1024 ) ); // filterable image width with 1024px limit for image height. 77 | ?> 78 | 79 | post_excerpt ) ) : ?> 80 |
81 | 82 |
83 | 84 |
85 | 86 |
87 | 88 |
89 | 90 | '' ) ); ?> 91 |
92 | 93 |
94 | 95 |
96 | 97 | 98 | 99 | 100 | 101 |
102 |
103 | 104 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor-dark-rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor-dark-rtl.png -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor-dark.png -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor-rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor-rtl.png -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor.png -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/comment-arrow-dark-rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/comment-arrow-dark-rtl.png -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/comment-arrow-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/comment-arrow-dark.png -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/comment-arrow-rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/comment-arrow-rtl.png -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/comment-arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/comment-arrow.png -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/comment-bubble-dark-rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/comment-bubble-dark-rtl.png -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/comment-bubble-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/comment-bubble-dark.png -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/comment-bubble-rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/comment-bubble-rtl.png -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/comment-bubble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/comment-bubble.png -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/headers/chessboard-thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/headers/chessboard-thumbnail.jpg -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/headers/chessboard.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/headers/chessboard.jpg -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/headers/hanoi-thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/headers/hanoi-thumbnail.jpg -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/headers/hanoi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/headers/hanoi.jpg -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/headers/lanterns-thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/headers/lanterns-thumbnail.jpg -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/headers/lanterns.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/headers/lanterns.jpg -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/headers/pine-cone-thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/headers/pine-cone-thumbnail.jpg -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/headers/pine-cone.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/headers/pine-cone.jpg -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/headers/shore-thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/headers/shore-thumbnail.jpg -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/headers/shore.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/headers/shore.jpg -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/headers/trolley-thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/headers/trolley-thumbnail.jpg -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/headers/trolley.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/headers/trolley.jpg -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/headers/wheel-thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/headers/wheel-thumbnail.jpg -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/headers/wheel.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/headers/wheel.jpg -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/headers/willow-thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/headers/willow-thumbnail.jpg -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/headers/willow.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/headers/willow.jpg -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/search.png -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/images/wordpress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/images/wordpress.png -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/inc/images/content-sidebar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/inc/images/content-sidebar.png -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/inc/images/content.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/inc/images/content.png -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/inc/images/dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/inc/images/dark.png -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/inc/images/light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/inc/images/light.png -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/inc/images/sidebar-content.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/inc/images/sidebar-content.png -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/inc/theme-customizer.js: -------------------------------------------------------------------------------- 1 | ( function( $ ){ 2 | wp.customize( 'blogname', function( value ) { 3 | value.bind( function( to ) { 4 | $( '#site-title a' ).html( to ); 5 | } ); 6 | } ); 7 | wp.customize( 'blogdescription', function( value ) { 8 | value.bind( function( to ) { 9 | $( '#site-description' ).html( to ); 10 | } ); 11 | } ); 12 | } )( jQuery ); -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/inc/theme-options.css: -------------------------------------------------------------------------------- 1 | #wpcontent select option { 2 | padding-right: 5px; 3 | } 4 | .image-radio-option td { 5 | padding-top: 15px; 6 | } 7 | .image-radio-option label { 8 | display: block; 9 | float: left; 10 | margin: 0 30px 20px 2px; 11 | position: relative; 12 | } 13 | .image-radio-option input { 14 | margin: 0 0 10px; 15 | } 16 | .image-radio-option span { 17 | display: block; 18 | width: 136px; 19 | } 20 | .image-radio-option img { 21 | margin: 0 0 0 -2px; 22 | } 23 | #link-color-example { 24 | -moz-border-radius: 4px; 25 | -webkit-border-radius: 4px; 26 | border-radius: 4px; 27 | border: 1px solid #dfdfdf; 28 | margin: 0 7px 0 3px; 29 | padding: 4px 14px; 30 | } 31 | 32 | body.rtl .image-radio-option label { 33 | float: right; 34 | margin: 0 2px 20px 30px; 35 | } 36 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/inc/theme-options.js: -------------------------------------------------------------------------------- 1 | var farbtastic; 2 | 3 | (function($){ 4 | var pickColor = function(a) { 5 | farbtastic.setColor(a); 6 | $('#link-color').val(a); 7 | $('#link-color-example').css('background-color', a); 8 | }; 9 | 10 | $(document).ready( function() { 11 | $('#default-color').wrapInner(''); 12 | 13 | farbtastic = $.farbtastic('#colorPickerDiv', pickColor); 14 | 15 | pickColor( $('#link-color').val() ); 16 | 17 | $('.pickcolor').click( function(e) { 18 | $('#colorPickerDiv').show(); 19 | e.preventDefault(); 20 | }); 21 | 22 | $('#link-color').keyup( function() { 23 | var a = $('#link-color').val(), 24 | b = a; 25 | 26 | a = a.replace(/[^a-fA-F0-9]/, ''); 27 | if ( '#' + a !== b ) 28 | $('#link-color').val(a); 29 | if ( a.length === 3 || a.length === 6 ) 30 | pickColor( '#' + a ); 31 | }); 32 | 33 | $(document).mousedown( function() { 34 | $('#colorPickerDiv').hide(); 35 | }); 36 | 37 | $('#default-color a').click( function(e) { 38 | pickColor( '#' + this.innerHTML.replace(/[^a-fA-F0-9]/, '') ); 39 | e.preventDefault(); 40 | }); 41 | 42 | $('.image-radio-option.color-scheme input:radio').change( function() { 43 | var currentDefault = $('#default-color a'), 44 | newDefault = $(this).next().val(); 45 | 46 | if ( $('#link-color').val() == currentDefault.text() ) 47 | pickColor( newDefault ); 48 | 49 | currentDefault.text( newDefault ); 50 | }); 51 | }); 52 | })(jQuery); -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/index.php: -------------------------------------------------------------------------------- 1 | 16 | 17 |
18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 |
36 |
37 |

38 |
39 | 40 |
41 |

42 | 43 |
44 |
45 | 46 | 47 | 48 |
49 |
50 | 51 | 52 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/js/html5.js: -------------------------------------------------------------------------------- 1 | /*! HTML5 Shiv v3.6 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed */ 2 | (function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); 3 | a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x"; 4 | c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a"); 5 | var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a, 6 | b){a||(a=f);if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d 16 | 17 |
18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 |
30 | 31 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/readme.txt: -------------------------------------------------------------------------------- 1 | = TWENTY ELEVEN = 2 | 3 | * by the WordPress team, http://wordpress.org/ 4 | 5 | == ABOUT TWENTY ELEVEN == -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentyeleven/screenshot.png -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/search.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 |
14 | 15 | 16 | 17 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |
41 |
42 |

43 |
44 | 45 |
46 |

47 | 48 |
49 |
50 | 51 | 52 | 53 |
54 |
55 | 56 | 57 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/searchform.php: -------------------------------------------------------------------------------- 1 | 10 |
11 | 12 | 13 | 14 |
15 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/sidebar-footer.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | 24 |
> 25 | 26 | 29 | 30 | 31 | 32 | 35 | 36 | 37 | 38 | 41 | 42 |
-------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/sidebar-page.php: -------------------------------------------------------------------------------- 1 | 12 | 13 |
14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | 27 | 28 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/sidebar.php: -------------------------------------------------------------------------------- 1 | 15 | 36 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/single.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 |
14 | 15 | 16 | 17 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
31 | 32 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentyeleven/tag.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 |
14 | 15 | 16 | 17 |
' ); 26 | ?> 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 |
49 |
50 |

51 |
52 | 53 |
54 |

55 | 56 |
57 |
58 | 59 | 60 | 61 | 62 |
63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/404.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 |
14 | 15 |
16 |
17 |

18 |
19 | 20 |
21 |

22 | 23 |
24 |
25 | 26 |
27 |
28 | 29 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/archive.php: -------------------------------------------------------------------------------- 1 | 21 | 22 |
23 |
24 | 25 | 26 |
27 |

' . get_the_date() . '' ); 30 | elseif ( is_month() ) : 31 | printf( __( 'Monthly Archives: %s', 'twentytwelve' ), '' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentytwelve' ) ) . '' ); 32 | elseif ( is_year() ) : 33 | printf( __( 'Yearly Archives: %s', 'twentytwelve' ), '' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentytwelve' ) ) . '' ); 34 | else : 35 | _e( 'Archives', 'twentytwelve' ); 36 | endif; 37 | ?>

38 |
39 | 40 | 54 | 55 | 56 | 57 | 58 | 59 |
60 |
61 | 62 | 63 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/author.php: -------------------------------------------------------------------------------- 1 | 15 | 16 |
17 |
18 | 19 | 20 | 21 | 30 | 31 |
32 |

' . get_the_author() . '' ); ?>

33 |
34 | 35 | 42 | 43 | 44 | 45 | 48 |
49 |
50 | 51 |
52 |
53 |

54 |

55 |
56 |
57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 |
71 |
72 | 73 | 74 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/category.php: -------------------------------------------------------------------------------- 1 | 15 | 16 |
17 |
18 | 19 | 20 |
21 |

' . single_cat_title( '', false ) . '' ); ?>

22 | 23 | 24 |
25 | 26 |
27 | 28 | 42 | 43 | 44 | 45 | 46 | 47 |
48 |
49 | 50 | 51 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/comments.php: -------------------------------------------------------------------------------- 1 | 23 | 24 |
25 | 26 | 27 | 28 | 29 |

30 | ' . get_the_title() . '' ); 33 | ?> 34 |

35 | 36 |
    37 | 'twentytwelve_comment', 'style' => 'ol' ) ); ?> 38 |
39 | 40 | 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> 41 | 46 | 47 | 48 | 53 |

54 | 55 | 56 | 57 | 58 | 59 | 60 |
-------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/content-aside.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |
> 12 |
13 |

14 |
15 | →', 'twentytwelve' ) ); ?> 16 |
17 |
18 | 19 |
20 | 21 | 22 | 25 | 26 | ', '' ); ?> 27 |
28 |
29 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/content-image.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |
> 12 |
13 | →', 'twentytwelve' ) ); ?> 14 |
15 | 16 |
17 | 18 |

19 |

20 |
21 | 22 | 25 | 26 | ', '' ); ?> 27 |
28 |
29 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/content-link.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |
> 12 |
13 |
14 | →', 'twentytwelve' ) ); ?> 15 |
16 | 17 |
18 | 19 | 20 | 23 | 24 | ', '' ); ?> 25 |
26 |
27 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/content-none.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |
12 |
13 |

14 |
15 | 16 |
17 |

18 | 19 |
20 |
21 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/content-page.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |
> 12 |
13 |

14 |
15 | 16 |
17 | 18 | '' ) ); ?> 19 |
20 |
21 | ', '' ); ?> 22 |
23 |
24 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/content-quote.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |
> 12 |
13 | →', 'twentytwelve' ) ); ?> 14 |
15 | 16 |
17 | 18 | 19 | 22 | 23 | ', '' ); ?> 24 |
25 |
26 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/content-status.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |
> 12 |
13 |
14 |

15 |

16 |
17 | 18 |
19 | 20 |
21 | →', 'twentytwelve' ) ); ?> 22 |
23 | 24 |
25 | 26 | 29 | 30 | ', '' ); ?> 31 |
32 |
33 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/content.php: -------------------------------------------------------------------------------- 1 | 10 | 11 |
> 12 | 13 |
14 | 15 |
16 | 17 |
18 | 19 | 20 |

21 | 22 |

23 | 24 |

25 | 26 | 27 | 30 | 31 |
32 | 33 | 34 |
35 | 36 |
37 | 38 |
39 | →', 'twentytwelve' ) ); ?> 40 | '' ) ); ?> 41 |
42 | 43 | 44 | 64 |
65 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/editor-style-rtl.css: -------------------------------------------------------------------------------- 1 | /* 2 | Theme Name: Twenty Twelve 3 | Description: Used to style the TinyMCE editor for RTL languages. 4 | See also rtl.css file. 5 | */ 6 | 7 | html .mceContentBody { 8 | direction: rtl; 9 | unicode-bidi: embed; 10 | } 11 | li { 12 | margin: 0 24px 0 0; 13 | margin: 0 1.714285714rem 0 0; 14 | } 15 | dl { 16 | margin: 0 24px; 17 | margin: 0 1.714285714rem; 18 | } 19 | tr th { 20 | text-align: right; 21 | } 22 | td { 23 | padding: 6px 0 6px 10px; 24 | text-align: right; 25 | } 26 | .wp-caption { 27 | text-align: right; 28 | } -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/footer.php: -------------------------------------------------------------------------------- 1 | 13 | 14 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/header.php: -------------------------------------------------------------------------------- 1 | section and everything up till
6 | * 7 | * @package WordPress 8 | * @subpackage Twenty_Twelve 9 | * @since Twenty Twelve 1.0 10 | */ 11 | ?> 12 | 15 | 18 | 19 | > 20 | 21 | 22 | 23 | 24 | <?php wp_title( '|', true, 'right' ); ?> 25 | 26 | 27 | 28 | 31 | 32 | 33 | 34 | > 35 |
36 | 53 | 54 |
-------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/image.php: -------------------------------------------------------------------------------- 1 | 13 | 14 |
15 |
16 | 17 | 18 | 19 |
> 20 |
21 |

22 | 23 |
24 | Published at %4$s × %5$s in %8$s.', 'twentytwelve' ), 27 | esc_attr( get_the_date( 'c' ) ), 28 | esc_html( get_the_date() ), 29 | esc_url( wp_get_attachment_url() ), 30 | $metadata['width'], 31 | $metadata['height'], 32 | esc_url( get_permalink( $post->post_parent ) ), 33 | esc_attr( strip_tags( get_the_title( $post->post_parent ) ) ), 34 | get_the_title( $post->post_parent ) 35 | ); 36 | ?> 37 | ', '' ); ?> 38 |
39 | 40 | 44 |
45 | 46 |
47 | 48 |
49 |
50 | $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID' ) ) ); 56 | foreach ( $attachments as $k => $attachment ) : 57 | if ( $attachment->ID == $post->ID ) 58 | break; 59 | endforeach; 60 | 61 | $k++; 62 | // If there is more than 1 attachment in a gallery 63 | if ( count( $attachments ) > 1 ) : 64 | if ( isset( $attachments[ $k ] ) ) : 65 | // get the URL of the next image attachment 66 | $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID ); 67 | else : 68 | // or get the URL of the first image attachment 69 | $next_attachment_url = get_attachment_link( $attachments[ 0 ]->ID ); 70 | endif; 71 | else : 72 | // or, if there's only 1 image, get the URL of the image 73 | $next_attachment_url = wp_get_attachment_url(); 74 | endif; 75 | ?> 76 | ID, $attachment_size ); 79 | ?> 80 | 81 | post_excerpt ) ) : ?> 82 |
83 | 84 |
85 | 86 |
87 | 88 |
89 | 90 |
91 | 92 | '' ) ); ?> 93 |
94 | 95 |
96 | 97 |
98 | 99 | 100 | 101 | 102 | 103 |
104 |
105 | 106 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/index.php: -------------------------------------------------------------------------------- 1 | 18 | 19 |
20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 |
33 | 34 | 37 |
38 |

39 |
40 | 41 |
42 |

Get started here.', 'twentytwelve' ), admin_url( 'post-new.php' ) ); ?>

43 |
44 | 45 | 48 |
49 |

50 |
51 | 52 |
53 |

54 | 55 |
56 | 57 | 58 |
59 | 60 | 61 | 62 |
63 |
64 | 65 | 66 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/js/html5.js: -------------------------------------------------------------------------------- 1 | /*! HTML5 Shiv v3.6 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed */ 2 | /* Source: https://github.com/aFarkas/html5shiv */ 3 | (function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); 4 | a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x"; 5 | c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a"); 6 | var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a, 7 | b){a||(a=f);if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d 16 | 17 |
18 |
19 | 20 | 21 | 22 |
23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
32 |
33 | 34 | 35 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/page-templates/full-width.php: -------------------------------------------------------------------------------- 1 | 18 | 19 |
20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 |
29 | 30 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/page.php: -------------------------------------------------------------------------------- 1 | 16 | 17 |
18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 |
27 | 28 | 29 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mchung/wordpress-on-heroku/5748bb7002648c587ab4fdb4e0fe99218863dc25/config/public/wp-content/themes/twentytwelve/screenshot.png -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/search.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 |
14 | 15 | 16 | 17 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 |
33 |
34 |

35 |
36 | 37 |
38 |

39 | 40 |
41 |
42 | 43 | 44 | 45 |
46 |
47 | 48 | 49 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/sidebar-front.php: -------------------------------------------------------------------------------- 1 | 23 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/sidebar.php: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | 17 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/single.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 |
14 | 15 | 16 | 17 | 18 | 19 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /config/public/wp-content/themes/twentytwelve/tag.php: -------------------------------------------------------------------------------- 1 | 15 | 16 |
17 |
18 | 19 | 20 |
21 |

' . single_tag_title( '', false ) . '' ); ?>

22 | 23 | 24 |
25 | 26 |
27 | 28 | 42 | 43 | 44 | 45 | 46 | 47 |
48 |
49 | 50 | 51 | -------------------------------------------------------------------------------- /config/vendor/nginx/conf/nginx.conf: -------------------------------------------------------------------------------- 1 | # setting worker_processes to CPU core count 2 | worker_processes 1; 3 | daemon off; 4 | 5 | events { 6 | worker_connections 1024; 7 | use epoll; 8 | 9 | # Accept as many connections as possible. 10 | multi_accept on; 11 | } 12 | 13 | http { 14 | include mime.types; 15 | default_type application/octet-stream; 16 | 17 | sendfile on; 18 | port_in_redirect off; 19 | 20 | # timeouts 21 | client_body_timeout 60; 22 | client_header_timeout 60; 23 | keepalive_timeout 65; 24 | send_timeout 60; 25 | 26 | # server 27 | root /app/public; 28 | index index.php; 29 | 30 | # Use gzip compression 31 | gzip_static on; 32 | gzip on; 33 | gzip_disable "msie6"; 34 | gzip_vary on; 35 | gzip_proxied any; 36 | gzip_comp_level 5; 37 | gzip_buffers 16 8k; 38 | gzip_http_version 1.0; 39 | gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript image/png image/gif image/jpeg; 40 | 41 | # Latest https://www.cloudflare.com/ips-v4 42 | set_real_ip_from 204.93.240.0/24; 43 | set_real_ip_from 204.93.177.0/24; 44 | set_real_ip_from 199.27.128.0/21; 45 | set_real_ip_from 173.245.48.0/20; 46 | set_real_ip_from 103.21.244.0/22; 47 | set_real_ip_from 103.22.200.0/22; 48 | set_real_ip_from 103.31.4.0/22; 49 | set_real_ip_from 141.101.64.0/18; 50 | set_real_ip_from 108.162.192.0/18; 51 | set_real_ip_from 190.93.240.0/20; 52 | set_real_ip_from 188.114.96.0/20; 53 | set_real_ip_from 197.234.240.0/22; 54 | set_real_ip_from 198.41.128.0/17; 55 | real_ip_header X-Forwarded-For; 56 | 57 | # should be same as upload_max_filesize in php.ini 58 | client_max_body_size 2m; 59 | 60 | include wordpress.conf; 61 | } 62 | -------------------------------------------------------------------------------- /config/vendor/nginx/conf/wordpress.conf.erb: -------------------------------------------------------------------------------- 1 | server { 2 | server_name localhost; 3 | listen <%= ENV['PORT'] %>; 4 | 5 | # Some basic cache-control for static files to be sent to the browser 6 | location ~ \.(html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml)$ { 7 | try_files $uri =404; 8 | expires 86000s; 9 | add_header Pragma "public"; 10 | add_header Cache-Control "max-age=86000, public, must-revalidate, proxy-revalidate"; 11 | } 12 | 13 | location ~ \.(css|js|htc)$ { 14 | try_files $uri =404; 15 | expires max; 16 | add_header Pragma "public"; 17 | add_header Cache-Control "max-age=31536000, public, must-revalidate, proxy-revalidate"; 18 | access_log off; 19 | } 20 | 21 | location ~ \.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip)$ { 22 | try_files $uri =404; 23 | expires max; 24 | add_header Pragma "public"; 25 | add_header Cache-Control "max-age=31536000, public, must-revalidate, proxy-revalidate"; 26 | access_log off; 27 | } 28 | 29 | # Deny hidden files (.htaccess, .htpasswd, .DS_Store). 30 | location ~ /\. { 31 | deny all; 32 | access_log off; 33 | log_not_found off; 34 | } 35 | 36 | # Deny /favicon.ico 37 | location = /favicon.ico { 38 | access_log off; 39 | log_not_found off; 40 | } 41 | 42 | # Deny /robots.txt 43 | location = /robots.txt { 44 | allow all; 45 | log_not_found off; 46 | access_log off; 47 | } 48 | 49 | # PHP status. /status.html uses /status 50 | location ~ ^/(status|ping)$ { 51 | include /app/vendor/nginx/conf/fastcgi_params; 52 | fastcgi_pass unix:/tmp/php-fpm.socket; 53 | fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; 54 | } 55 | 56 | # Nginx status. http://wiki.nginx.org/HttpStubStatusModule 57 | # location /nginx_status { 58 | # # copied from http://blog.kovyrin.net/2006/04/29/monitoring-nginx-with-rrdtool/ 59 | # stub_status on; 60 | # access_log off; 61 | # allow SOME.IP.ADD.RESS; 62 | # deny all; 63 | # } 64 | 65 | # Rewrite herokuapp.com url to stop duplicate content 66 | # Uncomment and edit as required 67 | # if ($host ~* "^yourblog.herokuapp.com$") { 68 | # rewrite ^(.*)$ http://blog.yourdomain.com$1 permanent; 69 | # break; 70 | # } 71 | 72 | # Set a variable to work around the lack of nested conditionals 73 | set $cache_uri $request_uri; 74 | 75 | # POST requests and urls with a query string should always go to PHP 76 | if ($request_method = POST) { 77 | set $cache_uri 'no cache'; 78 | } 79 | 80 | if ($query_string != "") { 81 | set $cache_uri 'no cache'; 82 | } 83 | 84 | # Don't cache uris containing the following segments 85 | # if ($request_uri ~* "(\/wp-admin\/|\/xmlrpc.php|\/wp-(app|cron|login|register|mail)\.php|wp-.*\.php|index\.php|wp\-comments\-popup\.php|wp\-links\-opml\.php|wp\-locations\.php)") { 86 | # set $cache_uri "no cache"; 87 | # } 88 | 89 | # Don't use the cache for logged in users or recent commenters 90 | if ($http_cookie ~* "comment_author|wordpress_[a-f0-9]+|wp\-postpass|wordpress_logged_in") { 91 | set $cache_uri 'no cache'; 92 | } 93 | 94 | # Enable clickjacking protection 95 | add_header X-Frame-Options SAMEORIGIN; 96 | 97 | # X-Powered-By Wordpress on Heroku 98 | add_header X-Powered-By "Wordpress on Heroku http://git.io/SAoKQQ"; 99 | 100 | location / { 101 | # wordpress fancy rewrites 102 | if (-f $request_filename) { 103 | break; 104 | } 105 | 106 | if (-d $request_filename) { 107 | break; 108 | } 109 | 110 | rewrite ^(.+)$ /index.php?q=$1 last; 111 | 112 | # redirect to feedburner. 113 | # if ($http_user_agent !~ FeedBurner) { 114 | # rewrite ^/feed/?$ http://feeds.feedburner.com/feedburner-feed-id last; 115 | # } 116 | } 117 | 118 | location ~ .*\.php$ { 119 | include /app/vendor/nginx/conf/fastcgi_params; 120 | fastcgi_pass unix:/tmp/php-fpm.socket; 121 | fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; 122 | } 123 | } 124 | --------------------------------------------------------------------------------