Files
beep/beep.php
T
Krystie 1703a09319 fix(v1.7.1): wordmark image on every beep + reply, restore updater
- Render the Beep wordmark bottom-right of every beep AND reply, with the
  delete button furthest right (was: wordmark right of delete, missing on
  replies, and duplicated after the replies block).
- Draw the wordmark as crisp inline SVG via beep_post_wordmark() (filterable);
  the bundled beep-wordmark.png assets are corrupted. Readable on dark theme.
- Restore class-updater.php (self-hosted Gitea updates) deleted in the
  master->main consolidation; re-wire it in beep.php.
- Remove stray includes/class-shortcode.php.bak.
- Bump to 1.7.1; sync readme.txt stable tag + changelog.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 21:09:28 -07:00

47 lines
1.7 KiB
PHP
Executable File

<?php
/**
* Plugin Name: Beep
* Description: A Twitter-style microblog for WordPress, with likes, replies, and Gravatars. Use the [beep_feed] shortcode on any page.
* Version: 1.7.1
* Requires at least: 6.0
* Requires PHP: 7.4
* Author: Sami Ahmed
* License: GPL-2.0-or-later
* Text Domain: beep
*/
if (!defined('ABSPATH')) {
exit;
}
define('BEEP_VERSION', '1.7.1');
define('BEEP_FILE', __FILE__);
define('BEEP_DIR', plugin_dir_path(__FILE__));
define('BEEP_URL', plugin_dir_url(__FILE__));
define('BEEP_LIKES_TABLE', 'beep_likes');
define('BEEP_CHAR_LIMIT', 280);
require_once BEEP_DIR . 'includes/helpers.php';
require_once BEEP_DIR . 'includes/class-cpt.php';
require_once BEEP_DIR . 'includes/class-likes.php';
require_once BEEP_DIR . 'includes/class-replies.php';
require_once BEEP_DIR . 'includes/class-moderation.php';
require_once BEEP_DIR . 'includes/class-media.php';
require_once BEEP_DIR . 'includes/class-quotes.php';
require_once BEEP_DIR . 'includes/class-polls.php';
require_once BEEP_DIR . 'includes/class-shortcode.php';
require_once BEEP_DIR . 'includes/class-settings.php';
require_once BEEP_DIR . 'includes/class-updater.php';
require_once BEEP_DIR . 'includes/class-beep.php';
register_activation_hook(__FILE__, ['Beep_Plugin', 'activate']);
register_deactivation_hook(__FILE__, ['Beep_Plugin', 'deactivate']);
add_action('plugins_loaded', ['Beep_Plugin', 'init']);
// Self-hosted updates via the Gitea releases API.
// Register in admin and during wp-cron (where WordPress runs its update checks).
if (is_admin() || (defined('DOING_CRON') && DOING_CRON)) {
Beep_Updater::init();
}