Changeset 3416132
- Timestamp:
- 12/10/2025 08:56:23 AM (4 months ago)
- Location:
- changelogger/trunk
- Files:
-
- 2 edited
-
changelogger.php (modified) (17 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
changelogger/trunk/changelogger.php
r2181688 r3416132 9 9 /* 10 10 Plugin Name: Changelogger 11 Version: 1.3. 311 Version: 1.3.4 12 12 Plugin URI: https://www.schloebe.de/wordpress/changelogger-plugin/ 13 13 Description: <strong>WordPress 2.7+ only.</strong> For many many people a changelog is a very important thing; it is all about justifying to your users why they should upgrade to the latest version of a plugin. Changelogger shows the latest changelog right on the plugin listing page, whenever there's a plugin ready to be updated. … … 15 15 Author URI: https://www.schloebe.de/ 16 16 17 Copyright 2010-20 19 Oliver Schlöbe (email : scripts@schloebe.de)17 Copyright 2010-2025 Oliver Schlöbe (email : wordpress@schloebe.de) 18 18 19 19 This program is free software; you can redistribute it and/or modify … … 36 36 * Define the plugin version 37 37 */ 38 define("CLOSVERSION", "1.3. 3");38 define("CLOSVERSION", "1.3.4"); 39 39 40 40 /** … … 63 63 */ 64 64 class Changelogger { 65 65 public $textdomain_loaded; 66 66 67 67 /** … … 74 74 * @author scripts@schloebe.de 75 75 */ 76 function __construct() {76 public function __construct() { 77 77 $this->textdomain_loaded = false; 78 78 … … 100 100 * @author scripts@schloebe.de 101 101 */ 102 function Changelogger() {102 public function Changelogger() { 103 103 $this->__construct(); 104 104 } … … 111 111 * @author scripts@schloebe.de 112 112 */ 113 function enqueue_scripts_and_styles() {113 public function enqueue_scripts_and_styles() { 114 114 wp_enqueue_script( 115 115 'clos-generalscripts', … … 135 135 * @author scripts@schloebe.de 136 136 */ 137 function init() {137 public function init() { 138 138 global $pagenow; 139 139 if ( !function_exists("add_action") ) return; … … 154 154 * @author scripts@schloebe.de 155 155 */ 156 function display_info_row( $file, $plugin_data ) {156 public function display_info_row( $file, $plugin_data ) { 157 157 global $wp_version; 158 158 … … 246 246 * @author scripts@schloebe.de 247 247 */ 248 function clos_ajax_load_changelog() {248 public function clos_ajax_load_changelog() { 249 249 $sectionid = absint( $_POST['sectionid'] ); 250 250 $pluginslug = $_POST['pluginslug']; … … 304 304 * @author scripts@schloebe.de 305 305 */ 306 function flush_changelog_cache( $new_value ) {306 public function flush_changelog_cache( $new_value ) { 307 307 $plugins_updated = false; 308 308 $old_value = (array)get_option('active_plugins'); … … 339 339 * @author scripts@schloebe.de 340 340 */ 341 function load_textdomain() {341 public function load_textdomain() { 342 342 if($this->textdomain_loaded) return; 343 343 load_plugin_textdomain('changelogger', false, dirname(plugin_basename(__FILE__)) . '/languages'); … … 353 353 * @author scripts@schloebe.de 354 354 */ 355 function _esc_attr__( $str ) {355 public function _esc_attr__( $str ) { 356 356 if( CLOSMINWP28 ) 357 357 return esc_attr__( $str, 'changelogger' ); … … 368 368 * @author scripts@schloebe.de 369 369 */ 370 function _esc_js( $str ) {370 public function _esc_js( $str ) { 371 371 if( CLOSMINWP28 ) 372 372 return esc_js( $str ); … … 385 385 * @author scripts@schloebe.de 386 386 */ 387 function _plugins_url($path = '', $plugin = '') {387 public function _plugins_url($path = '', $plugin = '') { 388 388 if( CLOSMINWP28 ) { 389 389 return plugins_url($path, $plugin); … … 423 423 * @author scripts@schloebe.de 424 424 */ 425 function js_admin_header() {425 public function js_admin_header() { 426 426 wp_print_scripts( array( 'sack' )); 427 427 if( version_compare($GLOBALS['wp_version'], '2.7.999', '>') ) { … … 450 450 * @author scripts@schloebe.de 451 451 */ 452 function require_wpversion_message() {452 public function require_wpversion_message() { 453 453 echo "<div id='wpversionfailedmessage' class='error fade'><p>" . __('Changelogger requires at least WordPress 2.7!', 'changelogger') . "</p></div>"; 454 454 } -
changelogger/trunk/readme.txt
r3271913 r3416132 4 4 Tags: changelogger, changelog, version, control 5 5 Requires at least: 2.7 6 Tested up to: 6. 8.996 Tested up to: 6.9.99 7 7 Stable tag: trunk 8 8 License: GPLv2 or later … … 53 53 54 54 == Changelog == 55 56 = 1.3.4 = 57 * Fixed PHP warning "Creation of dynamic property" 58 * WordPress 6.9 compatibility 55 59 56 60 = 1.3.3 =
Note: See TracChangeset
for help on using the changeset viewer.