Changeset 1406508 for simple-cache
- Timestamp:
- 04/28/2016 01:40:16 PM (10 years ago)
- Location:
- simple-cache
- Files:
-
- 27 added
- 5 edited
-
tags/1.2.5 (added)
-
tags/1.2.5/README.md (added)
-
tags/1.2.5/assets (added)
-
tags/1.2.5/assets/css (added)
-
tags/1.2.5/assets/css/scss (added)
-
tags/1.2.5/assets/css/scss/settings.scss (added)
-
tags/1.2.5/assets/css/settings.css (added)
-
tags/1.2.5/assets/js (added)
-
tags/1.2.5/assets/js/settings.min.js (added)
-
tags/1.2.5/assets/js/src (added)
-
tags/1.2.5/assets/js/src/settings.js (added)
-
tags/1.2.5/inc (added)
-
tags/1.2.5/inc/class-sc-advanced-cache.php (added)
-
tags/1.2.5/inc/class-sc-config.php (added)
-
tags/1.2.5/inc/class-sc-cron.php (added)
-
tags/1.2.5/inc/class-sc-object-cache.php (added)
-
tags/1.2.5/inc/class-sc-settings.php (added)
-
tags/1.2.5/inc/dropins (added)
-
tags/1.2.5/inc/dropins/batcache.php (added)
-
tags/1.2.5/inc/dropins/file-based-page-cache.php (added)
-
tags/1.2.5/inc/dropins/memcached-object-cache.php (added)
-
tags/1.2.5/inc/dropins/redis-object-cache.php (added)
-
tags/1.2.5/inc/functions.php (added)
-
tags/1.2.5/languages (added)
-
tags/1.2.5/languages/simple-cache.pot (added)
-
tags/1.2.5/readme.txt (added)
-
tags/1.2.5/simple-cache.php (added)
-
trunk/inc/class-sc-config.php (modified) (1 diff)
-
trunk/inc/class-sc-settings.php (modified) (1 diff)
-
trunk/languages/simple-cache.pot (modified) (7 diffs)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/simple-cache.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-cache/trunk/inc/class-sc-config.php
r1403511 r1406508 163 163 164 164 // First check wp-config.php 165 if ( ! @is_writable( ABSPATH . 'wp-config.php' ) ) {165 if ( ! @is_writable( ABSPATH . 'wp-config.php' ) && ! @is_writable( ABSPATH . '../wp-config.php' ) ) { 166 166 return false; 167 167 } -
simple-cache/trunk/inc/class-sc-settings.php
r1403511 r1406508 70 70 <div class="notice notice-error"> 71 71 <p> 72 <?php esc_html_e( "Simple Cache can't create or modify needed files on your system. Specifically, Simple Cache needs to write to /wp-config.php and /wp-content using PHP's fopen() function. Contact your host.", 'simple-cache' ); ?>72 <?php esc_html_e( "Simple Cache can't create or modify needed files on your system. Specifically, Simple Cache needs to write to wp-config.php and /wp-content using PHP's fopen() function. Contact your host.", 'simple-cache' ); ?> 73 73 <a href="options-general.php?page=simple-cache&wp_http_referer=<?php echo esc_url( wp_unslash( $_SERVER['REQUEST_URI'] ) ); ?>&action=sc_update&sc_settings_nonce=<?php echo wp_create_nonce( 'sc_update_settings' ); ?>" class="button button-primary" style="margin-left: 5px;"><?php esc_html_e( 'Try Again', 'simple-cache' ); ?></a> 74 74 </p> -
simple-cache/trunk/languages/simple-cache.pot
r1398021 r1406508 7 7 "Report-Msgid-Bugs-To: https://github.com/tlovett1/custom-contact-forms/" 8 8 "issues\n" 9 "POT-Creation-Date: 2016-04- 18 01:00-0400\n"9 "POT-Creation-Date: 2016-04-28 09:38-0400\n" 10 10 "PO-Revision-Date: 2016-04-11 01:17-0400\n" 11 11 "Last-Translator: Taylor Lovett <tlovett88@gmail.com>\n" … … 63 63 msgid "" 64 64 "Simple Cache can't create or modify needed files on your system. " 65 "Specifically, Simple Cache needs to write to /wp-config.php and /wp-content "65 "Specifically, Simple Cache needs to write to wp-config.php and /wp-content " 66 66 "using PHP's fopen() function. Contact your host." 67 67 msgstr "" … … 75 75 msgstr "" 76 76 77 #: inc/class-sc-settings.php:14 877 #: inc/class-sc-settings.php:144 78 78 msgid "Cheatin, eh?" 79 79 msgstr "" 80 80 81 #: inc/class-sc-settings.php:22 481 #: inc/class-sc-settings.php:220 82 82 msgid "Simple Cache Settings" 83 83 msgstr "" 84 84 85 #: inc/class-sc-settings.php:2 3285 #: inc/class-sc-settings.php:228 86 86 msgid "Enable Advanced Mode" 87 87 msgstr "" 88 88 89 #: inc/class-sc-settings.php:23 4 inc/class-sc-settings.php:24590 #: inc/class-sc-settings.php:26 4 inc/class-sc-settings.php:28791 #: inc/class-sc-settings.php:3 12 inc/class-sc-settings.php:35189 #: inc/class-sc-settings.php:230 inc/class-sc-settings.php:241 90 #: inc/class-sc-settings.php:260 inc/class-sc-settings.php:283 91 #: inc/class-sc-settings.php:308 inc/class-sc-settings.php:347 92 92 msgid "No" 93 93 msgstr "" 94 94 95 #: inc/class-sc-settings.php:23 5 inc/class-sc-settings.php:24696 #: inc/class-sc-settings.php:26 5 inc/class-sc-settings.php:28897 #: inc/class-sc-settings.php:3 13 inc/class-sc-settings.php:35295 #: inc/class-sc-settings.php:231 inc/class-sc-settings.php:242 96 #: inc/class-sc-settings.php:261 inc/class-sc-settings.php:284 97 #: inc/class-sc-settings.php:309 inc/class-sc-settings.php:348 98 98 msgid "Yes" 99 99 msgstr "" 100 100 101 #: inc/class-sc-settings.php:2 42101 #: inc/class-sc-settings.php:238 102 102 msgid "Enable Caching" 103 103 msgstr "" 104 104 105 #: inc/class-sc-settings.php:24 9105 #: inc/class-sc-settings.php:245 106 106 msgid "" 107 107 "Turn this on to get started. This setting turns on caching and is really all " … … 109 109 msgstr "" 110 110 111 #: inc/class-sc-settings.php:2 53111 #: inc/class-sc-settings.php:249 112 112 msgid "Expire the cache after" 113 113 msgstr "" 114 114 115 #: inc/class-sc-settings.php:25 5 inc/class-sc-settings.php:298115 #: inc/class-sc-settings.php:251 inc/class-sc-settings.php:294 116 116 msgid "minutes" 117 117 msgstr "" 118 118 119 #: inc/class-sc-settings.php:2 61119 #: inc/class-sc-settings.php:257 120 120 msgid "Enable Compression" 121 121 msgstr "" 122 122 123 #: inc/class-sc-settings.php:26 8123 #: inc/class-sc-settings.php:264 124 124 msgid "" 125 125 "When enabled, pages will be compressed. This is a good thing! This should " … … 127 127 msgstr "" 128 128 129 #: inc/class-sc-settings.php:27 9129 #: inc/class-sc-settings.php:275 130 130 msgid "Page Cache" 131 131 msgstr "" 132 132 133 #: inc/class-sc-settings.php:28 4133 #: inc/class-sc-settings.php:280 134 134 msgid "Enable Page Caching" 135 135 msgstr "" 136 136 137 #: inc/class-sc-settings.php:2 91137 #: inc/class-sc-settings.php:287 138 138 msgid "When enabled, entire front end pages will be cached." 139 139 msgstr "" 140 140 141 #: inc/class-sc-settings.php:29 6141 #: inc/class-sc-settings.php:292 142 142 msgid "Expire page cache after" 143 143 msgstr "" 144 144 145 #: inc/class-sc-settings.php: 303145 #: inc/class-sc-settings.php:299 146 146 msgid "Object Cache (Redis or Memcache)" 147 147 msgstr "" 148 148 149 #: inc/class-sc-settings.php:30 9149 #: inc/class-sc-settings.php:305 150 150 msgid "Enable In-Memory Object Caching" 151 151 msgstr "" 152 152 153 #: inc/class-sc-settings.php:31 6153 #: inc/class-sc-settings.php:312 154 154 msgid "" 155 155 "When enabled, things like database query results will be stored in memory. " … … 159 159 msgstr "" 160 160 161 #: inc/class-sc-settings.php:3 20161 #: inc/class-sc-settings.php:316 162 162 msgid "In Memory Cache" 163 163 msgstr "" 164 164 165 #: inc/class-sc-settings.php:33 5165 #: inc/class-sc-settings.php:331 166 166 msgid "Neither Memcache or Redis PHP extensions are set up on your server." 167 167 msgstr "" 168 168 169 #: inc/class-sc-settings.php:3 42169 #: inc/class-sc-settings.php:338 170 170 msgid "Compression" 171 171 msgstr "" 172 172 173 #: inc/class-sc-settings.php:34 8173 #: inc/class-sc-settings.php:344 174 174 msgid "Enable gzip Compression" 175 175 msgstr "" 176 176 177 #: inc/class-sc-settings.php:35 5177 #: inc/class-sc-settings.php:351 178 178 msgid "" 179 179 "When enabled pages will be gzip compressed at the PHP level. Note many hosts " … … 181 181 msgstr "" 182 182 183 #: inc/class-sc-settings.php:3 63183 #: inc/class-sc-settings.php:359 184 184 msgid "Save Changes" 185 185 msgstr "" 186 186 187 #: inc/class-sc-settings.php:36 4187 #: inc/class-sc-settings.php:360 188 188 msgid "Purge Cache" 189 189 msgstr "" 190 190 191 #: simple-cache.php:5 4191 #: simple-cache.php:55 192 192 #, php-format 193 193 msgid "<a href=\"%s\">Settings</a>" -
simple-cache/trunk/readme.txt
r1403511 r1406508 35 35 36 36 == Changelog == 37 38 = 1.2.5 = 39 * Support wp-config.php one directory below WP. 37 40 38 41 = 1.2.4 = -
simple-cache/trunk/simple-cache.php
r1403511 r1406508 5 5 * Description: A simple caching plugin that just works. 6 6 * Author: Taylor Lovett 7 * Version: 1.2. 47 * Version: 1.2.5 8 8 * Text Domain: simple-cache 9 9 * Domain Path: /languages … … 13 13 defined( 'ABSPATH' ) || exit; 14 14 15 define( 'SC_VERSION', '1.2. 4' );15 define( 'SC_VERSION', '1.2.5' ); 16 16 17 17 require_once dirname( __FILE__ ) . '/inc/functions.php';
Note: See TracChangeset
for help on using the changeset viewer.