Changeset 3787563
- Timestamp:
- 11/06/2026 09:14:36 AM (10 hours ago)
- Location:
- marukin-hg-site-reporter
- Files:
-
- 6 added
- 4 edited
- 1 copied
-
tags/1.9.3 (copied) (copied from marukin-hg-site-reporter/trunk )
-
tags/1.9.3/languages (added)
-
tags/1.9.3/languages/marukin-hg-site-reporter-ja.mo (added)
-
tags/1.9.3/languages/marukin-hg-site-reporter-ja.po (added)
-
tags/1.9.3/marukin-hg-site-reporter.php (modified) (4 diffs)
-
tags/1.9.3/readme.txt (modified) (4 diffs)
-
trunk/languages (added)
-
trunk/languages/marukin-hg-site-reporter-ja.mo (added)
-
trunk/languages/marukin-hg-site-reporter-ja.po (added)
-
trunk/marukin-hg-site-reporter.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
marukin-hg-site-reporter/tags/1.9.3/marukin-hg-site-reporter.php
r3787431 r3787563 3 3 * Plugin Name: Marukin HG Site Reporter 4 4 * Description: Provides authenticated, read-only REST API access to site versions and update status. 5 * Version: 1.9. 25 * Version: 1.9.3 6 6 * Author: Marukin Ad 7 7 * Requires at least: 4.7 … … 10 10 * License URI: https://www.gnu.org/licenses/gpl-2.0.html 11 11 * Text Domain: marukin-hg-site-reporter 12 * Domain Path: /languages 12 13 */ 13 14 … … 15 16 16 17 final class Marukin_HG_Site_Reporter { 17 const VERSION = '1.9. 2';18 const VERSION = '1.9.3'; 18 19 const OPTION = 'hg_site_reporter_config'; 19 20 // Read only when migrating an installation of WP Site Reporter / Company Monitor. … … 23 24 24 25 public static function boot() { 26 add_action( 'init', array( __CLASS__, 'translations' ) ); 25 27 add_action( 'rest_api_init', array( __CLASS__, 'routes' ) ); 26 28 add_filter( 'rest_post_dispatch', array( __CLASS__, 'headers' ), 100, 3 ); 27 29 add_action( 'admin_menu', array( __CLASS__, 'menu' ) ); 28 30 add_action( 'admin_enqueue_scripts', array( __CLASS__, 'admin_assets' ) ); 31 } 32 33 public static function translations() { 34 // WordPress.org language packs take precedence over the bundled fallback. 35 load_plugin_textdomain( 'marukin-hg-site-reporter', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); 29 36 } 30 37 -
marukin-hg-site-reporter/tags/1.9.3/readme.txt
r3787431 r3787563 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.0 7 Stable tag: 1.9. 27 Stable tag: 1.9.3 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 16 16 17 17 An administrator must issue a key and configure the client. Activating this plugin alone does not authorize access or send site information anywhere. 18 19 = Languages = 20 21 English and Japanese are included. Settings, notices and error messages are displayed in Japanese when the applicable WordPress site or user language is Japanese (ja), without downloading a language pack. WordPress.org language packs take precedence when available. API field names and authentication headers remain unchanged. 18 22 19 23 = Reported information = … … 105 109 == Changelog == 106 110 111 = 1.9.3 = 112 * Bundle Japanese translations for settings, notices, error messages and the plugin description. 113 * Register the bundled language directory on init, while preserving WordPress.org language pack priority. 114 * Keep API URLs, response fields, authentication headers and saved credentials unchanged. 115 107 116 = 1.9.2 = 108 117 * Rename the plugin and text domain to Marukin HG Site Reporter (marukin-hg-site-reporter). … … 135 144 == Upgrade Notice == 136 145 146 = 1.9.3 = 147 Japanese translations are included. Set the applicable WordPress site or user language to Japanese to use them. Existing keys and client settings remain valid. 148 137 149 = 1.9.2 = 138 150 Requires PHP 7.0+. Deactivate the previous plugin and replace its files without running its uninstall handler. API URLs, headers and saved credentials are unchanged. Translations are delivered through WordPress.org language packs. -
marukin-hg-site-reporter/trunk/marukin-hg-site-reporter.php
r3787431 r3787563 3 3 * Plugin Name: Marukin HG Site Reporter 4 4 * Description: Provides authenticated, read-only REST API access to site versions and update status. 5 * Version: 1.9. 25 * Version: 1.9.3 6 6 * Author: Marukin Ad 7 7 * Requires at least: 4.7 … … 10 10 * License URI: https://www.gnu.org/licenses/gpl-2.0.html 11 11 * Text Domain: marukin-hg-site-reporter 12 * Domain Path: /languages 12 13 */ 13 14 … … 15 16 16 17 final class Marukin_HG_Site_Reporter { 17 const VERSION = '1.9. 2';18 const VERSION = '1.9.3'; 18 19 const OPTION = 'hg_site_reporter_config'; 19 20 // Read only when migrating an installation of WP Site Reporter / Company Monitor. … … 23 24 24 25 public static function boot() { 26 add_action( 'init', array( __CLASS__, 'translations' ) ); 25 27 add_action( 'rest_api_init', array( __CLASS__, 'routes' ) ); 26 28 add_filter( 'rest_post_dispatch', array( __CLASS__, 'headers' ), 100, 3 ); 27 29 add_action( 'admin_menu', array( __CLASS__, 'menu' ) ); 28 30 add_action( 'admin_enqueue_scripts', array( __CLASS__, 'admin_assets' ) ); 31 } 32 33 public static function translations() { 34 // WordPress.org language packs take precedence over the bundled fallback. 35 load_plugin_textdomain( 'marukin-hg-site-reporter', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); 29 36 } 30 37 -
marukin-hg-site-reporter/trunk/readme.txt
r3787431 r3787563 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.0 7 Stable tag: 1.9. 27 Stable tag: 1.9.3 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 16 16 17 17 An administrator must issue a key and configure the client. Activating this plugin alone does not authorize access or send site information anywhere. 18 19 = Languages = 20 21 English and Japanese are included. Settings, notices and error messages are displayed in Japanese when the applicable WordPress site or user language is Japanese (ja), without downloading a language pack. WordPress.org language packs take precedence when available. API field names and authentication headers remain unchanged. 18 22 19 23 = Reported information = … … 105 109 == Changelog == 106 110 111 = 1.9.3 = 112 * Bundle Japanese translations for settings, notices, error messages and the plugin description. 113 * Register the bundled language directory on init, while preserving WordPress.org language pack priority. 114 * Keep API URLs, response fields, authentication headers and saved credentials unchanged. 115 107 116 = 1.9.2 = 108 117 * Rename the plugin and text domain to Marukin HG Site Reporter (marukin-hg-site-reporter). … … 135 144 == Upgrade Notice == 136 145 146 = 1.9.3 = 147 Japanese translations are included. Set the applicable WordPress site or user language to Japanese to use them. Existing keys and client settings remain valid. 148 137 149 = 1.9.2 = 138 150 Requires PHP 7.0+. Deactivate the previous plugin and replace its files without running its uninstall handler. API URLs, headers and saved credentials are unchanged. Translations are delivered through WordPress.org language packs.
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)