PluginProbe
Timetics – Appointment Booking Calendar & Scheduling / 1.0.38
Timetics – Appointment Booking Calendar & Scheduling v1.0.38
1.0.61 1.0.60 1.0.59 1.0.58 1.0.57 1.0.56 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.2 1.0.20 1.0.21 1.0.22 1.0.23 1.0.24 All 62 releases
← All changes | base/post-model.php +0 -3 1.0.561.0.38 View file →
@@ -46,9 +46,8 @@
46 46 if ( isset( $this->data[$name] ) ) {
47 47 return $this->data[$name];
48 48 }
49 49
50 - /* translators: %s: Property name */
51 50 throw new \Exception( sprintf( esc_html__( 'Undefined property %s', 'timetics' ), esc_attr( $name ) ) );
52 51 }
53 52
54 53 /**
@@ -60,9 +59,8 @@
60 59 * @return void
61 60 */
62 61 public function __set( $key, $value ) {
63 62 if ( ! isset( $this->data[$key] ) ) {
64 - /* translators: %s: Property name */
65 63 throw new \Exception( sprintf( esc_html__( 'Undefined property %s', 'timetics' ), esc_attr( $key ) ) );
66 64 }
67 65
68 66 $this->data[$key] = $value;
@@ -160,9 +158,8 @@
160 158 ];
161 159
162 160 if ( $meta ) {
163 161 $meta['relation'] = 'AND';
164 - // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query -- Meta query is necessary for filtering posts by meta fields
165 162 $args['meta_query'] = $meta;
166 163 }
167 164
168 165 $posts = get_posts( $args );