From d3b6e51b5ba0dd9511e4a0e3e3c5df704b6d0471 Mon Sep 17 00:00:00 2001 From: Tetrakern <26898880+Tetrakern@users.noreply.github.com> Date: Wed, 20 Sep 2023 00:14:12 +0200 Subject: [PATCH] Update option description --- includes/functions/_acf.php | 4 ++-- includes/functions/_seo.php | 2 +- includes/functions/settings/_register_settings.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/functions/_acf.php b/includes/functions/_acf.php index 461bd4ec..cdebf9d6 100644 --- a/includes/functions/_acf.php +++ b/includes/functions/_acf.php @@ -229,11 +229,11 @@ function fictioneer_acf_scope_blog_posts( $args, $field, $post_id ) { add_filter( 'acf/fields/post_object/query/name=fictioneer_post_story_blogs', 'fictioneer_acf_scope_blog_posts', 10, 3 ); // ============================================================================= -// LIMIT STORY CHAPTERS TO AUTHOR +// RESTRICT STORY CHAPTERS TO AUTHOR // ============================================================================= /** - * Limit chapter stories to author + * Restrict chapter stories to author * * @since Fictioneer 5.4.9 * diff --git a/includes/functions/_seo.php b/includes/functions/_seo.php index bd467e4f..ecc259a4 100644 --- a/includes/functions/_seo.php +++ b/includes/functions/_seo.php @@ -154,7 +154,7 @@ if ( ! function_exists( 'fictioneer_seo_fields' ) ) { * * @since Fictioneer 4.0 * - * @param int $post_id The post ID. + * @param int $post_id The post ID. */ function fictioneer_save_seo_metabox( $post_id ) { diff --git a/includes/functions/settings/_register_settings.php b/includes/functions/settings/_register_settings.php index dca9d1c0..d178d8cc 100644 --- a/includes/functions/settings/_register_settings.php +++ b/includes/functions/settings/_register_settings.php @@ -591,7 +591,7 @@ define( 'FICTIONEER_OPTIONS', array( 'name' => 'fictioneer_limit_chapter_stories_by_author', 'group' => 'fictioneer-settings-general-group', 'sanitize_callback' => 'fictioneer_sanitize_checkbox', - 'label' => __( 'Limit chapter stories by author', 'fictioneer' ), + 'label' => __( 'Restrict chapter stories by author', 'fictioneer' ), 'default' => false ), 'fictioneer_disable_all_widgets' => array(