Plugin Directory

Changeset 3831457


Ignore:
Timestamp:
11/28/2026 01:09:58 PM (104 minutes ago)
Author:
finesfinest
Message:

Update to version 1.4.1 from GitHub

Location:
fines-finest-booking
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • fines-finest-booking/tags/1.4.1/fines-finest-booking.php

    r3831424 r3831457  
    44 * Plugin URI:        https://github.com/FinesFinest/fines-finest-booking
    55 * Description:       Appointment booking in your own design, with Google Calendar sync, Google Meet, confirmation emails and Brevo. All data stays in your own WordPress database.
    6  * Version:           1.4.0
     6 * Version:           1.4.1
    77 * Requires at least: 6.0
    88 * Requires PHP:      7.4
    … …  
    1717}
    1818
    19 define( 'FFBOOKING_VERSION', '1.4.0' );
     19define( 'FFBOOKING_VERSION', '1.4.1' );
    2020define( 'FFBOOKING_FILE', __FILE__ );
    2121define( 'FFBOOKING_DIR', plugin_dir_path( __FILE__ ) );
  • fines-finest-booking/tags/1.4.1/includes/class-ffb-admin.php

    r3831424 r3831457  
    4242                add_action( 'admin_notices', array( 'FFBooking_Install', 'admin_notices' ) );
    4343                add_filter( 'plugin_action_links_' . plugin_basename( FFBOOKING_FILE ), array( __CLASS__, 'plugin_links' ) );
    44         }
    45 
    46         /**
    47          * Links "Einstellungen" und "Termintypen" in der Pluginliste.
     44                add_filter( 'plugin_row_meta', array( __CLASS__, 'plugin_row_meta' ), 10, 2 );
     45        }
     46
     47        /**
     48         * Links "Einstellungen", "Termintypen" und "Spende" in der Pluginliste.
    4849         *
    4950         * @param array $links Bisherige Links.
    … …  
    5152         */
    5253        public static function plugin_links( $links ) {
    53                 array_unshift(
    54                         $links,
     54                $own = array(
    5555                        '<a href="' . esc_url( admin_url( 'admin.php?page=ffbooking-settings' ) ) . '">' . esc_html__( 'Settings', 'fines-finest-booking' ) . '</a>',
    56                         '<a href="' . esc_url( admin_url( 'admin.php?page=ffbooking-event-types' ) ) . '">' . esc_html__( 'Appointment types', 'fines-finest-booking' ) . '</a>'
     56                        '<a href="' . esc_url( admin_url( 'admin.php?page=ffbooking-event-types' ) ) . '">' . esc_html__( 'Appointment types', 'fines-finest-booking' ) . '</a>',
    5757                );
     58
     59                // Kaffeekasse, nur mit hinterlegter Adresse.
     60                if ( FFBOOKING_DONATE_URL ) {
     61                        $own[] = '<a href="' . esc_url( FFBOOKING_DONATE_URL ) . '" target="_blank" rel="noopener"><strong>' . esc_html__( 'Donate', 'fines-finest-booking' ) . '</strong></a>';
     62                }
     63
     64                return array_merge( $own, (array) $links );
     65        }
     66
     67        /**
     68         * Adresse der Anleitung. Auf deutschen Websites die ausfuehrliche deutsche Anleitung,
     69         * sonst der Abschnitt "Installation" im WordPress-Verzeichnis.
     70         *
     71         * @return string
     72         */
     73        public static function guide_url() {
     74                $url = 0 === strpos( (string) get_user_locale(), 'de' )
     75                        ? 'https://github.com/FinesFinest/fines-finest-booking/blob/main/docs/INSTALL.md'
     76                        : 'https://wordpress.org/plugins/fines-finest-booking/#installation';
     77
     78                /**
     79                 * Adresse hinter dem Link "Anleitung" in der Pluginliste.
     80                 *
     81                 * @param string $url Adresse.
     82                 */
     83                return (string) apply_filters( 'ffbooking_guide_url', $url );
     84        }
     85
     86        /**
     87         * Adresse fuer Fragen zum Plugin: das Support-Forum im WordPress-Verzeichnis.
     88         *
     89         * @return string
     90         */
     91        public static function support_url() {
     92                /**
     93                 * Adresse hinter dem Link "Support" in der Pluginliste.
     94                 *
     95                 * @param string $url Adresse.
     96                 */
     97                return (string) apply_filters( 'ffbooking_support_url', 'https://wordpress.org/support/plugin/fines-finest-booking/' );
     98        }
     99
     100        /**
     101         * Links "Anleitung" und "Support" in der Zeile mit Version und Autorin.
     102         *
     103         * @param array  $links Bisherige Links.
     104         * @param string $file  Plugin, zu dem die Zeile gehoert.
     105         * @return array
     106         */
     107        public static function plugin_row_meta( $links, $file ) {
     108                if ( plugin_basename( FFBOOKING_FILE ) !== $file ) {
     109                        return $links;
     110                }
     111
     112                $links   = (array) $links;
     113                $links[] = '<a href="' . esc_url( self::guide_url() ) . '" target="_blank" rel="noopener">' . esc_html__( 'Setup guide', 'fines-finest-booking' ) . '</a>';
     114                $links[] = '<a href="' . esc_url( self::support_url() ) . '" target="_blank" rel="noopener">' . esc_html__( 'Support', 'fines-finest-booking' ) . '</a>';
    58115
    59116                return $links;
  • fines-finest-booking/tags/1.4.1/readme.txt

    r3831424 r3831457  
    66Tested up to: 7.2
    77Requires PHP: 7.4
    8 Stable tag: 1.4.0
     8Stable tag: 1.4.1
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    9090== Changelog ==
    9191
     92= 1.4.1 =
     93* New in the plugin list: links to the setup guide and to the support forum, and a donate link next to the settings.
     94* Self-hosted edition only: "Check for updates" in the plugin list. The edition in the WordPress plugin directory updates through wordpress.org.
     95
    9296= 1.4.0 =
    9397* New: a step-by-step Google setup assistant on the settings page. It links to the right pages of the Google Cloud Console and has copy buttons for the values you need to enter.
  • fines-finest-booking/trunk/fines-finest-booking.php

    r3831424 r3831457  
    44 * Plugin URI:        https://github.com/FinesFinest/fines-finest-booking
    55 * Description:       Appointment booking in your own design, with Google Calendar sync, Google Meet, confirmation emails and Brevo. All data stays in your own WordPress database.
    6  * Version:           1.4.0
     6 * Version:           1.4.1
    77 * Requires at least: 6.0
    88 * Requires PHP:      7.4
    … …  
    1717}
    1818
    19 define( 'FFBOOKING_VERSION', '1.4.0' );
     19define( 'FFBOOKING_VERSION', '1.4.1' );
    2020define( 'FFBOOKING_FILE', __FILE__ );
    2121define( 'FFBOOKING_DIR', plugin_dir_path( __FILE__ ) );
  • fines-finest-booking/trunk/includes/class-ffb-admin.php

    r3831424 r3831457  
    4242                add_action( 'admin_notices', array( 'FFBooking_Install', 'admin_notices' ) );
    4343                add_filter( 'plugin_action_links_' . plugin_basename( FFBOOKING_FILE ), array( __CLASS__, 'plugin_links' ) );
    44         }
    45 
    46         /**
    47          * Links "Einstellungen" und "Termintypen" in der Pluginliste.
     44                add_filter( 'plugin_row_meta', array( __CLASS__, 'plugin_row_meta' ), 10, 2 );
     45        }
     46
     47        /**
     48         * Links "Einstellungen", "Termintypen" und "Spende" in der Pluginliste.
    4849         *
    4950         * @param array $links Bisherige Links.
    … …  
    5152         */
    5253        public static function plugin_links( $links ) {
    53                 array_unshift(
    54                         $links,
     54                $own = array(
    5555                        '<a href="' . esc_url( admin_url( 'admin.php?page=ffbooking-settings' ) ) . '">' . esc_html__( 'Settings', 'fines-finest-booking' ) . '</a>',
    56                         '<a href="' . esc_url( admin_url( 'admin.php?page=ffbooking-event-types' ) ) . '">' . esc_html__( 'Appointment types', 'fines-finest-booking' ) . '</a>'
     56                        '<a href="' . esc_url( admin_url( 'admin.php?page=ffbooking-event-types' ) ) . '">' . esc_html__( 'Appointment types', 'fines-finest-booking' ) . '</a>',
    5757                );
     58
     59                // Kaffeekasse, nur mit hinterlegter Adresse.
     60                if ( FFBOOKING_DONATE_URL ) {
     61                        $own[] = '<a href="' . esc_url( FFBOOKING_DONATE_URL ) . '" target="_blank" rel="noopener"><strong>' . esc_html__( 'Donate', 'fines-finest-booking' ) . '</strong></a>';
     62                }
     63
     64                return array_merge( $own, (array) $links );
     65        }
     66
     67        /**
     68         * Adresse der Anleitung. Auf deutschen Websites die ausfuehrliche deutsche Anleitung,
     69         * sonst der Abschnitt "Installation" im WordPress-Verzeichnis.
     70         *
     71         * @return string
     72         */
     73        public static function guide_url() {
     74                $url = 0 === strpos( (string) get_user_locale(), 'de' )
     75                        ? 'https://github.com/FinesFinest/fines-finest-booking/blob/main/docs/INSTALL.md'
     76                        : 'https://wordpress.org/plugins/fines-finest-booking/#installation';
     77
     78                /**
     79                 * Adresse hinter dem Link "Anleitung" in der Pluginliste.
     80                 *
     81                 * @param string $url Adresse.
     82                 */
     83                return (string) apply_filters( 'ffbooking_guide_url', $url );
     84        }
     85
     86        /**
     87         * Adresse fuer Fragen zum Plugin: das Support-Forum im WordPress-Verzeichnis.
     88         *
     89         * @return string
     90         */
     91        public static function support_url() {
     92                /**
     93                 * Adresse hinter dem Link "Support" in der Pluginliste.
     94                 *
     95                 * @param string $url Adresse.
     96                 */
     97                return (string) apply_filters( 'ffbooking_support_url', 'https://wordpress.org/support/plugin/fines-finest-booking/' );
     98        }
     99
     100        /**
     101         * Links "Anleitung" und "Support" in der Zeile mit Version und Autorin.
     102         *
     103         * @param array  $links Bisherige Links.
     104         * @param string $file  Plugin, zu dem die Zeile gehoert.
     105         * @return array
     106         */
     107        public static function plugin_row_meta( $links, $file ) {
     108                if ( plugin_basename( FFBOOKING_FILE ) !== $file ) {
     109                        return $links;
     110                }
     111
     112                $links   = (array) $links;
     113                $links[] = '<a href="' . esc_url( self::guide_url() ) . '" target="_blank" rel="noopener">' . esc_html__( 'Setup guide', 'fines-finest-booking' ) . '</a>';
     114                $links[] = '<a href="' . esc_url( self::support_url() ) . '" target="_blank" rel="noopener">' . esc_html__( 'Support', 'fines-finest-booking' ) . '</a>';
    58115
    59116                return $links;
  • fines-finest-booking/trunk/readme.txt

    r3831424 r3831457  
    66Tested up to: 7.2
    77Requires PHP: 7.4
    8 Stable tag: 1.4.0
     8Stable tag: 1.4.1
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    9090== Changelog ==
    9191
     92= 1.4.1 =
     93* New in the plugin list: links to the setup guide and to the support forum, and a donate link next to the settings.
     94* Self-hosted edition only: "Check for updates" in the plugin list. The edition in the WordPress plugin directory updates through wordpress.org.
     95
    9296= 1.4.0 =
    9397* New: a step-by-step Google setup assistant on the settings page. It links to the right pages of the Google Cloud Console and has copy buttons for the values you need to enter.
Note: See TracChangeset for help on using the changeset viewer.