Skip to content

Commit

Permalink
Merge pull request #148 from dreamsicle-io/release/3.7.2-RC2
Browse files Browse the repository at this point in the history
Release/3.7.2 rc2
  • Loading branch information
theenoahmason committed Dec 15, 2022
2 parents c213e9c + 72ac699 commit ff033f6
Show file tree
Hide file tree
Showing 14 changed files with 445 additions and 423 deletions.
114 changes: 62 additions & 52 deletions docs/reference/classes/WP-Backstage-Component.html

Large diffs are not rendered by default.

100 changes: 50 additions & 50 deletions docs/reference/classes/WP-Backstage-Nav-Menu-Item.html

Large diffs are not rendered by default.

100 changes: 50 additions & 50 deletions docs/reference/classes/WP-Backstage-Options.html

Large diffs are not rendered by default.

100 changes: 50 additions & 50 deletions docs/reference/classes/WP-Backstage-Post-Type.html

Large diffs are not rendered by default.

100 changes: 50 additions & 50 deletions docs/reference/classes/WP-Backstage-Taxonomy.html

Large diffs are not rendered by default.

100 changes: 50 additions & 50 deletions docs/reference/classes/WP-Backstage-User.html

Large diffs are not rendered by default.

100 changes: 50 additions & 50 deletions docs/reference/classes/WP-Backstage-Widget.html

Large diffs are not rendered by default.

70 changes: 40 additions & 30 deletions docs/reference/classes/WP-Backstage.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/reference/reports/markers.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,12 @@ <h3><abbr title="includes/class-wp-backstage.php">class-wp-backstage.php</abbr><
<tbody>
<tr>
<td class="phpdocumentor-cell">TODO</td>
<td class="phpdocumentor-cell">1720</td>
<td class="phpdocumentor-cell">1721</td>
<td class="phpdocumentor-cell">Figure out why tiny MCE is only focusing the last editor on the page,</td>
</tr>
<tr>
<td class="phpdocumentor-cell">TODO</td>
<td class="phpdocumentor-cell">1689</td>
<td class="phpdocumentor-cell">1690</td>
<td class="phpdocumentor-cell">Make sure clicking on label focuses the editor.</td>
</tr>
</tbody>
Expand Down
7 changes: 4 additions & 3 deletions includes/class-wp-backstage-component.php
Original file line number Diff line number Diff line change
Expand Up @@ -781,8 +781,9 @@ protected function is_screen( $key = '', $value = '' ) {
* @link https://developer.wordpress.org/plugins/hooks/actions/ WP Actions
* @link https://developer.wordpress.org/plugins/hooks/filters/ WP Filters
*
* @since 0.0.1
* @return void
* @since 0.0.1
* @since 3.7.2 Moves code editor inline script to priority 20 to solve customizer "Additional CSS" panel bug.
* @return void
*/
public function init() {

Expand All @@ -797,7 +798,7 @@ public function init() {
return;
}

add_action( 'admin_print_scripts', array( $this, 'inline_code_editor_script' ), 0 );
add_action( 'admin_print_scripts', array( $this, 'inline_code_editor_script' ), 20 );

}

Expand Down
5 changes: 3 additions & 2 deletions includes/class-wp-backstage.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ public function __construct() {
* @since 0.0.1
* @since 3.4.0 Adds filter to disable block editor for widgets.
* @since 3.7.0 Removes filter to disable block editor for widgets.
* @since 3.7.2 Moves code editor inline script to priority 20 to solve customizer "Additional CSS" panel bug.
* @return void
*/
public function init() {
Expand All @@ -175,15 +176,15 @@ public function init() {
return;
}

add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_scripts' ), 10 );
add_action( 'admin_print_styles', array( $this, 'inline_global_style' ), 10 );
add_action( 'admin_print_styles', array( $this, 'inline_editor_style' ), 10 );
add_action( 'admin_print_styles', array( $this, 'inline_code_editor_style' ), 10 );
add_action( 'admin_print_styles', array( $this, 'inline_media_uploader_style' ), 10 );
add_action( 'admin_print_styles', array( $this, 'inline_thumbnail_column_style' ), 10 );
add_action( 'admin_print_scripts', array( $this, 'inline_global_script' ), 10 );
add_action( 'admin_print_scripts', array( $this, 'inline_rest_api_preview_code_editor_script' ), 10 );
add_action( 'admin_print_scripts', array( $this, 'inline_rest_api_preview_code_editor_script' ), 20 );
add_action( 'admin_print_footer_scripts', array( $this, 'inline_media_mixin_overrides_script' ), 20 );
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_scripts' ), 10 );
add_action( 'admin_print_footer_scripts', array( $this, 'inline_media_uploader_script' ), 10 );
add_action( 'admin_print_footer_scripts', array( $this, 'inline_date_picker_script' ), 10 );
add_action( 'admin_print_footer_scripts', array( $this, 'inline_color_picker_script' ), 10 );
Expand Down
64 changes: 32 additions & 32 deletions languages/wp-backstage.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the GPLv2.
msgid ""
msgstr ""
"Project-Id-Version: WP Backstage 3.7.1\n"
"Project-Id-Version: WP Backstage 3.7.2\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-backstage\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2022-12-14T19:16:01+00:00\n"
"POT-Creation-Date: 2022-12-15T20:55:14+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.6.0\n"
"X-Domain: wp_backstage\n"
Expand Down Expand Up @@ -1305,145 +1305,145 @@ msgid "Error: %1$s"
msgstr ""

#. translators: 1: user display name, 2: user username
#: includes/class-wp-backstage-component.php:1621
#: includes/class-wp-backstage-component.php:1622
msgctxt "select users filter - option label"
msgid "%1$s (%2$s)"
msgstr ""

#: includes/class-wp-backstage-component.php:1634
#: includes/class-wp-backstage-component.php:1635
msgctxt "select users filter - option none label"
msgid "All Users"
msgstr ""

#: includes/class-wp-backstage-component.php:1650
#: includes/class-wp-backstage-component.php:1651
msgctxt "filter - option none label"
msgid "All options"
msgstr ""

#: includes/class-wp-backstage-component.php:1770
#: includes/class-wp-backstage-component.php:1771
msgctxt "checkbox column - true"
msgid "True"
msgstr ""

#. translators: 1: value label.
#: includes/class-wp-backstage-component.php:1907
#: includes/class-wp-backstage-component.php:1908
msgctxt "filterable value link title"
msgid "Filter by %1$s"
msgstr ""

#. translators: 1: field label
#: includes/class-wp-backstage-component.php:3050
#: includes/class-wp-backstage-component.php:3051
msgctxt "media uploader field - modal single button"
msgid "Set %1$s"
msgstr ""

#. translators: 1: field label
#: includes/class-wp-backstage-component.php:3055
#: includes/class-wp-backstage-component.php:3056
msgctxt "media uploader field - modal multiple button"
msgid "Add to %1$s"
msgstr ""

#. translators: 1: field label
#: includes/class-wp-backstage-component.php:3060
#: includes/class-wp-backstage-component.php:3061
msgctxt "media uploader field - add button"
msgid "Add %1$s"
msgstr ""

#. translators: 1: field label
#: includes/class-wp-backstage-component.php:3065
#: includes/class-wp-backstage-component.php:3066
msgctxt "media uploader field - add to button"
msgid "Add to %1$s"
msgstr ""

#. translators: 1: field label
#: includes/class-wp-backstage-component.php:3070
#: includes/class-wp-backstage-component.php:3071
msgctxt "media uploader field - replace button"
msgid "Replace %1$s"
msgstr ""

#. translators: 1: field label
#: includes/class-wp-backstage-component.php:3075
#: includes/class-wp-backstage-component.php:3076
msgctxt "media uploader field - remove button"
msgid "Remove %1$s"
msgstr ""

#: includes/class-wp-backstage-component.php:3078
#: includes/class-wp-backstage-component.php:3079
msgctxt "media uploader field - loader"
msgid "Loading preview..."
msgstr ""

#: includes/class-wp-backstage-component.php:3079
#: includes/class-wp-backstage-component.php:3080
msgctxt "media uploader field - error"
msgid "There was an error rendering the preview."
msgstr ""

#: includes/class-wp-backstage-component.php:3080
#: includes/class-wp-backstage-component.php:3081
msgctxt "media uploader field - try again button"
msgid "Try again"
msgstr ""

#: includes/class-wp-backstage-component.php:3261
#: includes/class-wp-backstage-component.php:3262
msgctxt "address field - country label"
msgid "Country"
msgstr ""

#: includes/class-wp-backstage-component.php:3305
#: includes/class-wp-backstage-component.php:3306
msgctxt "address field - line 1"
msgid "Address"
msgstr ""

#: includes/class-wp-backstage-component.php:3338
#: includes/class-wp-backstage-component.php:3339
msgctxt "address field - line 2"
msgid "Address (Line 2)"
msgstr ""

#: includes/class-wp-backstage-component.php:3371
#: includes/class-wp-backstage-component.php:3372
msgctxt "address field - city"
msgid "City"
msgstr ""

#: includes/class-wp-backstage-component.php:3404
#: includes/class-wp-backstage-component.php:3405
msgctxt "address field - state input"
msgid "State / Province / Region"
msgstr ""

#: includes/class-wp-backstage-component.php:3436
#: includes/class-wp-backstage-component.php:3437
msgctxt "address field - state select"
msgid "State"
msgstr ""

#: includes/class-wp-backstage-component.php:3480
#: includes/class-wp-backstage-component.php:3481
msgctxt "address field - zip"
msgid "Zip Code"
msgstr ""

#: includes/class-wp-backstage-component.php:3539
#: includes/class-wp-backstage-component.php:3540
msgctxt "select posts field - default option none label"
msgid "Select"
msgstr ""

#: includes/class-wp-backstage-component.php:3632
#: includes/class-wp-backstage-component.php:3633
msgctxt "select users field - default option none label"
msgid "Select"
msgstr ""

#. translators: 1: user display name, 2: user username
#: includes/class-wp-backstage-component.php:3679
#: includes/class-wp-backstage-component.php:3680
msgctxt "select users field - option label"
msgid "%1$s (%2$s)"
msgstr ""

#: includes/class-wp-backstage-component.php:3726
#: includes/class-wp-backstage-component.php:3727
msgctxt "rest api preview - loading"
msgid "Loading..."
msgstr ""

#: includes/class-wp-backstage-component.php:3727
#: includes/class-wp-backstage-component.php:3728
msgctxt "rest api preview - instructions"
msgid "<strong>No data fetched yet</strong> ― Click the fetch button to get started."
msgstr ""

#: includes/class-wp-backstage-component.php:3743
#: includes/class-wp-backstage-component.php:3744
msgctxt "rest api preview - form submit"
msgid "Fetch"
msgstr ""
Expand Down Expand Up @@ -2374,18 +2374,18 @@ msgid "[Widget] The %1$s key is required."
msgstr ""

#. translators: 1: plugin name link.
#: includes/class-wp-backstage.php:261
#: includes/class-wp-backstage.php:262
msgctxt "plugin dependency message"
msgid "[WP Backstage Plugin Dependency] The %1$s plugin must be installed and activated."
msgstr ""

#. translators: 1: error message.
#: includes/class-wp-backstage.php:328
#: includes/class-wp-backstage.php:329
msgctxt "plugin error message"
msgid "Error: %1$s"
msgstr ""

#: includes/class-wp-backstage.php:2815
#: includes/class-wp-backstage.php:2816
msgctxt "media item - remove"
msgid "Remove"
msgstr ""
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Contributors: noahmason
Tags: post-types, taxonomies, attachments, nav-menus, options, settings, widgets, meta-boxes, custom-fields
Stable tag: 3.7.1
Stable tag: 3.7.2
Requires PHP: 7.4.0
Requires at least: 5.8.0
Tested up to: 6.0.0
Expand Down
2 changes: 1 addition & 1 deletion wp-backstage.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Plugin Name: WP Backstage
* Plugin URI: https://github.com/dreamsicle-io/wp-backstage
* Description: Create standardized and deployable WordPress objects like post types with meta boxes and custom fields, taxonomy terms with custom fields, options pages with custom fields and widgets with custom fields; and extend existing WordPress objects like pages, posts, attachments, categories, tags, users and nav menu items.
* Version: 3.7.1
* Version: 3.7.2
* Requires PHP: 7.4.0
* Requires at least: 5.8.0
* Author: Dreamsicle
Expand Down

0 comments on commit ff033f6

Please sign in to comment.