Skip to content

Commit ce88965

Browse files
author
Saeed Jamali
authored
Merge pull request #22 from refactco/develop
Develop
2 parents 958784b + 4bb1d7d commit ce88965

File tree

4 files changed

+66
-54
lines changed

4 files changed

+66
-54
lines changed

blocks/settings/build/index.js

Lines changed: 65 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/API/V2/Routes.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
<?php // phpcs:ignore Squiz.Commenting.FileComment.Missing
32
namespace Re_Beehiiv\API\V2;
43

src/Import/Create_Post.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ private function add_meta() {
170170
* @return bool
171171
*/
172172
private function add_tags() {
173-
error_log( 'add_tags' );
174173
if ( ! isset( $this->data['args']['form_data']['post_tags-taxonomy'] ) || $this->data['args']['form_data']['post_tags-taxonomy'] === '0' ) {
175174
return false;
176175
}

src/Lib/Logger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function get_logs() : array {
4646
*
4747
* @param array $log_item
4848
*/
49-
public function log( array $log_item, bool $print_in_debug_file = true ) {
49+
public function log( array $log_item, bool $print_in_debug_file = false ) {
5050
$log = $this->get_logs();
5151
$log_item['time'] = current_time( 'mysql' );
5252
$log[] = $log_item;

0 commit comments

Comments
 (0)