Changeset 3697132
- Timestamp:
- 09/15/2026 02:25:56 PM (6 weeks ago)
- Location:
- bottoll/trunk
- Files:
-
- 5 edited
-
bottoll.php (modified) (1 diff)
-
includes/class-admin.php (modified) (2 diffs)
-
languages/bottoll-fr_FR.mo (modified) ( previous)
-
languages/bottoll-fr_FR.po (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
bottoll/trunk/bottoll.php
r3657093 r3697132 5 5 Plugin URI: https://www.bottoll.com/documentation/wordpress 6 6 Description: Detect AI crawlers, apply access policies, and understand automated access to your WordPress content. 7 Version: 1.1. 37 Version: 1.1.4 8 8 Requires at least: 6.4 9 9 Requires PHP: 7.2 -
bottoll/trunk/includes/class-admin.php
r3657093 r3697132 22 22 add_action('admin_enqueue_scripts', [$this, 'enqueueAssets']); 23 23 add_action('admin_init', [$this, 'settings']); 24 add_filter( 25 'plugin_action_links_' . plugin_basename(dirname(__DIR__) . '/bottoll.php'), 26 [$this, 'pluginActionLinks'] 27 ); 24 28 add_action( 25 29 'admin_post_bottoll_test_connection', … … 30 34 [$this, 'disconnect'] 31 35 ); 36 } 37 38 /** 39 * Ajoute un accès direct aux réglages depuis la liste des extensions. 40 * 41 * @param array<int|string, string> $links Liens d'action du plugin. 42 * @return array<int|string, string> 43 */ 44 public function pluginActionLinks(array $links): array 45 { 46 $settingsLink = sprintf( 47 '<a href="%1$s">%2$s</a>', 48 esc_url(admin_url('options-general.php?page=' . self::PAGE_SLUG)), 49 esc_html__('Configure Bottoll', 'bottoll') 50 ); 51 52 array_unshift($links, $settingsLink); 53 54 return $links; 32 55 } 33 56 -
bottoll/trunk/languages/bottoll-fr_FR.po
r3625740 r3697132 28 28 msgid "Bottoll" 29 29 msgstr "Bottoll" 30 31 msgid "Configure Bottoll" 32 msgstr "Configurer Bottoll" 30 33 31 34 msgid "You are not allowed to perform this action." -
bottoll/trunk/readme.txt
r3657093 r3697132 130 130 == Changelog == 131 131 132 = 1.1.4 = 133 * Add quick link to settings. 134 132 135 = 1.1.3 = 133 136 * Add support for PHP 7.2 and later.
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)