| @@ -58,9 +58,9 @@ | ||
| 58 | 58 | ], 500 ); |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | wp_send_json_success( [ |
| 62 | - 'message' => 'Updated successfully.', | |
| 62 | + 'message' => 'Plugins updated successfully.', | |
| 63 | 63 | ] ); |
| 64 | 64 | } |
| 65 | 65 | |
| 66 | 66 | /** |
| @@ -69,9 +69,9 @@ | ||
| 69 | 69 | * @param array $args |
| 70 | 70 | * |
| 71 | 71 | * @return void |
| 72 | 72 | */ |
| 73 | - public function update_theme( $args ) { | |
| 73 | + public function update_themes( $args ) { | |
| 74 | 74 | if ( ! isset( $args['themes'] ) || ! is_array( $args['themes'] ) ) { |
| 75 | 75 | wp_send_json_error( 'Missing theme name(s)' ); |
| 76 | 76 | } |
| 77 | 77 | |
| @@ -85,9 +85,9 @@ | ||
| 85 | 85 | ], 500 ); |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | wp_send_json_success( [ |
| 89 | - 'message' => 'Updated successfully.', | |
| 89 | + 'message' => 'Themes updated successfully.', | |
| 90 | 90 | ] ); |
| 91 | 91 | } |
| 92 | 92 | |
| 93 | 93 | /** |
| @@ -130,9 +130,9 @@ | ||
| 130 | 130 | ], 500 ); |
| 131 | 131 | } |
| 132 | 132 | |
| 133 | 133 | wp_send_json_success( [ |
| 134 | - 'message' => 'Updated successfully.', | |
| 134 | + 'message' => 'WordPress core updated successfully.', | |
| 135 | 135 | ] ); |
| 136 | 136 | } |
| 137 | 137 | |
| 138 | 138 | /** |