Plugin Directory

Changeset 3074354


Ignore:
Timestamp:
04/21/2024 12:31:06 AM (2 years ago)
Author:
izem
Message:

minor update - replace $optionspackages? with $optionsplugins? on upgrader_process_complete function

Location:
run-log/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • run-log/trunk/readme.txt

    r3074341 r3074354  
    44Requires at least: 4.0
    55Tested up to: 6.5
    6 Stable tag: 1.7.7
     6Stable tag: 1.7.8
    77License: GPLv2 (or later)
    88License URI: https://wordpress.org/about/gpl/
     
    149149== Changelog ==
    150150
    151 = 1.7.7 =
     151= 1.7.8 =
    152152* Updated CSS for mobile/narrow display.
    153153
  • run-log/trunk/run-log.php

    r3074348 r3074354  
    1111 * Plugin URI: https://run-log.gameiz.net/
    1212 * Description: Adds running diary capabilities - log your sport activities with custom post type, custom fields and new taxonomies.
    13  * Version: 1.7.7
     13 * Version: 1.7.8
    1414 * Author: Oren Izmirli
    1515 * Author URI: https://profiles.wordpress.org/izem
     
    6161 */
    6262function oirl_plugin_upgrate( $upgrader_object, $options ) {
    63     if ( 'plugin' === $options['type'] && in_array( 'oi_run_log_post', $options['packages'], true ) ) {
     63    if ( 'plugin' === $options['type'] && in_array( 'oi_run_log_post', $options['plugins'], true ) ) {
    6464        return;
    6565    }
     
    406406    wp_enqueue_script( 'oirl-admin-script', plugin_dir_url( __FILE__ ) . '/js/admin-script.js', array( 'jquery', 'jquery-ui-tooltip' ), '1.0.1', true );
    407407    $css_file_name = 'run-log' . (is_rtl() ? '-rtl' : '') . '.css';
    408     wp_enqueue_style( 'oirl-css', plugin_dir_url( __FILE__ ) . "/$css_file_name", null, '1.7.7' );
     408    wp_enqueue_style( 'oirl-css', plugin_dir_url( __FILE__ ) . "/$css_file_name", null, '1.7.8' );
    409409}
    410410add_action( 'admin_enqueue_scripts', 'oirl_admin_scripts' );
     
    678678function iorl_enqueue_css() {
    679679    $css_file_name = 'run-log' . (is_rtl() ? '-rtl' : '') . '.css';
    680     wp_enqueue_style( 'oirl_plugin_stylesheet', plugins_url( $css_file_name, __FILE__ ), null, '1.7.7' );
     680    wp_enqueue_style( 'oirl_plugin_stylesheet', plugins_url( $css_file_name, __FILE__ ), null, '1.7.8' );
    681681}
    682682add_action( 'wp_enqueue_scripts', 'iorl_enqueue_css' );
Note: See TracChangeset for help on using the changeset viewer.