| @@ -135,10 +135,10 @@ | ||
| 135 | 135 | } |
| 136 | 136 | } |
| 137 | 137 | |
| 138 | 138 | $screen_options = array( |
| 139 | - 'activitypub_show_welcome_tab' => \__( 'Welcome Page', 'activitypub' ), | |
| 140 | - 'activitypub_show_advanced_tab' => \__( 'Advanced Settings', 'activitypub' ), | |
| 139 | + 'activitypub_show_welcome_tab' => __( 'Welcome Page', 'activitypub' ), | |
| 140 | + 'activitypub_show_advanced_tab' => __( 'Advanced Settings', 'activitypub' ), | |
| 141 | 141 | ); |
| 142 | 142 | |
| 143 | 143 | /** |
| 144 | 144 | * Filters Activitypub settings screen options. |
| @@ -156,9 +156,9 @@ | ||
| 156 | 156 | \update_user_meta( \get_current_user_id(), $option, empty( $value ) ? 0 : 1 ); |
| 157 | 157 | } |
| 158 | 158 | } |
| 159 | 159 | |
| 160 | - \ob_start(); | |
| 160 | + ob_start(); | |
| 161 | 161 | ?> |
| 162 | 162 | <fieldset> |
| 163 | 163 | <legend class="screen-layout"><?php \esc_html_e( 'Settings Pages', 'activitypub' ); ?></legend> |
| 164 | 164 | <div class="metabox-prefs-container"> |
| @@ -172,9 +172,9 @@ | ||
| 172 | 172 | </div> |
| 173 | 173 | </fieldset> |
| 174 | 174 | <?php |
| 175 | 175 | |
| 176 | - return \ob_get_clean(); | |
| 176 | + return ob_get_clean(); | |
| 177 | 177 | } |
| 178 | 178 | |
| 179 | 179 | /** |
| 180 | 180 | * Show the submit button on the screen options page. |