Plugin Directory

Changeset 2591771

Timestamp:
08/31/2021 11:41:42 PM (3 years ago)
Author:
husobj
Message:

Version 2.5

Location:
password-protected/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • password-protected/trunk/CHANGELOG.md

    r2387954 r2591771  
    22All notable changes to this project will be documented in this file.
    33This project adheres to [Semantic Versioning](http://semver.org/).
     4
     5
     6
     7
     8
    49
    510## [2.4] - 2020-09-24
    ��
    247252- First Release. If you spot any bugs or issues please [log them here](https://github.com/benhuson/password-protected/issues).
    248253
    249 [Unreleased]: https://github.com/benhuson/password-protected/compare/2.4...HEAD
     254[Unreleased]: https://github.com/benhuson/password-protected/compare/2.5...HEAD
     255[2.4]: https://github.com/benhuson/password-protected/compare/2.4...2.5
    250256[2.4]: https://github.com/benhuson/password-protected/compare/2.3...2.4
    251257[2.3]: https://github.com/benhuson/password-protected/compare/2.2.5...2.3
  • password-protected/trunk/README.md

    r2387954 r2591771  
    5454eg. http://www.example.com/?password-protected=logout
    5555
     56
     57
     58
     59
     60
    5661__How can I redirect to a different domain name when logging out?__ 
    5762If passing a redirect URL using 'redirect_to' when logging out you need you may need to use the [allowed domain names](https://codex.wordpress.org/Plugin_API/Filter_Reference/allowed_redirect_hosts) filter to allow redirecting to an external domain.
     
    6974Upgrade Notice
    7075--------------
     76
     77
     78
    7179
    7280### 2.4
  • password-protected/trunk/languages/password-protected.pot

    r2387954 r2591771  
    66"Project-Id-Version: Password Protected\n"
    77"Report-Msgid-Bugs-To: http://wordpress.org/tag/password-protected\n"
    8 "POT-Creation-Date: 2019-06-04 12:50+0100\n"
     8"POT-Creation-Date: 200+0100\n"
    99"PO-Revision-Date: 2015-05-14 23:15-0000\n"
    1010"Last-Translator: Ben Huson <ben@thewhiteroom.net>\n"
     
    1414"Content-Type: text/plain; charset=UTF-8\n"
    1515"Content-Transfer-Encoding: 8bit\n"
    16 "X-Generator: Poedit 2.2.3\n"
     16"X-Generator: Poedit 2.\n"
    1717"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c\n"
    1818"X-Poedit-Basepath: .\n"
     
    5252msgstr ""
    5353
    54 #: ../admin/admin-caching.php:121
     54#: ../admin/admin-caching.php:111
     55msgid "Can be changed using the `password_protected_cookie_name` filter."
     56msgstr ""
     57
     58#: ../admin/admin-caching.php:122
    5559msgid "We have detected your site may be running on WP Engine hosting."
    5660msgstr ""
    5761
    58 #: ../admin/admin-caching.php:122
     62#: ../admin/admin-caching.php:12
    5963msgid "In order for Password Protected to work with WP Engine's caching configuration you must ask them to disable caching for the Password Protected cookie."
    6064msgstr ""
    6165
    62 #: ../admin/admin-caching.php:133
     66#: ../admin/admin-caching.php:13
    6367msgid "It looks like you may be using the W3 Total Cache plugin?"
    6468msgstr ""
    6569
    66 #: ../admin/admin-caching.php:134
     70#: ../admin/admin-caching.php:13
    6771msgid "In order for Password Protected to work with W3 Total Cache you must disable caching when the Password Protected cookie is set."
    6872msgstr ""
    6973
    70 #: ../admin/admin-caching.php:135
     74#: ../admin/admin-caching.php:13
    7175#, php-format
    7276msgid "You can adjust the cookie settings for W3 Total Cache under <a href=\"%s\">Performance > Page Cache > Advanced > Rejected Cookies</a>."
     
    8488msgstr ""
    8589
    86 #: ../admin/admin.php:46 ../admin/admin.php:97
     90#: ../admin/admin.php:4
    8791msgid "Password Protected"
    8892msgstr ""
    8993
    90 #: ../admin/admin.php:59
     94#: ../admin/admin.php:
    9195msgid "Password Protected Settings"
    9296msgstr ""
    9397
    94 #: ../admin/admin.php:65
     98#: ../admin/admin.php:6
    9599msgid "Save Changes"
    96100msgstr ""
    97101
    98 #: ../admin/admin.php:98
     102#: ../admin/admin.php:9
    99103msgid "<p><strong>Password Protected Status</strong><br />Turn on/off password protection.</p>"
    100104msgstr ""
    101105
    102 #: ../admin/admin.php:99
     106#: ../admin/admin.php:
    103107msgid ""
    104108"<p><strong>Protected Permissions</strong><br />Allow access for logged in users and administrators without needing to enter a password. You will need to enable this option if you want administrators to be able to preview the site in "
     
    106110msgstr ""
    107111
    108 #: ../admin/admin.php:100
     112#: ../admin/admin.php:10
    109113msgid "<p><strong>Password Fields</strong><br />To set a new password, enter it into both fields. You cannot set an `empty` password. To disable password protection uncheck the Enabled checkbox.</p>"
    110114msgstr ""
    111115
    112 #: ../admin/admin.php:119
     116#: ../admin/admin.php:1
    113117msgid "Password Protected Status"
    114118msgstr ""
    115119
    116 #: ../admin/admin.php:127
     120#: ../admin/admin.php:12
    117121msgid "Protected Permissions"
    118122msgstr ""
    119123
    120 #: ../admin/admin.php:135
     124#: ../admin/admin.php:13
    121125msgid "New Password"
    122126msgstr ""
    123127
    124 #: ../admin/admin.php:143
     128#: ../admin/admin.php:14
    125129msgid "Allow IP Addresses"
    126130msgstr ""
    127131
    128 #: ../admin/admin.php:151
     132#: ../admin/admin.php:15
    129133msgid "Allow Remember me"
    130134msgstr ""
    131135
    132 #: ../admin/admin.php:159
     136#: ../admin/admin.php:1
    133137msgid "Remember for this many days"
    134138msgstr ""
    135139
    136 #: ../admin/admin.php:191
     140#: ../admin/admin.php:19
    137141msgid "New password not saved. When setting a new password please enter it in both fields."
    138142msgstr ""
    139143
    140 #: ../admin/admin.php:194
     144#: ../admin/admin.php:19
    141145msgid "New password not saved. Password fields did not match."
    142146msgstr ""
    143147
    144 #: ../admin/admin.php:197
     148#: ../admin/admin.php:19
    145149msgid "New password saved."
    146150msgstr ""
    147151
    148 #: ../admin/admin.php:244
     152#: ../admin/admin.php:24
    149153msgid "Password protect your web site. Users will be asked to enter a password to view the site."
    150154msgstr ""
    151155
    152 #: ../admin/admin.php:245
     156#: ../admin/admin.php:24
    153157msgid "For more information about Password Protected settings, view the \"Help\" tab at the top of this page."
    154158msgstr ""
    155159
    156 #: ../admin/admin.php:254
     160#: ../admin/admin.php:25
    157161msgid "Enabled"
    158162msgstr ""
    159163
    160 #: ../admin/admin.php:263
     164#: ../admin/admin.php:26
    161165msgid "Allow Administrators"
    162166msgstr ""
    163167
    164 #: ../admin/admin.php:264
     168#: ../admin/admin.php:26
    165169msgid "Allow Logged In Users"
    166170msgstr ""
    167171
    168 #: ../admin/admin.php:265
     172#: ../admin/admin.php:26
    169173msgid "Allow RSS Feeds"
    170174msgstr ""
    171175
    172 #: ../admin/admin.php:266
     176#: ../admin/admin.php:26
    173177msgid "Allow REST API Access"
    174178msgstr ""
    175179
    176 #: ../admin/admin.php:275
     180#: ../admin/admin.php:27
    177181msgid "If you would like to change the password type a new one. Otherwise leave this blank."
    178182msgstr ""
    179183
    180 #: ../admin/admin.php:276
     184#: ../admin/admin.php:27
    181185msgid "Type your new password again."
    182186msgstr ""
    183187
    184 #: ../admin/admin.php:287
     188#: ../admin/admin.php:28
    185189msgid "Enter one IP address per line."
    186190msgstr ""
    187191
    188 #: ../admin/admin.php:289
     192#: ../admin/admin.php:2
    189193#, php-format
    190194msgid "Your IP is address %s."
    191195msgstr ""
    192196
    193 #: ../admin/admin.php:350
     197#: ../admin/admin.php:35
    194198msgid "http://github.com/benhuson/password-protected"
    195199msgstr ""
    196200
    197 #: ../admin/admin.php:350
     201#: ../admin/admin.php:35
    198202msgid "GitHub"
    199203msgstr ""
    200204
    201 #: ../admin/admin.php:351
     205#: ../admin/admin.php:35
    202206msgid "https://translate.wordpress.org/projects/wp-plugins/password-protected"
    203207msgstr ""
    204208
    205 #: ../admin/admin.php:351
     209#: ../admin/admin.php:35
    206210msgid "Translate"
    207211msgstr ""
    208212
    209 #: ../admin/admin.php:368
     213#: ../admin/admin.php:36
    210214msgid "Settings"
    211215msgstr ""
    212216
    213 #: ../admin/admin.php:396
     217#: ../admin/admin.php:39
    214218msgid "You have enabled password protection but not yet set a password. Please set one below."
    215219msgstr ""
    216220
    217 #: ../admin/admin.php:401
     221#: ../admin/admin.php:40
    218222msgid "You have enabled password protection and allowed administrators and logged in users - other users will still need to enter a password to view the site."
    219223msgstr ""
    220224
    221 #: ../admin/admin.php:403
     225#: ../admin/admin.php:40
    222226msgid "You have enabled password protection and allowed administrators - other users will still need to enter a password to view the site."
    223227msgstr ""
    224228
    225 #: ../admin/admin.php:405
     229#: ../admin/admin.php:40
    226230msgid "You have enabled password protection and allowed logged in users - other users will still need to enter a password to view the site."
    227 msgstr ""
    228 
    229 #: ../password-protected.php:165
    230 #, php-format
    231 msgid "Feeds are not available for this site. Please visit the <a href=\"%s\">website</a>."
    232 msgstr ""
    233 
    234 #: ../password-protected.php:324
    235 msgid "Incorrect Password"
    236 msgstr ""
    237 
    238 #: ../password-protected.php:462 ../password-protected.php:466
    239 msgid "Logout"
    240 msgstr ""
    241 
    242 #: ../password-protected.php:808
    243 msgid "Only authenticated users can access the REST API."
    244231msgstr ""
    245232
     
    248235msgstr ""
    249236
    250 #: ../theme/password-protected-login.php:120
     237#: ../theme/password-protected-login.php:12
    251238msgid "Password"
    252239msgstr ""
    253240
    254 #: ../theme/password-protected-login.php:126
     241#: ../theme/password-protected-login.php:1
    255242msgid "Remember Me"
    256243msgstr ""
    257244
    258 #: ../theme/password-protected-login.php:131
     245#: ../theme/password-protected-login.php:13
    259246msgid "Log In"
    260247msgstr ""
  • password-protected/trunk/readme.txt

    r2387954 r2591771  
    44Tags: password, protect, password protect, login
    55Requires at least: 4.6
    6 Tested up to: 5.5.1
     6Tested up to: 5.
    77Requires PHP: 5.6
    8 Stable tag: 2.4
     8Stable tag: 2.
    99License: GPLv2 or later
    1010
     
    6161eg. http://www.example.com/?password-protected=logout
    6262
     63
     64
     65
     66
     67
    6368= How can I redirect to a different domain name when logging out? =
    6469If passing a redirect URL using 'redirect_to' when logging out you need you may need to use the [allowed domain names](https://codex.wordpress.org/Plugin_API/Filter_Reference/allowed_redirect_hosts) filter to allow redirecting to an external domain.
     
    7277
    7378= How can I translate this plugin? =
    74 If you would like to translate this plugin you can easily contribute at the [Translating WordPress](https://translate.wordpress.org/projects/wp-plugins/password-protected/) page. The stable plugin needs to be 95% translated for a language file to be available to download/update via WordPress.
     79If you would like to translate this plugin you can easily contribute at the [Translating WordPress](https://translate.wordpress.org/projects/wp-plugins/password-protected/) page. The stable plugin needs to be 9% translated for a language file to be available to download/update via WordPress.
    7580
    7681== Screenshots ==
     
    8085
    8186== Changelog ==
     87
     88
     89
    8290
    8391= 2.4 =
     
    227235== Upgrade Notice ==
    228236
     237
     238
     239
    229240= 2.4 =
    230241Fixes to help with caching issues and favicon on login page.
  • password-protected/trunk/theme/password-protected-login.php

    r2387954 r2591771  
    6161
    6262// Obey privacy setting
    63 add_action( 'password_protected_login_head', 'wp_no_robots' );
     63if ( function_exists( 'wp_robots' ) && function_exists( 'wp_robots_no_robots' ) && function_exists( 'add_filter' ) ) {
     64    add_filter( 'wp_robots', 'wp_robots_no_robots' );
     65    add_action( 'password_protected_login_head', 'wp_robots', 1 );
     66} elseif ( function_exists( 'wp_no_robots' ) ) {
     67    add_action( 'password_protected_login_head', 'wp_no_robots' );
     68}
    6469
    6570add_action( 'password_protected_login_head', 'wp_login_viewport_meta' );
Note: See TracChangeset for help on using the changeset viewer.