Changeset 3412088
- Timestamp:
- 12/05/2025 11:08:46 AM (8 weeks ago)
- Location:
- wp-access-areas
- Files:
-
- 12 edited
- 1 copied
-
tags/1.5.22 (copied) (copied from wp-access-areas/trunk)
-
tags/1.5.22/.wp-release-info.json (modified) (1 diff)
-
tags/1.5.22/README.txt (modified) (2 diffs)
-
tags/1.5.22/inc/class-wpaa_posts.php (modified) (1 diff)
-
tags/1.5.22/inc/class-wpaa_settings.php (modified) (5 diffs)
-
tags/1.5.22/languages/wp-access-areas.pot (modified) (4 diffs)
-
tags/1.5.22/wp-access-areas.php (modified) (1 diff)
-
trunk/.wp-release-info.json (modified) (1 diff)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/inc/class-wpaa_posts.php (modified) (1 diff)
-
trunk/inc/class-wpaa_settings.php (modified) (5 diffs)
-
trunk/languages/wp-access-areas.pot (modified) (4 diffs)
-
trunk/wp-access-areas.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-access-areas/tags/1.5.22/.wp-release-info.json
r3362334 r3412088 2 2 "id": "https://github.com/mcguffin/wp-access-areas/raw/master/.wp-release-info.json", 3 3 "slug": "wp-access-areas", 4 "version": "1.5.2 1",4 "version": "1.5.22", 5 5 "url": "http://wordpress.org/plugins/wp-access-areas/", 6 "package": "https://github.com/mcguffin/wp-access-areas/releases/download/1.5.2 1/wp-access-areas.zip",7 "tested": "6. 0",6 "package": "https://github.com/mcguffin/wp-access-areas/releases/download/1.5.22/wp-access-areas.zip", 7 "tested": "6.9", 8 8 "requires_php": "5.6" 9 9 } -
wp-access-areas/tags/1.5.22/README.txt
r3362334 r3412088 5 5 Requires at least: 4.6 6 6 Requires PHP: 5.6 7 Tested up to: 6. 08 Stable tag: 1.5.2 17 Tested up to: 6.9 8 Stable tag: 1.5.22 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 93 93 94 94 == Changelog == 95 96 = 1.5.22 = 97 - Fix: _load_textdomain_just_in_time warning 95 98 96 99 = 1.5.21 = -
wp-access-areas/tags/1.5.22/inc/class-wpaa_posts.php
r3362334 r3412088 358 358 $fmt = array_fill( 0, count( $caps ), '%s' ); 359 359 360 $add_where = $wpdb->prepare( 361 " {$table_name}post_view_cap IN (" . implode( ',', $fmt ) . ")", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared phpcs:ignoreWordPress.DB.PreparedSQL.NotPrepared360 $add_where = $wpdb->prepare( 361 " {$table_name}post_view_cap IN (" . implode( ',', $fmt ) . ")", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared,WordPress.DB.PreparedSQL.NotPrepared 362 362 ...$caps 363 363 ); -
wp-access-areas/tags/1.5.22/inc/class-wpaa_settings.php
r3362334 r3412088 15 15 private static $role_caps; 16 16 17 private static function get_role_caps() { 18 if ( ! isset( self::$role_caps ) ) { 19 self::$role_caps = array( 20 'wpaa_set_view_cap' => __( 'Change View Access', 'wp-access-areas' ), 21 'wpaa_set_edit_cap' => __( 'Change Edit Access', 'wp-access-areas' ), 22 'wpaa_set_comment_cap' => __( 'Change Comment Access', 'wp-access-areas' ), 23 ); 24 } 25 return self::$role_caps; 26 } 27 17 28 public static function init() { 18 29 global $wp_post_statuses; 19 self::$role_caps = array( 20 'wpaa_set_view_cap' => __( 'Change View Access', 'wp-access-areas' ), 21 'wpaa_set_edit_cap' => __( 'Change Edit Access', 'wp-access-areas' ), 22 'wpaa_set_comment_cap' => __( 'Change Comment Access', 'wp-access-areas' ), 23 ); 30 31 24 32 add_option( 'wpaa_default_behavior', '404' ); 25 33 add_option( 'wpaa_fallback_page', 0 ); … … 131 139 132 140 foreach ( $input['grant_cap'] as $role_slug => $cap ) { 133 if ( 'administrator' != $role_slug && array_key_exists( $cap, self:: $role_caps) ) {141 if ( 'administrator' != $role_slug && array_key_exists( $cap, self::get_role_caps() ) ) { 134 142 $role = get_role( $role_slug ); 135 143 if ( ! $role || $role->has_cap( $cap ) ) { … … 142 150 foreach ( $input['revoke_cap'] as $role_slug => $cap ) { 143 151 144 if ( 'administrator' != $role_slug && array_key_exists( $cap, self:: $role_caps) ) {152 if ( 'administrator' != $role_slug && array_key_exists( $cap, self::get_role_caps() ) ) { 145 153 $role = get_role( $role_slug ); 146 154 … … 349 357 </th> 350 358 <?php 351 foreach ( self:: $role_capsas $cap => $label ) {359 foreach ( self::get_role_caps() as $cap => $label ) { 352 360 ?> 353 361 <th class="manage-column"> … … 379 387 </th> 380 388 <?php 381 foreach ( array_keys( self:: $role_caps) as $cap ) {389 foreach ( array_keys( self::get_role_caps() ) as $cap ) { 382 390 ?> 383 391 <td> -
wp-access-areas/tags/1.5.22/languages/wp-access-areas.pot
r3362334 r3412088 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Access Areas for WordPress 1.5.2 1\n"5 "Project-Id-Version: Access Areas for WordPress 1.5.22\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-access-areas\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2025- 09-16T10:43:43+02:00\n"12 "POT-Creation-Date: 2025-12-05T12:08:19+01:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" … … 167 167 168 168 #: inc/class-wpaa_editpost.php:366 169 #: inc/class-wpaa_settings.php:4 43169 #: inc/class-wpaa_settings.php:451 170 170 msgid "If somebody tries to view a restricted post directly:" 171 171 msgstr "" … … 225 225 msgstr "" 226 226 227 #: inc/class-wpaa_settings.php: 66227 #: inc/class-wpaa_settings.php:74 228 228 msgid "WP Access Areas:" 229 229 msgstr "" 230 230 231 #: inc/class-wpaa_settings.php:7 0231 #: inc/class-wpaa_settings.php:78 232 232 msgid "Something looks wrong with your Posts table." 233 233 msgstr "" 234 234 235 #: inc/class-wpaa_settings.php: 82235 #: inc/class-wpaa_settings.php:90 236 236 msgid "Please fix it for me" 237 237 msgstr "" 238 238 239 #: inc/class-wpaa_settings.php:1 69239 #: inc/class-wpaa_settings.php:177 240 240 msgid "Access Settings" 241 241 msgstr "" 242 242 243 #: inc/class-wpaa_settings.php:18 0243 #: inc/class-wpaa_settings.php:188 244 244 msgid "Restricted Access Behavior" 245 245 msgstr "" 246 246 247 #: inc/class-wpaa_settings.php:1 82247 #: inc/class-wpaa_settings.php:190 248 248 msgid "Default Behaviour" 249 249 msgstr "" 250 250 251 #: inc/class-wpaa_settings.php:1 83251 #: inc/class-wpaa_settings.php:191 252 252 msgid "Default Fallback Page" 253 253 msgstr "" 254 254 255 #: inc/class-wpaa_settings.php:1 85255 #: inc/class-wpaa_settings.php:193 256 256 msgid "Access Defaults for new Posts" 257 257 msgstr "" 258 258 259 #: inc/class-wpaa_settings.php:1 86259 #: inc/class-wpaa_settings.php:194 260 260 msgid "Default Access:" 261 261 msgstr "" 262 262 263 #: inc/class-wpaa_settings.php:1 88263 #: inc/class-wpaa_settings.php:196 264 264 msgid "Posts defaults" 265 265 msgstr "" 266 266 267 #: inc/class-wpaa_settings.php:1 89267 #: inc/class-wpaa_settings.php:197 268 268 msgid "Default Post Status" 269 269 msgstr "" 270 270 271 #: inc/class-wpaa_settings.php:19 0271 #: inc/class-wpaa_settings.php:198 272 272 msgid "Role Capabilities" 273 273 msgstr "" 274 274 275 #: inc/class-wpaa_settings.php: 194275 #: inc/class-wpaa_settings.php:202 276 276 msgid "You can also set these Options for each post individually." 277 277 msgstr "" 278 278 279 #: inc/class-wpaa_settings.php: 199279 #: inc/class-wpaa_settings.php:207 280 280 msgid "Default settings for newly created posts." 281 281 msgstr "" 282 282 283 #: inc/class-wpaa_settings.php:2 06283 #: inc/class-wpaa_settings.php:214 284 284 msgid "Access Areas Settings" 285 285 msgstr "" 286 286 287 #: inc/class-wpaa_settings.php:2 13287 #: inc/class-wpaa_settings.php:221 288 288 msgid "Save Changes" 289 289 msgstr "" 290 290 291 #: inc/class-wpaa_settings.php:2 44291 #: inc/class-wpaa_settings.php:252 292 292 msgid "Post Type" 293 293 msgstr "" 294 294 295 #: inc/class-wpaa_settings.php:2 48295 #: inc/class-wpaa_settings.php:256 296 296 msgid "Reading" 297 297 msgstr "" 298 298 299 #: inc/class-wpaa_settings.php:2 52299 #: inc/class-wpaa_settings.php:260 300 300 msgid "Edit" 301 301 msgstr "" 302 302 303 #: inc/class-wpaa_settings.php:2 56303 #: inc/class-wpaa_settings.php:264 304 304 msgid "Post Comment" 305 305 msgstr "" 306 306 307 #: inc/class-wpaa_settings.php:3 42307 #: inc/class-wpaa_settings.php:350 308 308 msgid "This table shows which Roles are allowed to set the ‘Who can view’, ‘Who can edit’ and ‘Who can comment’ properties." 309 309 msgstr "" 310 310 311 #: inc/class-wpaa_settings.php:3 48311 #: inc/class-wpaa_settings.php:356 312 312 msgid "Role" 313 313 msgstr "" 314 314 315 #: inc/class-wpaa_settings.php:3 89315 #: inc/class-wpaa_settings.php:397 316 316 msgid "Forbid" 317 317 msgstr "" 318 318 319 #: inc/class-wpaa_settings.php: 395319 #: inc/class-wpaa_settings.php:403 320 320 msgid "Allow" 321 321 msgstr "" 322 322 323 #: inc/class-wpaa_settings.php:4 14323 #: inc/class-wpaa_settings.php:422 324 324 msgid "If you are running a role editor plugin such as <a href=\"https://wordpress.org/plugins/user-role-editor/\">User Role editor by Vladimir Garagulya</a> or <a href=\"https://wordpress.org/plugins/wpfront-user-role-editor/\">WPFront User Role Editor by Syam Mohan</a> you can do the same as here by assigning the custom capabilites <code>wpaa_set_view_cap</code>, <code>wpaa_set_edit_cap</code> and <code>wpaa_set_comment_cap</code>." 325 325 msgstr "" 326 326 327 #: inc/class-wpaa_settings.php:4 19327 #: inc/class-wpaa_settings.php:427 328 328 msgid "By disabling the role capabilities feature you will allow everybody who can at least publish a post to edit the access properties as well." 329 329 msgstr "" 330 330 331 #: inc/class-wpaa_settings.php:4 23331 #: inc/class-wpaa_settings.php:431 332 332 msgid "Disable Role Capabilities" 333 333 msgstr "" 334 334 335 #: inc/class-wpaa_settings.php:43 0335 #: inc/class-wpaa_settings.php:438 336 336 msgid "By default everybody who can publish an entry can also edit the access properties such as ‘Who can view’ or ‘Who can edit’.<br /> If this is too generous for you then click on the button below." 337 337 msgstr "" 338 338 339 #: inc/class-wpaa_settings.php:4 34339 #: inc/class-wpaa_settings.php:442 340 340 msgid "Enable Role Capabilities" 341 341 msgstr "" 342 342 343 #: inc/class-wpaa_settings.php:4 86343 #: inc/class-wpaa_settings.php:494 344 344 msgid "Don‘t change" 345 345 msgstr "" 346 346 347 #: inc/class-wpaa_settings.php:50 0347 #: inc/class-wpaa_settings.php:508 348 348 msgid "Set post status of assigned posts after an Access Area has been deleted." 349 349 msgstr "" -
wp-access-areas/tags/1.5.22/wp-access-areas.php
r3362334 r3412088 10 10 Description: Lets you define Access Areas and assign them to Posts, Pages and Custom Post types. Through Access Areas you can fine-tune who can view, edit or comment on your posts. 11 11 Author: Jörn Lund 12 Version: 1.5.2 112 Version: 1.5.22 13 13 Author URI: https://github.com/mcguffin/ 14 14 Text Domain: wp-access-areas -
wp-access-areas/trunk/.wp-release-info.json
r3362334 r3412088 2 2 "id": "https://github.com/mcguffin/wp-access-areas/raw/master/.wp-release-info.json", 3 3 "slug": "wp-access-areas", 4 "version": "1.5.2 1",4 "version": "1.5.22", 5 5 "url": "http://wordpress.org/plugins/wp-access-areas/", 6 "package": "https://github.com/mcguffin/wp-access-areas/releases/download/1.5.2 1/wp-access-areas.zip",7 "tested": "6. 0",6 "package": "https://github.com/mcguffin/wp-access-areas/releases/download/1.5.22/wp-access-areas.zip", 7 "tested": "6.9", 8 8 "requires_php": "5.6" 9 9 } -
wp-access-areas/trunk/README.txt
r3362334 r3412088 5 5 Requires at least: 4.6 6 6 Requires PHP: 5.6 7 Tested up to: 6. 08 Stable tag: 1.5.2 17 Tested up to: 6.9 8 Stable tag: 1.5.22 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 93 93 94 94 == Changelog == 95 96 = 1.5.22 = 97 - Fix: _load_textdomain_just_in_time warning 95 98 96 99 = 1.5.21 = -
wp-access-areas/trunk/inc/class-wpaa_posts.php
r3362334 r3412088 358 358 $fmt = array_fill( 0, count( $caps ), '%s' ); 359 359 360 $add_where = $wpdb->prepare( 361 " {$table_name}post_view_cap IN (" . implode( ',', $fmt ) . ")", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared phpcs:ignoreWordPress.DB.PreparedSQL.NotPrepared360 $add_where = $wpdb->prepare( 361 " {$table_name}post_view_cap IN (" . implode( ',', $fmt ) . ")", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared,WordPress.DB.PreparedSQL.NotPrepared 362 362 ...$caps 363 363 ); -
wp-access-areas/trunk/inc/class-wpaa_settings.php
r3362334 r3412088 15 15 private static $role_caps; 16 16 17 private static function get_role_caps() { 18 if ( ! isset( self::$role_caps ) ) { 19 self::$role_caps = array( 20 'wpaa_set_view_cap' => __( 'Change View Access', 'wp-access-areas' ), 21 'wpaa_set_edit_cap' => __( 'Change Edit Access', 'wp-access-areas' ), 22 'wpaa_set_comment_cap' => __( 'Change Comment Access', 'wp-access-areas' ), 23 ); 24 } 25 return self::$role_caps; 26 } 27 17 28 public static function init() { 18 29 global $wp_post_statuses; 19 self::$role_caps = array( 20 'wpaa_set_view_cap' => __( 'Change View Access', 'wp-access-areas' ), 21 'wpaa_set_edit_cap' => __( 'Change Edit Access', 'wp-access-areas' ), 22 'wpaa_set_comment_cap' => __( 'Change Comment Access', 'wp-access-areas' ), 23 ); 30 31 24 32 add_option( 'wpaa_default_behavior', '404' ); 25 33 add_option( 'wpaa_fallback_page', 0 ); … … 131 139 132 140 foreach ( $input['grant_cap'] as $role_slug => $cap ) { 133 if ( 'administrator' != $role_slug && array_key_exists( $cap, self:: $role_caps) ) {141 if ( 'administrator' != $role_slug && array_key_exists( $cap, self::get_role_caps() ) ) { 134 142 $role = get_role( $role_slug ); 135 143 if ( ! $role || $role->has_cap( $cap ) ) { … … 142 150 foreach ( $input['revoke_cap'] as $role_slug => $cap ) { 143 151 144 if ( 'administrator' != $role_slug && array_key_exists( $cap, self:: $role_caps) ) {152 if ( 'administrator' != $role_slug && array_key_exists( $cap, self::get_role_caps() ) ) { 145 153 $role = get_role( $role_slug ); 146 154 … … 349 357 </th> 350 358 <?php 351 foreach ( self:: $role_capsas $cap => $label ) {359 foreach ( self::get_role_caps() as $cap => $label ) { 352 360 ?> 353 361 <th class="manage-column"> … … 379 387 </th> 380 388 <?php 381 foreach ( array_keys( self:: $role_caps) as $cap ) {389 foreach ( array_keys( self::get_role_caps() ) as $cap ) { 382 390 ?> 383 391 <td> -
wp-access-areas/trunk/languages/wp-access-areas.pot
r3362334 r3412088 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Access Areas for WordPress 1.5.2 1\n"5 "Project-Id-Version: Access Areas for WordPress 1.5.22\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-access-areas\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2025- 09-16T10:43:43+02:00\n"12 "POT-Creation-Date: 2025-12-05T12:08:19+01:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" … … 167 167 168 168 #: inc/class-wpaa_editpost.php:366 169 #: inc/class-wpaa_settings.php:4 43169 #: inc/class-wpaa_settings.php:451 170 170 msgid "If somebody tries to view a restricted post directly:" 171 171 msgstr "" … … 225 225 msgstr "" 226 226 227 #: inc/class-wpaa_settings.php: 66227 #: inc/class-wpaa_settings.php:74 228 228 msgid "WP Access Areas:" 229 229 msgstr "" 230 230 231 #: inc/class-wpaa_settings.php:7 0231 #: inc/class-wpaa_settings.php:78 232 232 msgid "Something looks wrong with your Posts table." 233 233 msgstr "" 234 234 235 #: inc/class-wpaa_settings.php: 82235 #: inc/class-wpaa_settings.php:90 236 236 msgid "Please fix it for me" 237 237 msgstr "" 238 238 239 #: inc/class-wpaa_settings.php:1 69239 #: inc/class-wpaa_settings.php:177 240 240 msgid "Access Settings" 241 241 msgstr "" 242 242 243 #: inc/class-wpaa_settings.php:18 0243 #: inc/class-wpaa_settings.php:188 244 244 msgid "Restricted Access Behavior" 245 245 msgstr "" 246 246 247 #: inc/class-wpaa_settings.php:1 82247 #: inc/class-wpaa_settings.php:190 248 248 msgid "Default Behaviour" 249 249 msgstr "" 250 250 251 #: inc/class-wpaa_settings.php:1 83251 #: inc/class-wpaa_settings.php:191 252 252 msgid "Default Fallback Page" 253 253 msgstr "" 254 254 255 #: inc/class-wpaa_settings.php:1 85255 #: inc/class-wpaa_settings.php:193 256 256 msgid "Access Defaults for new Posts" 257 257 msgstr "" 258 258 259 #: inc/class-wpaa_settings.php:1 86259 #: inc/class-wpaa_settings.php:194 260 260 msgid "Default Access:" 261 261 msgstr "" 262 262 263 #: inc/class-wpaa_settings.php:1 88263 #: inc/class-wpaa_settings.php:196 264 264 msgid "Posts defaults" 265 265 msgstr "" 266 266 267 #: inc/class-wpaa_settings.php:1 89267 #: inc/class-wpaa_settings.php:197 268 268 msgid "Default Post Status" 269 269 msgstr "" 270 270 271 #: inc/class-wpaa_settings.php:19 0271 #: inc/class-wpaa_settings.php:198 272 272 msgid "Role Capabilities" 273 273 msgstr "" 274 274 275 #: inc/class-wpaa_settings.php: 194275 #: inc/class-wpaa_settings.php:202 276 276 msgid "You can also set these Options for each post individually." 277 277 msgstr "" 278 278 279 #: inc/class-wpaa_settings.php: 199279 #: inc/class-wpaa_settings.php:207 280 280 msgid "Default settings for newly created posts." 281 281 msgstr "" 282 282 283 #: inc/class-wpaa_settings.php:2 06283 #: inc/class-wpaa_settings.php:214 284 284 msgid "Access Areas Settings" 285 285 msgstr "" 286 286 287 #: inc/class-wpaa_settings.php:2 13287 #: inc/class-wpaa_settings.php:221 288 288 msgid "Save Changes" 289 289 msgstr "" 290 290 291 #: inc/class-wpaa_settings.php:2 44291 #: inc/class-wpaa_settings.php:252 292 292 msgid "Post Type" 293 293 msgstr "" 294 294 295 #: inc/class-wpaa_settings.php:2 48295 #: inc/class-wpaa_settings.php:256 296 296 msgid "Reading" 297 297 msgstr "" 298 298 299 #: inc/class-wpaa_settings.php:2 52299 #: inc/class-wpaa_settings.php:260 300 300 msgid "Edit" 301 301 msgstr "" 302 302 303 #: inc/class-wpaa_settings.php:2 56303 #: inc/class-wpaa_settings.php:264 304 304 msgid "Post Comment" 305 305 msgstr "" 306 306 307 #: inc/class-wpaa_settings.php:3 42307 #: inc/class-wpaa_settings.php:350 308 308 msgid "This table shows which Roles are allowed to set the ‘Who can view’, ‘Who can edit’ and ‘Who can comment’ properties." 309 309 msgstr "" 310 310 311 #: inc/class-wpaa_settings.php:3 48311 #: inc/class-wpaa_settings.php:356 312 312 msgid "Role" 313 313 msgstr "" 314 314 315 #: inc/class-wpaa_settings.php:3 89315 #: inc/class-wpaa_settings.php:397 316 316 msgid "Forbid" 317 317 msgstr "" 318 318 319 #: inc/class-wpaa_settings.php: 395319 #: inc/class-wpaa_settings.php:403 320 320 msgid "Allow" 321 321 msgstr "" 322 322 323 #: inc/class-wpaa_settings.php:4 14323 #: inc/class-wpaa_settings.php:422 324 324 msgid "If you are running a role editor plugin such as <a href=\"https://wordpress.org/plugins/user-role-editor/\">User Role editor by Vladimir Garagulya</a> or <a href=\"https://wordpress.org/plugins/wpfront-user-role-editor/\">WPFront User Role Editor by Syam Mohan</a> you can do the same as here by assigning the custom capabilites <code>wpaa_set_view_cap</code>, <code>wpaa_set_edit_cap</code> and <code>wpaa_set_comment_cap</code>." 325 325 msgstr "" 326 326 327 #: inc/class-wpaa_settings.php:4 19327 #: inc/class-wpaa_settings.php:427 328 328 msgid "By disabling the role capabilities feature you will allow everybody who can at least publish a post to edit the access properties as well." 329 329 msgstr "" 330 330 331 #: inc/class-wpaa_settings.php:4 23331 #: inc/class-wpaa_settings.php:431 332 332 msgid "Disable Role Capabilities" 333 333 msgstr "" 334 334 335 #: inc/class-wpaa_settings.php:43 0335 #: inc/class-wpaa_settings.php:438 336 336 msgid "By default everybody who can publish an entry can also edit the access properties such as ‘Who can view’ or ‘Who can edit’.<br /> If this is too generous for you then click on the button below." 337 337 msgstr "" 338 338 339 #: inc/class-wpaa_settings.php:4 34339 #: inc/class-wpaa_settings.php:442 340 340 msgid "Enable Role Capabilities" 341 341 msgstr "" 342 342 343 #: inc/class-wpaa_settings.php:4 86343 #: inc/class-wpaa_settings.php:494 344 344 msgid "Don‘t change" 345 345 msgstr "" 346 346 347 #: inc/class-wpaa_settings.php:50 0347 #: inc/class-wpaa_settings.php:508 348 348 msgid "Set post status of assigned posts after an Access Area has been deleted." 349 349 msgstr "" -
wp-access-areas/trunk/wp-access-areas.php
r3362334 r3412088 10 10 Description: Lets you define Access Areas and assign them to Posts, Pages and Custom Post types. Through Access Areas you can fine-tune who can view, edit or comment on your posts. 11 11 Author: Jörn Lund 12 Version: 1.5.2 112 Version: 1.5.22 13 13 Author URI: https://github.com/mcguffin/ 14 14 Text Domain: wp-access-areas
Note: See TracChangeset
for help on using the changeset viewer.