Making WordPress.org

Changeset 3704


Ignore:
Timestamp:
07/21/2016 08:32:37 PM (10 years ago)
Author:
jmdodd
Message:

Support: Clear up some PHP strict notices in Version Dropdown.

See #1544.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-version-dropdown/inc/class-plugin.php

    r3615 r3704  
    5656        public function form_topic_version_dropdown() {
    5757                $version = 0;
     58                $other_version = '';
    5859                $versions = $this->get_wp_versions();
    5960
     
    116117        }
    117118
    118         public function get_topic_version( $args = array() ) {
     119        public static function get_topic_version( $args = array() ) {
    119120
    120121                // Parse arguments against default values
Note: See TracChangeset for help on using the changeset viewer.