PluginProbe
Social Media Auto Poster – Schedule & Publish to Buffer / 6.2.5
Social Media Auto Poster – Schedule & Publish to Buffer v6.2.5
6.2.5 6.2.4 6.2.3 6.2.2 6.2.1 6.2.0 6.1.2 6.1.1 6.1.0 6.0.9 6.0.8 6.0.7 6.0.6 6.0.5 6.0.4 6.0.3 6.0.2 6.0.1 6.0.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.8.6 All 126 releases
← All changes | lib/social/includes/class-log-table.php +12 -3 6.2.16.2.5 View file →
@@ -26,8 +26,17 @@
26 26 */
27 27 public $base;
28 28
29 29 /**
30 + * Holds the bulk actions.
31 + *
32 + * @since 3.9.6
33 + *
34 + * @var array
35 + */
36 + protected $_actions; // phpcs:ignore PSR2.Classes.PropertyDeclaration.Underscore
37 +
38 + /**
30 39 * Constructor.
31 40 *
32 41 * @since 3.9.6
33 42 *
@@ -95,9 +104,9 @@
95 104 }
96 105 ?>
97 106 </select>
98 107 <select name="profile_id" size="1">
99 - <option value=""<?php selected( $this->get_profile(), '' ); ?>><?php esc_attr_e( 'Filter by Profile', 'wp-to-buffer' ); ?></option>
108 + <option value=""<?php selected( $this->get_profile_id(), '' ); ?>><?php esc_attr_e( 'Filter by Profile', 'wp-to-buffer' ); ?></option>
100 109 <?php
101 110 foreach ( $profiles as $profile_id => $label ) {
102 111 ?>
103 112 <option value="<?php echo esc_attr( $profile_id ); ?>"<?php selected( $this->get_profile_id(), $profile_id ); ?>><?php echo esc_attr( $label ); ?></option>
@@ -293,9 +302,9 @@
293 302 // Define pagination.
294 303 $this->set_pagination_args(
295 304 array(
296 305 'total_items' => $total,
297 - 'total_pages' => ceil( $total / $per_page ),
306 + 'total_pages' => (int) ceil( $total / $per_page ),
298 307 'per_page' => $per_page,
299 308 )
300 309 );
301 310
@@ -597,9 +606,9 @@
597 606 * Get the Pagination Page requested by the user
598 607 *
599 608 * @since 3.9.7
600 609 *
601 - * @return string
610 + * @return int
602 611 */
603 612 private function get_page() {
604 613
605 614 // Don't nonce check because pagination may not include a nonce if no search performed.