Plugin Directory

Changeset 3416132


Ignore:
Timestamp:
12/10/2025 08:56:23 AM (4 months ago)
Author:
Alphawolf
Message:

Version 1.3.4 update:

  • Fixed PHP warning "Creation of dynamic property"
  • WordPress 6.9 compatibility
Location:
changelogger/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • changelogger/trunk/changelogger.php

    r2181688 r3416132  
    99/*
    1010Plugin Name: Changelogger
    11 Version: 1.3.3
     11Version: 1.3.4
    1212Plugin URI: https://www.schloebe.de/wordpress/changelogger-plugin/
    1313Description: <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.
     
    1515Author URI: https://www.schloebe.de/
    1616
    17 Copyright 2010-2019 Oliver Schlöbe (email : scripts@schloebe.de)
     17Copyright 2010-2025 Oliver Schlöbe (email : wordpress@schloebe.de)
    1818
    1919This program is free software; you can redistribute it and/or modify
     
    3636 * Define the plugin version
    3737 */
    38 define("CLOSVERSION", "1.3.3");
     38define("CLOSVERSION", "1.3.4");
    3939
    4040/**
     
    6363*/
    6464class Changelogger {
    65    
     65    public $textdomain_loaded;
    6666   
    6767    /**
     
    7474    * @author       scripts@schloebe.de
    7575    */     
    76     function __construct() {
     76    public function __construct() {
    7777        $this->textdomain_loaded = false;
    7878       
     
    100100    * @author       scripts@schloebe.de
    101101    */
    102     function Changelogger() {
     102    public function Changelogger() {
    103103        $this->__construct();
    104104    }
     
    111111    * @author       scripts@schloebe.de
    112112    */     
    113     function enqueue_scripts_and_styles() {
     113    public function enqueue_scripts_and_styles() {
    114114        wp_enqueue_script(
    115115            'clos-generalscripts',
     
    135135    * @author       scripts@schloebe.de
    136136    */
    137     function init() {
     137    public function init() {
    138138        global $pagenow;
    139139        if ( !function_exists("add_action") ) return;
     
    154154    * @author       scripts@schloebe.de
    155155    */
    156     function display_info_row( $file, $plugin_data ) {
     156    public function display_info_row( $file, $plugin_data ) {
    157157        global $wp_version;
    158158       
     
    246246    * @author       scripts@schloebe.de
    247247    */
    248     function clos_ajax_load_changelog() {
     248    public function clos_ajax_load_changelog() {
    249249        $sectionid = absint( $_POST['sectionid'] );
    250250        $pluginslug = $_POST['pluginslug'];
     
    304304    * @author       scripts@schloebe.de
    305305    */
    306     function flush_changelog_cache( $new_value ) {
     306    public function flush_changelog_cache( $new_value ) {
    307307        $plugins_updated = false;
    308308        $old_value = (array)get_option('active_plugins');
     
    339339    * @author       scripts@schloebe.de
    340340    */
    341     function load_textdomain() {
     341    public function load_textdomain() {
    342342        if($this->textdomain_loaded) return;
    343343        load_plugin_textdomain('changelogger', false, dirname(plugin_basename(__FILE__)) . '/languages');
     
    353353    * @author       scripts@schloebe.de
    354354    */
    355     function _esc_attr__( $str ) {
     355    public function _esc_attr__( $str ) {
    356356        if( CLOSMINWP28 )
    357357            return esc_attr__( $str, 'changelogger' );
     
    368368    * @author       scripts@schloebe.de
    369369    */
    370     function _esc_js( $str ) {
     370    public function _esc_js( $str ) {
    371371        if( CLOSMINWP28 )
    372372            return esc_js( $str );
     
    385385    * @author       scripts@schloebe.de
    386386    */
    387     function _plugins_url($path = '', $plugin = '') {
     387    public function _plugins_url($path = '', $plugin = '') {
    388388        if( CLOSMINWP28 ) {
    389389            return plugins_url($path, $plugin);
     
    423423     * @author      scripts@schloebe.de
    424424     */
    425     function js_admin_header() {
     425    public function js_admin_header() {
    426426        wp_print_scripts( array( 'sack' ));
    427427        if( version_compare($GLOBALS['wp_version'], '2.7.999', '>') ) {
     
    450450    * @author       scripts@schloebe.de
    451451    */
    452     function require_wpversion_message() {
     452    public function require_wpversion_message() {
    453453        echo "<div id='wpversionfailedmessage' class='error fade'><p>" . __('Changelogger requires at least WordPress 2.7!', 'changelogger') . "</p></div>";
    454454    }
  • changelogger/trunk/readme.txt

    r3271913 r3416132  
    44Tags: changelogger, changelog, version, control
    55Requires at least: 2.7
    6 Tested up to: 6.8.99
     6Tested up to: 6.9.99
    77Stable tag: trunk
    88License: GPLv2 or later
     
    5353
    5454== Changelog ==
     55
     56= 1.3.4 =
     57* Fixed PHP warning "Creation of dynamic property"
     58* WordPress 6.9 compatibility
    5559
    5660= 1.3.3 =
Note: See TracChangeset for help on using the changeset viewer.