💎 PREMIUM: Changeset/ - Complete Album!

Changeset 2983273


Ignore:
Timestamp:
10/24/2023 09:47:43 PM (2 years ago)
Author:
KZeni
Message:

Added links to the plugin details on the main plugin page & confirmed WordPress 6.4 compliance.

Location:
admin-bar-wrap-fix
Files:
2 edited
10 copied

Legend:

Unmodified
Added
Removed
  • admin-bar-wrap-fix/tags/1.2.7/admin-bar-wrap-fix.php

    r2942788 r2983273  
    77 * Author URI: https://kzeni.com
    88 * License: GPLv3
    9  * Version: 1.2.6
     9 * Version: 1.2.7
    1010 * Requires at least: 4.6
    11  * Tested up to: 6.3
     11 * Tested up to: 6.4
    1212 */
    1313
    14 define('ADMIN_BAR_WRAP_FIX_PLUGIN_VERSION', '1.2.6');
    15 define('ADMIN_BAR_WRAP_FIX_PLUGIN_PRIMARY_FILE', __FILE__);
    16 define('ADMIN_BAR_WRAP_FIX_PLUGIN_DIR_PATH', plugin_dir_path(ADMIN_BAR_WRAP_FIX_PLUGIN_PRIMARY_FILE));
    17 define('ADMIN_BAR_WRAP_FIX_PLUGIN_DIR_URL', plugin_dir_url(ADMIN_BAR_WRAP_FIX_PLUGIN_PRIMARY_FILE));
     14define("ADMIN_BAR_WRAP_FIX_PLUGIN_VERSION", "1.2.7");
     15define("ADMIN_BAR_WRAP_FIX_PLUGIN_PRIMARY_FILE", __FILE__);
     16define("ADMIN_BAR_WRAP_FIX_PLUGIN_NAME", plugin_basename(__FILE__));
     17define(
     18    "ADMIN_BAR_WRAP_FIX_PLUGIN_DIR_PATH",
     19    plugin_dir_path(ADMIN_BAR_WRAP_FIX_PLUGIN_PRIMARY_FILE)
     20);
     21define(
     22    "ADMIN_BAR_WRAP_FIX_PLUGIN_DIR_URL",
     23    plugin_dir_url(ADMIN_BAR_WRAP_FIX_PLUGIN_PRIMARY_FILE)
     24);
    1825
    1926function add_wp_adminbar_wrap_fix_css()
     
    2128    if (is_admin_bar_showing()) {
    2229        // Only bother to include stylesheet when the admin bar is being shown
    23         wp_register_style('admin-bar-wrap-fix', plugins_url('/admin-bar-wrap-fix.css', __FILE__), [], ADMIN_BAR_WRAP_FIX_PLUGIN_VERSION, 'screen');
    24         wp_enqueue_style('admin-bar-wrap-fix');
     30        wp_register_style(
     31            "admin-bar-wrap-fix",
     32            plugins_url("/admin-bar-wrap-fix.css", __FILE__),
     33            [],
     34            ADMIN_BAR_WRAP_FIX_PLUGIN_VERSION,
     35            "screen"
     36        );
     37        wp_enqueue_style("admin-bar-wrap-fix");
    2538    }
    2639}
    27 add_action('wp_enqueue_scripts', 'add_wp_adminbar_wrap_fix_css');
    28 add_action('admin_enqueue_scripts', 'add_wp_adminbar_wrap_fix_css');
     40add_action("wp_enqueue_scripts", "add_wp_adminbar_wrap_fix_css");
     41add_action("admin_enqueue_scripts", "add_wp_adminbar_wrap_fix_css");
     42
     43function kzeni_admin_bar_wrap_fix_plugin_extra_links($links, $plugin_name)
     44{
     45    if ($plugin_name != ADMIN_BAR_WRAP_FIX_PLUGIN_NAME) {
     46        return $links;
     47    }
     48    $links[] =
     49        '<a href="https://github.com/KZeni/Admin-Bar-Wrap-Fix" target="_blank">' .
     50        __("GitHub", "kzeni_disable_theme_plugin_update_emails") .
     51        "</a>";
     52    $links[] =
     53        '<a href="https://wordpress.org/support/plugin/admin-bar-wrap-fix/reviews/" target="_blank">' .
     54        __("Reviews", "kzeni_disable_theme_plugin_update_emails") .
     55        "</a>";
     56    $links[] =
     57        '<a href="https://wordpress.org/support/plugin/admin-bar-wrap-fix/" target="_blank">' .
     58        __("Support", "kzeni_disable_theme_plugin_update_emails") .
     59        "</a>";
     60    $links[] =
     61        '<a href="https://core.trac.wordpress.org/ticket/28983" target="_blank">' .
     62        __("Core Trac Ticket", "kzeni_disable_theme_plugin_update_emails") .
     63        "</a>";
     64    $links[] =
     65        '<a href="https://github.com/WordPress/wordpress-develop/pull/1082" target="_blank">' .
     66        __("Core GitHub Pull Request", "kzeni_disable_theme_plugin_update_emails") .
     67        "</a>";
     68    return $links;
     69}
     70add_filter(
     71    "plugin_row_meta",
     72    "kzeni_admin_bar_wrap_fix_plugin_extra_links",
     73    10,
     74    2
     75);
  • admin-bar-wrap-fix/tags/1.2.7/readme.txt

    r2942788 r2983273  
    44License: GPLv3
    55Tags: Admin Bar, adminbar, ui, ui fix, overflow, wrapping
    6 Stable tag: 1.2.6
    7 Tested up to: 6.3
     6Stable tag: 1.2.7
     7Tested up to: 6.4
    88Requires at least: 4.6
    99Requires PHP: 5.4
     
    28282. Fewer items shown with plugin (shows normally).
    29293. What WordPress currently does without this plugin (overlapping items hijack hover and makes things inaccessible, and the user experience is generally broken).
     30
     31== Changelog ==
     32
     33= 1.2.7 =
     34
     35Released October 24th, 2023
     36
     37* Added links to the plugin details on the main plugin page.
     38* Confirmed WordPress 6.4 compliance.
    3039
    3140== Changelog ==
  • admin-bar-wrap-fix/trunk/admin-bar-wrap-fix.php

    r2942783 r2983273  
    77 * Author URI: https://kzeni.com
    88 * License: GPLv3
    9  * Version: 1.2.6
     9 * Version: 1.2.7
    1010 * Requires at least: 4.6
    11  * Tested up to: 6.3
     11 * Tested up to: 6.4
    1212 */
    1313
    14 define('ADMIN_BAR_WRAP_FIX_PLUGIN_VERSION', '1.2.6');
    15 define('ADMIN_BAR_WRAP_FIX_PLUGIN_PRIMARY_FILE', __FILE__);
    16 define('ADMIN_BAR_WRAP_FIX_PLUGIN_DIR_PATH', plugin_dir_path(ADMIN_BAR_WRAP_FIX_PLUGIN_PRIMARY_FILE));
    17 define('ADMIN_BAR_WRAP_FIX_PLUGIN_DIR_URL', plugin_dir_url(ADMIN_BAR_WRAP_FIX_PLUGIN_PRIMARY_FILE));
     14define("ADMIN_BAR_WRAP_FIX_PLUGIN_VERSION", "1.2.7");
     15define("ADMIN_BAR_WRAP_FIX_PLUGIN_PRIMARY_FILE", __FILE__);
     16define("ADMIN_BAR_WRAP_FIX_PLUGIN_NAME", plugin_basename(__FILE__));
     17define(
     18    "ADMIN_BAR_WRAP_FIX_PLUGIN_DIR_PATH",
     19    plugin_dir_path(ADMIN_BAR_WRAP_FIX_PLUGIN_PRIMARY_FILE)
     20);
     21define(
     22    "ADMIN_BAR_WRAP_FIX_PLUGIN_DIR_URL",
     23    plugin_dir_url(ADMIN_BAR_WRAP_FIX_PLUGIN_PRIMARY_FILE)
     24);
    1825
    1926function add_wp_adminbar_wrap_fix_css()
     
    2128    if (is_admin_bar_showing()) {
    2229        // Only bother to include stylesheet when the admin bar is being shown
    23         wp_register_style('admin-bar-wrap-fix', plugins_url('/admin-bar-wrap-fix.css', __FILE__), [], ADMIN_BAR_WRAP_FIX_PLUGIN_VERSION, 'screen');
    24         wp_enqueue_style('admin-bar-wrap-fix');
     30        wp_register_style(
     31            "admin-bar-wrap-fix",
     32            plugins_url("/admin-bar-wrap-fix.css", __FILE__),
     33            [],
     34            ADMIN_BAR_WRAP_FIX_PLUGIN_VERSION,
     35            "screen"
     36        );
     37        wp_enqueue_style("admin-bar-wrap-fix");
    2538    }
    2639}
    27 add_action('wp_enqueue_scripts', 'add_wp_adminbar_wrap_fix_css');
    28 add_action('admin_enqueue_scripts', 'add_wp_adminbar_wrap_fix_css');
     40add_action("wp_enqueue_scripts", "add_wp_adminbar_wrap_fix_css");
     41add_action("admin_enqueue_scripts", "add_wp_adminbar_wrap_fix_css");
     42
     43function kzeni_admin_bar_wrap_fix_plugin_extra_links($links, $plugin_name)
     44{
     45    if ($plugin_name != ADMIN_BAR_WRAP_FIX_PLUGIN_NAME) {
     46        return $links;
     47    }
     48    $links[] =
     49        '<a href="https://github.com/KZeni/Admin-Bar-Wrap-Fix" target="_blank">' .
     50        __("GitHub", "kzeni_disable_theme_plugin_update_emails") .
     51        "</a>";
     52    $links[] =
     53        '<a href="https://wordpress.org/support/plugin/admin-bar-wrap-fix/reviews/" target="_blank">' .
     54        __("Reviews", "kzeni_disable_theme_plugin_update_emails") .
     55        "</a>";
     56    $links[] =
     57        '<a href="https://wordpress.org/support/plugin/admin-bar-wrap-fix/" target="_blank">' .
     58        __("Support", "kzeni_disable_theme_plugin_update_emails") .
     59        "</a>";
     60    $links[] =
     61        '<a href="https://core.trac.wordpress.org/ticket/28983" target="_blank">' .
     62        __("Core Trac Ticket", "kzeni_disable_theme_plugin_update_emails") .
     63        "</a>";
     64    $links[] =
     65        '<a href="https://github.com/WordPress/wordpress-develop/pull/1082" target="_blank">' .
     66        __("Core GitHub Pull Request", "kzeni_disable_theme_plugin_update_emails") .
     67        "</a>";
     68    return $links;
     69}
     70add_filter(
     71    "plugin_row_meta",
     72    "kzeni_admin_bar_wrap_fix_plugin_extra_links",
     73    10,
     74    2
     75);
  • admin-bar-wrap-fix/trunk/readme.txt

    r2942783 r2983273  
    44License: GPLv3
    55Tags: Admin Bar, adminbar, ui, ui fix, overflow, wrapping
    6 Stable tag: 1.2.6
    7 Tested up to: 6.3
     6Stable tag: 1.2.7
     7Tested up to: 6.4
    88Requires at least: 4.6
    99Requires PHP: 5.4
     
    28282. Fewer items shown with plugin (shows normally).
    29293. What WordPress currently does without this plugin (overlapping items hijack hover and makes things inaccessible, and the user experience is generally broken).
     30
     31== Changelog ==
     32
     33= 1.2.7 =
     34
     35Released October 24th, 2023
     36
     37* Added links to the plugin details on the main plugin page.
     38* Confirmed WordPress 6.4 compliance.
    3039
    3140== Changelog ==
Note: See TracChangeset for help on using the changeset viewer.