Plugin Directory

Changeset 2782335


Ignore:
Timestamp:
09/09/2022 08:16:52 AM (4 years ago)
Author:
websitevoice
Message:

Fix latest wordpress

Location:
websitevoice/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • websitevoice/trunk/README.txt

    r2718967 r2782335  
    4444
    4545== Changelog ==
     46
     47= 1.4.1 =
     48
     49* Fix for latest WordPress
    4650
    4751= 1.4.0 =
  • websitevoice/trunk/websitevoice.php

    r2718967 r2782335  
    55 * Plugin URI:        https://websitevoice.com
    66 * Description:       Turn your articles into high-quality audio for your audience to listen while they’re busy multitasking or on the go.
    7  * Version:           1.4.0
     7 * Version:           1.4.1
    88 * Author:            WebsiteVoice
    99 * License:           GPL-2.0+
     
    1313
    1414if (!defined('WEBSITEVOICE_VERSION_NUM'))
    15   define('WEBSITEVOICE_VERSION_NUM', '1.4.0');
     15  define('WEBSITEVOICE_VERSION_NUM', '1.4.1');
    1616
    1717if (!defined('WEBSITEVOICE_VERSION_KEY'))
     
    8787
    8888function websitevoice_admin_enqueue_scripts($hook) {
    89   if ($hook !== 'settings_page_websitevoice') {
     89  $hooks_of_interest = array('settings_page_websitevoice', 'toplevel_page_websitevoice');
     90  if (!in_array($hook, $hooks_of_interest)) {
    9091    return;
    9192  }
Note: See TracChangeset for help on using the changeset viewer.