@@ -447,6 +447,7 @@ public function doing_ajax( $action = null ) {
447447 *
448448 * @param string|WP_Error $ajax_message Ajax return.
449449 * @param string $message Optional. UI message.
450+ * @return never
450451 */
451452 protected function wp_die ( $ ajax_message , $ message = null ) {
452453 if ( $ this ->doing_ajax () ) {
@@ -2427,6 +2428,8 @@ public function prepare_setting_validity_for_js( $validity ) {
24272428 *
24282429 * @since 3.4.0
24292430 * @since 4.7.0 The semantics of this method have changed to update a changeset, optionally to also change the status and other attributes.
2431+ *
2432+ * @return never
24302433 */
24312434 public function save () {
24322435 if ( ! is_user_logged_in () ) {
@@ -3386,6 +3389,8 @@ public function check_changeset_lock_with_heartbeat( $response, $data, $screen_i
33863389 * Removes changeset lock when take over request is sent via Ajax.
33873390 *
33883391 * @since 4.9.0
3392+ *
3393+ * @return never
33893394 */
33903395 public function handle_override_changeset_lock_request () {
33913396 if ( ! $ this ->is_preview () ) {
@@ -3685,6 +3690,8 @@ protected function update_stashed_theme_mod_settings( $inactive_theme_mod_settin
36853690 * Refreshes nonces for the current preview.
36863691 *
36873692 * @since 4.2.0
3693+ *
3694+ * @return never
36883695 */
36893696 public function refresh_nonces () {
36903697 if ( ! $ this ->is_preview () ) {
@@ -3698,6 +3705,8 @@ public function refresh_nonces() {
36983705 * Deletes a given auto-draft changeset or the autosave revision for a given changeset or delete changeset lock.
36993706 *
37003707 * @since 4.9.0
3708+ *
3709+ * @return never
37013710 */
37023711 public function handle_dismiss_autosave_or_lock_request () {
37033712 // Calls to dismiss_user_auto_draft_changesets() and wp_get_post_autosave() require non-zero get_current_user_id().
@@ -5824,6 +5833,8 @@ public function register_dynamic_settings() {
58245833 * Loads themes into the theme browsing/installation UI.
58255834 *
58265835 * @since 4.9.0
5836+ *
5837+ * @return never
58275838 */
58285839 public function handle_load_themes_request () {
58295840 check_ajax_referer ( 'switch_themes ' , 'nonce ' );
0 commit comments