Plugin Directory

Changeset 1406508 for simple-cache


Ignore:
Timestamp:
04/28/2016 01:40:16 PM (10 years ago)
Author:
tlovett1
Message:

Version 1.2.5

Location:
simple-cache
Files:
27 added
5 edited

Legend:

Unmodified
Added
Removed
  • simple-cache/trunk/inc/class-sc-config.php

    r1403511 r1406508  
    163163
    164164        // 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' ) ) {
    166166            return false;
    167167        }
  • simple-cache/trunk/inc/class-sc-settings.php

    r1403511 r1406508  
    7070        <div class="notice notice-error">
    7171            <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' ); ?>
    7373                <a href="options-general.php?page=simple-cache&amp;wp_http_referer=<?php echo esc_url( wp_unslash( $_SERVER['REQUEST_URI'] ) ); ?>&amp;action=sc_update&amp;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>
    7474            </p>
  • simple-cache/trunk/languages/simple-cache.pot

    r1398021 r1406508  
    77"Report-Msgid-Bugs-To: https://github.com/tlovett1/custom-contact-forms/"
    88"issues\n"
    9 "POT-Creation-Date: 2016-04-18 01:00-0400\n"
     9"POT-Creation-Date: 2016-04-28 09:38-0400\n"
    1010"PO-Revision-Date: 2016-04-11 01:17-0400\n"
    1111"Last-Translator: Taylor Lovett <tlovett88@gmail.com>\n"
     
    6363msgid ""
    6464"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 "
    6666"using PHP's fopen() function. Contact your host."
    6767msgstr ""
     
    7575msgstr ""
    7676
    77 #: inc/class-sc-settings.php:148
     77#: inc/class-sc-settings.php:144
    7878msgid "Cheatin, eh?"
    7979msgstr ""
    8080
    81 #: inc/class-sc-settings.php:224
     81#: inc/class-sc-settings.php:220
    8282msgid "Simple Cache Settings"
    8383msgstr ""
    8484
    85 #: inc/class-sc-settings.php:232
     85#: inc/class-sc-settings.php:228
    8686msgid "Enable Advanced Mode"
    8787msgstr ""
    8888
    89 #: inc/class-sc-settings.php:234 inc/class-sc-settings.php:245
    90 #: inc/class-sc-settings.php:264 inc/class-sc-settings.php:287
    91 #: inc/class-sc-settings.php:312 inc/class-sc-settings.php:351
     89#: 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
    9292msgid "No"
    9393msgstr ""
    9494
    95 #: inc/class-sc-settings.php:235 inc/class-sc-settings.php:246
    96 #: inc/class-sc-settings.php:265 inc/class-sc-settings.php:288
    97 #: inc/class-sc-settings.php:313 inc/class-sc-settings.php:352
     95#: 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
    9898msgid "Yes"
    9999msgstr ""
    100100
    101 #: inc/class-sc-settings.php:242
     101#: inc/class-sc-settings.php:238
    102102msgid "Enable Caching"
    103103msgstr ""
    104104
    105 #: inc/class-sc-settings.php:249
     105#: inc/class-sc-settings.php:245
    106106msgid ""
    107107"Turn this on to get started. This setting turns on caching and is really all "
     
    109109msgstr ""
    110110
    111 #: inc/class-sc-settings.php:253
     111#: inc/class-sc-settings.php:249
    112112msgid "Expire the cache after"
    113113msgstr ""
    114114
    115 #: inc/class-sc-settings.php:255 inc/class-sc-settings.php:298
     115#: inc/class-sc-settings.php:251 inc/class-sc-settings.php:294
    116116msgid "minutes"
    117117msgstr ""
    118118
    119 #: inc/class-sc-settings.php:261
     119#: inc/class-sc-settings.php:257
    120120msgid "Enable Compression"
    121121msgstr ""
    122122
    123 #: inc/class-sc-settings.php:268
     123#: inc/class-sc-settings.php:264
    124124msgid ""
    125125"When enabled, pages will be compressed. This is a good thing! This should "
     
    127127msgstr ""
    128128
    129 #: inc/class-sc-settings.php:279
     129#: inc/class-sc-settings.php:275
    130130msgid "Page Cache"
    131131msgstr ""
    132132
    133 #: inc/class-sc-settings.php:284
     133#: inc/class-sc-settings.php:280
    134134msgid "Enable Page Caching"
    135135msgstr ""
    136136
    137 #: inc/class-sc-settings.php:291
     137#: inc/class-sc-settings.php:287
    138138msgid "When enabled, entire front end pages will be cached."
    139139msgstr ""
    140140
    141 #: inc/class-sc-settings.php:296
     141#: inc/class-sc-settings.php:292
    142142msgid "Expire page cache after"
    143143msgstr ""
    144144
    145 #: inc/class-sc-settings.php:303
     145#: inc/class-sc-settings.php:299
    146146msgid "Object Cache (Redis or Memcache)"
    147147msgstr ""
    148148
    149 #: inc/class-sc-settings.php:309
     149#: inc/class-sc-settings.php:305
    150150msgid "Enable In-Memory Object Caching"
    151151msgstr ""
    152152
    153 #: inc/class-sc-settings.php:316
     153#: inc/class-sc-settings.php:312
    154154msgid ""
    155155"When enabled, things like database query results will be stored in memory. "
     
    159159msgstr ""
    160160
    161 #: inc/class-sc-settings.php:320
     161#: inc/class-sc-settings.php:316
    162162msgid "In Memory Cache"
    163163msgstr ""
    164164
    165 #: inc/class-sc-settings.php:335
     165#: inc/class-sc-settings.php:331
    166166msgid "Neither Memcache or Redis PHP extensions are set up on your server."
    167167msgstr ""
    168168
    169 #: inc/class-sc-settings.php:342
     169#: inc/class-sc-settings.php:338
    170170msgid "Compression"
    171171msgstr ""
    172172
    173 #: inc/class-sc-settings.php:348
     173#: inc/class-sc-settings.php:344
    174174msgid "Enable gzip Compression"
    175175msgstr ""
    176176
    177 #: inc/class-sc-settings.php:355
     177#: inc/class-sc-settings.php:351
    178178msgid ""
    179179"When enabled pages will be gzip compressed at the PHP level. Note many hosts "
     
    181181msgstr ""
    182182
    183 #: inc/class-sc-settings.php:363
     183#: inc/class-sc-settings.php:359
    184184msgid "Save Changes"
    185185msgstr ""
    186186
    187 #: inc/class-sc-settings.php:364
     187#: inc/class-sc-settings.php:360
    188188msgid "Purge Cache"
    189189msgstr ""
    190190
    191 #: simple-cache.php:54
     191#: simple-cache.php:55
    192192#, php-format
    193193msgid "<a href=\"%s\">Settings</a>"
  • simple-cache/trunk/readme.txt

    r1403511 r1406508  
    3535
    3636== Changelog ==
     37
     38= 1.2.5 =
     39* Support wp-config.php one directory below WP.
    3740
    3841= 1.2.4 =
  • simple-cache/trunk/simple-cache.php

    r1403511 r1406508  
    55 * Description: A simple caching plugin that just works.
    66 * Author: Taylor Lovett
    7  * Version: 1.2.4
     7 * Version: 1.2.5
    88 * Text Domain: simple-cache
    99 * Domain Path: /languages
     
    1313defined( 'ABSPATH' ) || exit;
    1414
    15 define( 'SC_VERSION', '1.2.4' );
     15define( 'SC_VERSION', '1.2.5' );
    1616
    1717require_once dirname( __FILE__ ) . '/inc/functions.php';
Note: See TracChangeset for help on using the changeset viewer.