From fc5044e829d968b5c265064c6b2e0ec5b906b580 Mon Sep 17 00:00:00 2001 From: Danny Gershman Date: Sun, 28 Oct 2018 00:19:38 -0400 Subject: [PATCH] rolling back bread.php change, bump ver --- bread.php => bmlt-meeting-list.php | 10 +++++----- contribute.md | 2 +- readme.txt | 5 ++++- 3 files changed, 10 insertions(+), 7 deletions(-) rename bread.php => bmlt-meeting-list.php (99%) diff --git a/bread.php b/bmlt-meeting-list.php similarity index 99% rename from bread.php rename to bmlt-meeting-list.php index 5571e61..8ebeeb5 100644 --- a/bread.php +++ b/bmlt-meeting-list.php @@ -4,7 +4,7 @@ Plugin URI: http://wordpress.org/extend/plugins/bread/ Description: Maintains and generates a PDF Meeting List from BMLT. Author: odathp, radius314, pjaudiomv, klgrimley -Version: 1.7.0 +Version: 1.7.1 */ /* Disallow direct access to the plugin file */ use Mpdf\Mpdf; @@ -128,7 +128,7 @@ function is_root_server_missing() { $root_server = $this->options['root_server']; if ( $root_server == '' ) { echo '

Missing BMLT Server in settings for bread.

'; - $url = admin_url( 'options-general.php?page=bread.php' ); + $url = admin_url( 'options-general.php?page=bmlt-meeting-list.php' ); echo "

Settings

"; echo '
'; } @@ -158,7 +158,7 @@ function Bread() { * @desc Adds JS/CSS to the header */ function enqueue_backend_files($hook) { - if( $hook == 'toplevel_page_bread' ) { + if( $hook == 'toplevel_page_bmlt-meeting-list' ) { wp_enqueue_script('common'); wp_enqueue_script('jquery-ui-tabs'); wp_enqueue_script('jquery-ui-accordion'); @@ -2032,7 +2032,7 @@ function pwsix_process_settings_import() { $settings = json_decode($encode_options, true); update_option( $this->optionsName, $settings ); setcookie('pwsix_action', "import_settings", time()+10); - wp_safe_redirect( admin_url( '?page=bread.php' ) ); + wp_safe_redirect( admin_url( '?page=bmlt-meeting-list.php' ) ); } /** @@ -2062,7 +2062,7 @@ function pwsix_process_default_settings() { $settings = json_decode($encode_options, true); update_option( $this->optionsName, $settings ); setcookie('pwsix_action', "default_settings_success", time()+10); - wp_safe_redirect( admin_url( '?page=bread.php' ) ); + wp_safe_redirect( admin_url( '?page=bmlt-meeting-list.php' ) ); } /** diff --git a/contribute.md b/contribute.md index 40b15a7..6355b50 100644 --- a/contribute.md +++ b/contribute.md @@ -12,4 +12,4 @@ To get things going in your local environment. Get your wordpress installation going. Remember your admin password. Once it's up, login to admin and activate the bread plugin. -Now you can make edits to the bread.php file and it will instantly take effect. \ No newline at end of file +Now you can make edits to the bmlt-meeting-list.php file and it will instantly take effect. \ No newline at end of file diff --git a/readme.txt b/readme.txt index 78696c1..6a4c834 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: meeting list, bmlt, narcotics anonymous, na Requires at least: 4.0 Requires PHP: 5.6 Tested up to: 4.9.8 -Stable tag: 1.7.0 +Stable tag: 1.7.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html A web-based tool that creates, maintains and generates a PDF meeting list from BMLT. @@ -54,6 +54,9 @@ Follow all these steps, keep in mind that once you start using bread, it's not g == Changelog == += 1.7.1 = +* Rollback entrypoint to bread.php change. + = 1.7.0 = * Upgraded to mPDF 7.1.6 * Added page numbering font size adjustment. [#41]