Changeset 2591771
- Timestamp:
- 08/31/2021 11:41:42 PM (3 years ago)
- Location:
- password-protected/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
password-protected/trunk/CHANGELOG.md
r2387954 r2591771 2 2 All notable changes to this project will be documented in this file. 3 3 This project adheres to [Semantic Versioning](http://semver.org/). 4 5 6 7 8 4 9 5 10 ## [2.4] - 2020-09-24 … … �� 247 252 - First Release. If you spot any bugs or issues please [log them here](https://github.com/benhuson/password-protected/issues). 248 253 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 250 256 [2.4]: https://github.com/benhuson/password-protected/compare/2.3...2.4 251 257 [2.3]: https://github.com/benhuson/password-protected/compare/2.2.5...2.3 -
password-protected/trunk/README.md
r2387954 r2591771 54 54 eg. http://www.example.com/?password-protected=logout 55 55 56 57 58 59 60 56 61 __How can I redirect to a different domain name when logging out?__ 57 62 If 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. … … 69 74 Upgrade Notice 70 75 -------------- 76 77 78 71 79 72 80 ### 2.4 -
password-protected/trunk/languages/password-protected.pot
r2387954 r2591771 6 6 "Project-Id-Version: Password Protected\n" 7 7 "Report-Msgid-Bugs-To: http://wordpress.org/tag/password-protected\n" 8 "POT-Creation-Date: 20 19-06-04 12:50+0100\n"8 "POT-Creation-Date: 200+0100\n" 9 9 "PO-Revision-Date: 2015-05-14 23:15-0000\n" 10 10 "Last-Translator: Ben Huson <ben@thewhiteroom.net>\n" … … 14 14 "Content-Type: text/plain; charset=UTF-8\n" 15 15 "Content-Transfer-Encoding: 8bit\n" 16 "X-Generator: Poedit 2. 2.3\n"16 "X-Generator: Poedit 2.\n" 17 17 "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" 18 18 "X-Poedit-Basepath: .\n" … … 52 52 msgstr "" 53 53 54 #: ../admin/admin-caching.php:121 54 #: ../admin/admin-caching.php:111 55 msgid "Can be changed using the `password_protected_cookie_name` filter." 56 msgstr "" 57 58 #: ../admin/admin-caching.php:122 55 59 msgid "We have detected your site may be running on WP Engine hosting." 56 60 msgstr "" 57 61 58 #: ../admin/admin-caching.php:12 262 #: ../admin/admin-caching.php:12 59 63 msgid "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." 60 64 msgstr "" 61 65 62 #: ../admin/admin-caching.php:13 366 #: ../admin/admin-caching.php:13 63 67 msgid "It looks like you may be using the W3 Total Cache plugin?" 64 68 msgstr "" 65 69 66 #: ../admin/admin-caching.php:13 470 #: ../admin/admin-caching.php:13 67 71 msgid "In order for Password Protected to work with W3 Total Cache you must disable caching when the Password Protected cookie is set." 68 72 msgstr "" 69 73 70 #: ../admin/admin-caching.php:13 574 #: ../admin/admin-caching.php:13 71 75 #, php-format 72 76 msgid "You can adjust the cookie settings for W3 Total Cache under <a href=\"%s\">Performance > Page Cache > Advanced > Rejected Cookies</a>." … … 84 88 msgstr "" 85 89 86 #: ../admin/admin.php:4 6 ../admin/admin.php:9790 #: ../admin/admin.php:4 87 91 msgid "Password Protected" 88 92 msgstr "" 89 93 90 #: ../admin/admin.php: 5994 #: ../admin/admin.php: 91 95 msgid "Password Protected Settings" 92 96 msgstr "" 93 97 94 #: ../admin/admin.php:6 598 #: ../admin/admin.php:6 95 99 msgid "Save Changes" 96 100 msgstr "" 97 101 98 #: ../admin/admin.php:9 8102 #: ../admin/admin.php:9 99 103 msgid "<p><strong>Password Protected Status</strong><br />Turn on/off password protection.</p>" 100 104 msgstr "" 101 105 102 #: ../admin/admin.php: 99106 #: ../admin/admin.php: 103 107 msgid "" 104 108 "<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 " … … 106 110 msgstr "" 107 111 108 #: ../admin/admin.php:10 0112 #: ../admin/admin.php:10 109 113 msgid "<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>" 110 114 msgstr "" 111 115 112 #: ../admin/admin.php:1 19116 #: ../admin/admin.php:1 113 117 msgid "Password Protected Status" 114 118 msgstr "" 115 119 116 #: ../admin/admin.php:12 7120 #: ../admin/admin.php:12 117 121 msgid "Protected Permissions" 118 122 msgstr "" 119 123 120 #: ../admin/admin.php:13 5124 #: ../admin/admin.php:13 121 125 msgid "New Password" 122 126 msgstr "" 123 127 124 #: ../admin/admin.php:14 3128 #: ../admin/admin.php:14 125 129 msgid "Allow IP Addresses" 126 130 msgstr "" 127 131 128 #: ../admin/admin.php:15 1132 #: ../admin/admin.php:15 129 133 msgid "Allow Remember me" 130 134 msgstr "" 131 135 132 #: ../admin/admin.php:1 59136 #: ../admin/admin.php:1 133 137 msgid "Remember for this many days" 134 138 msgstr "" 135 139 136 #: ../admin/admin.php:19 1140 #: ../admin/admin.php:19 137 141 msgid "New password not saved. When setting a new password please enter it in both fields." 138 142 msgstr "" 139 143 140 #: ../admin/admin.php:19 4144 #: ../admin/admin.php:19 141 145 msgid "New password not saved. Password fields did not match." 142 146 msgstr "" 143 147 144 #: ../admin/admin.php:19 7148 #: ../admin/admin.php:19 145 149 msgid "New password saved." 146 150 msgstr "" 147 151 148 #: ../admin/admin.php:24 4152 #: ../admin/admin.php:24 149 153 msgid "Password protect your web site. Users will be asked to enter a password to view the site." 150 154 msgstr "" 151 155 152 #: ../admin/admin.php:24 5156 #: ../admin/admin.php:24 153 157 msgid "For more information about Password Protected settings, view the \"Help\" tab at the top of this page." 154 158 msgstr "" 155 159 156 #: ../admin/admin.php:25 4160 #: ../admin/admin.php:25 157 161 msgid "Enabled" 158 162 msgstr "" 159 163 160 #: ../admin/admin.php:26 3164 #: ../admin/admin.php:26 161 165 msgid "Allow Administrators" 162 166 msgstr "" 163 167 164 #: ../admin/admin.php:26 4168 #: ../admin/admin.php:26 165 169 msgid "Allow Logged In Users" 166 170 msgstr "" 167 171 168 #: ../admin/admin.php:26 5172 #: ../admin/admin.php:26 169 173 msgid "Allow RSS Feeds" 170 174 msgstr "" 171 175 172 #: ../admin/admin.php:26 6176 #: ../admin/admin.php:26 173 177 msgid "Allow REST API Access" 174 178 msgstr "" 175 179 176 #: ../admin/admin.php:27 5180 #: ../admin/admin.php:27 177 181 msgid "If you would like to change the password type a new one. Otherwise leave this blank." 178 182 msgstr "" 179 183 180 #: ../admin/admin.php:27 6184 #: ../admin/admin.php:27 181 185 msgid "Type your new password again." 182 186 msgstr "" 183 187 184 #: ../admin/admin.php:28 7188 #: ../admin/admin.php:28 185 189 msgid "Enter one IP address per line." 186 190 msgstr "" 187 191 188 #: ../admin/admin.php:2 89192 #: ../admin/admin.php:2 189 193 #, php-format 190 194 msgid "Your IP is address %s." 191 195 msgstr "" 192 196 193 #: ../admin/admin.php:35 0197 #: ../admin/admin.php:35 194 198 msgid "http://github.com/benhuson/password-protected" 195 199 msgstr "" 196 200 197 #: ../admin/admin.php:35 0201 #: ../admin/admin.php:35 198 202 msgid "GitHub" 199 203 msgstr "" 200 204 201 #: ../admin/admin.php:35 1205 #: ../admin/admin.php:35 202 206 msgid "https://translate.wordpress.org/projects/wp-plugins/password-protected" 203 207 msgstr "" 204 208 205 #: ../admin/admin.php:35 1209 #: ../admin/admin.php:35 206 210 msgid "Translate" 207 211 msgstr "" 208 212 209 #: ../admin/admin.php:36 8213 #: ../admin/admin.php:36 210 214 msgid "Settings" 211 215 msgstr "" 212 216 213 #: ../admin/admin.php:39 6217 #: ../admin/admin.php:39 214 218 msgid "You have enabled password protection but not yet set a password. Please set one below." 215 219 msgstr "" 216 220 217 #: ../admin/admin.php:40 1221 #: ../admin/admin.php:40 218 222 msgid "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." 219 223 msgstr "" 220 224 221 #: ../admin/admin.php:40 3225 #: ../admin/admin.php:40 222 226 msgid "You have enabled password protection and allowed administrators - other users will still need to enter a password to view the site." 223 227 msgstr "" 224 228 225 #: ../admin/admin.php:40 5229 #: ../admin/admin.php:40 226 230 msgid "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:165230 #, php-format231 msgid "Feeds are not available for this site. Please visit the <a href=\"%s\">website</a>."232 msgstr ""233 234 #: ../password-protected.php:324235 msgid "Incorrect Password"236 msgstr ""237 238 #: ../password-protected.php:462 ../password-protected.php:466239 msgid "Logout"240 msgstr ""241 242 #: ../password-protected.php:808243 msgid "Only authenticated users can access the REST API."244 231 msgstr "" 245 232 … … 248 235 msgstr "" 249 236 250 #: ../theme/password-protected-login.php:12 0237 #: ../theme/password-protected-login.php:12 251 238 msgid "Password" 252 239 msgstr "" 253 240 254 #: ../theme/password-protected-login.php:1 26241 #: ../theme/password-protected-login.php:1 255 242 msgid "Remember Me" 256 243 msgstr "" 257 244 258 #: ../theme/password-protected-login.php:13 1245 #: ../theme/password-protected-login.php:13 259 246 msgid "Log In" 260 247 msgstr "" -
password-protected/trunk/readme.txt
r2387954 r2591771 4 4 Tags: password, protect, password protect, login 5 5 Requires at least: 4.6 6 Tested up to: 5. 5.16 Tested up to: 5. 7 7 Requires PHP: 5.6 8 Stable tag: 2. 48 Stable tag: 2. 9 9 License: GPLv2 or later 10 10 … … 61 61 eg. http://www.example.com/?password-protected=logout 62 62 63 64 65 66 67 63 68 = How can I redirect to a different domain name when logging out? = 64 69 If 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. … … 72 77 73 78 = 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 9 5% translated for a language file to be available to download/update via WordPress.79 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 9% translated for a language file to be available to download/update via WordPress. 75 80 76 81 == Screenshots == … … 80 85 81 86 == Changelog == 87 88 89 82 90 83 91 = 2.4 = … … 227 235 == Upgrade Notice == 228 236 237 238 239 229 240 = 2.4 = 230 241 Fixes to help with caching issues and favicon on login page. -
password-protected/trunk/theme/password-protected-login.php
r2387954 r2591771 61 61 62 62 // Obey privacy setting 63 add_action( 'password_protected_login_head', 'wp_no_robots' ); 63 if ( 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 } 64 69 65 70 add_action( 'password_protected_login_head', 'wp_login_viewport_meta' );
Note: See TracChangeset
for help on using the changeset viewer.