Skip to content

Commit

Permalink
2.1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
stiofan committed Oct 8, 2020
1 parent b4918be commit 1506f4a
Show file tree
Hide file tree
Showing 11 changed files with 68 additions and 68 deletions.
10 changes: 5 additions & 5 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

// Define the version number for quick access
if (!defined('DIRECTORY_STARTER_VER')) define('DIRECTORY_STARTER_VER', '2.1.0.1');
if (!defined('DIRECTORY_STARTER_VER')) define('DIRECTORY_STARTER_VER', '2.1.0.2');

require_once('vendor/autoload.php'); // Composer autoload
require_once('lib/utils.php'); // Utility functions goes here
Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: paoltaia, stiofansisland, ayecode
Tags: food-and-drink, blog, one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, translation-ready
Requires at least: 4.0
Tested up to: 5.4
Stable tag: 2.1.0.1
Stable tag: 2.1.0.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -21,7 +21,7 @@ No, this is optional but recommended.

== Changelog ==

= 2.1.0.1 =
= 2.1.0.2 =
* Changes for AyeCode UI compatibility - CHANGED
* Theme changed to use bootstrap styles, this is a very big change and may need some manual changes - WARNING

Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: https://wpgeodirectory.com/downloads/directory-starter/
Author: GeoDirectory Team
Author URI: https://wpgeodirectory.com/
Description: Directory Starter is a starter theme for our GeoDirectory plugin (https://wordpress.org/plugins/geodirectory/), perfect to be edited directly or to create your own child themes. Directory Starter is a fully responsive Directory Theme that has been methodically coded to be lightweight and customisable, we have used all the latest WordPress Customizer options allowing you to customise the look and feel of your site with no coding knowledge. Check out the 1st child theme for DS called Supreme directory (https://wpgeodirectory.com/downloads/supreme-directory/)
Version: 2.1.0.1
Version: 2.1.0.2
Requires at least: 4.0
Tested up to: 5.5
Requires PHP: 5.6
Expand Down
2 changes: 1 addition & 1 deletion vendor/ayecode/wp-ayecode-ui/ayecode-ui-loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
add_action('after_setup_theme', function () {
global $ayecode_ui_version,$ayecode_ui_file_key;
$this_version = "0.1.29";
$this_version = "0.1.30";
if(version_compare($this_version , $ayecode_ui_version, '>')){
$ayecode_ui_version = $this_version ;
$ayecode_ui_file_key = wp_hash( __FILE__ );
Expand Down
2 changes: 1 addition & 1 deletion vendor/ayecode/wp-ayecode-ui/change-log.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= 0.1.29 =
= 0.1.30 =
* Changes for theme check - CHANGED

= 0.1.28 =
Expand Down
58 changes: 29 additions & 29 deletions vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -951,88 +951,88 @@ public function get_settings() {
*/
public function settings_page() {
if ( ! current_user_can( 'manage_options' ) ) {
wp_die( __( 'You do not have sufficient permissions to access this page.', 'aui' ) );
wp_die( __( 'You do not have sufficient permissions to access this page.', 'directory-starter' ) );
}
?>
<div class="wrap">
<h1><?php echo $this->name; ?></h1>
<p><?php _e("Here you can adjust settings if you are having compatibility issues.","aui");?></p>
<p><?php _e("Here you can adjust settings if you are having compatibility issues.","directory-starter");?></p>
<form method="post" action="options.php">
<?php
settings_fields( 'ayecode-ui-settings' );
do_settings_sections( 'ayecode-ui-settings' );
?>

<h2><?php _e( 'Frontend', 'aui' ); ?></h2>
<h2><?php _e( 'Frontend', 'directory-starter' ); ?></h2>
<table class="form-table wpbs-table-settings">
<tr valign="top">
<th scope="row"><label
for="wpbs-css"><?php _e( 'Load CSS', 'aui' ); ?></label></th>
for="wpbs-css"><?php _e( 'Load CSS', 'directory-starter' ); ?></label></th>
<td>
<select name="ayecode-ui-settings[css]" id="wpbs-css">
<option value="compatibility" <?php selected( $this->settings['css'], 'compatibility' ); ?>><?php _e( 'Compatibility Mode', 'aui' ); ?></option>
<option value="core" <?php selected( $this->settings['css'], 'core' ); ?>><?php _e( 'Full Mode', 'aui' ); ?></option>
<option value="" <?php selected( $this->settings['css'], '' ); ?>><?php _e( 'Disabled', 'aui' ); ?></option>
<option value="compatibility" <?php selected( $this->settings['css'], 'compatibility' ); ?>><?php _e( 'Compatibility Mode', 'directory-starter' ); ?></option>
<option value="core" <?php selected( $this->settings['css'], 'core' ); ?>><?php _e( 'Full Mode', 'directory-starter' ); ?></option>
<option value="" <?php selected( $this->settings['css'], '' ); ?>><?php _e( 'Disabled', 'directory-starter' ); ?></option>
</select>
</td>
</tr>

<tr valign="top">
<th scope="row"><label
for="wpbs-js"><?php _e( 'Load JS', 'aui' ); ?></label></th>
for="wpbs-js"><?php _e( 'Load JS', 'directory-starter' ); ?></label></th>
<td>
<select name="ayecode-ui-settings[js]" id="wpbs-js">
<option value="core-popper" <?php selected( $this->settings['js'], 'core-popper' ); ?>><?php _e( 'Core + Popper (default)', 'aui' ); ?></option>
<option value="popper" <?php selected( $this->settings['js'], 'popper' ); ?>><?php _e( 'Popper', 'aui' ); ?></option>
<option value="required" <?php selected( $this->settings['js'], 'required' ); ?>><?php _e( 'Required functions only', 'aui' ); ?></option>
<option value="" <?php selected( $this->settings['js'], '' ); ?>><?php _e( 'Disabled (not recommended)', 'aui' ); ?></option>
<option value="core-popper" <?php selected( $this->settings['js'], 'core-popper' ); ?>><?php _e( 'Core + Popper (default)', 'directory-starter' ); ?></option>
<option value="popper" <?php selected( $this->settings['js'], 'popper' ); ?>><?php _e( 'Popper', 'directory-starter' ); ?></option>
<option value="required" <?php selected( $this->settings['js'], 'required' ); ?>><?php _e( 'Required functions only', 'directory-starter' ); ?></option>
<option value="" <?php selected( $this->settings['js'], '' ); ?>><?php _e( 'Disabled (not recommended)', 'directory-starter' ); ?></option>
</select>
</td>
</tr>

<tr valign="top">
<th scope="row"><label
for="wpbs-font_size"><?php _e( 'HTML Font Size (px)', 'aui' ); ?></label></th>
for="wpbs-font_size"><?php _e( 'HTML Font Size (px)', 'directory-starter' ); ?></label></th>
<td>
<input type="number" name="ayecode-ui-settings[html_font_size]" id="wpbs-font_size" value="<?php echo absint( $this->settings['html_font_size']); ?>" placeholder="16" />
<p class="description" ><?php _e("Our font sizing is rem (responsive based) here you can set the html font size in-case your theme is setting it too low.","aui");?></p>
<p class="description" ><?php _e("Our font sizing is rem (responsive based) here you can set the html font size in-case your theme is setting it too low.","directory-starter");?></p>
</td>
</tr>

</table>

<h2><?php _e( 'Backend', 'aui' ); ?> (wp-admin)</h2>
<h2><?php _e( 'Backend', 'directory-starter' ); ?> (wp-admin)</h2>
<table class="form-table wpbs-table-settings">
<tr valign="top">
<th scope="row"><label
for="wpbs-css-admin"><?php _e( 'Load CSS', 'aui' ); ?></label></th>
for="wpbs-css-admin"><?php _e( 'Load CSS', 'directory-starter' ); ?></label></th>
<td>
<select name="ayecode-ui-settings[css_backend]" id="wpbs-css-admin">
<option value="compatibility" <?php selected( $this->settings['css_backend'], 'compatibility' ); ?>><?php _e( 'Compatibility Mode', 'aui' ); ?></option>
<option value="core" <?php selected( $this->settings['css_backend'], 'core' ); ?>><?php _e( 'Full Mode', 'aui' ); ?></option>
<option value="" <?php selected( $this->settings['css_backend'], '' ); ?>><?php _e( 'Disabled', 'aui' ); ?></option>
<option value="compatibility" <?php selected( $this->settings['css_backend'], 'compatibility' ); ?>><?php _e( 'Compatibility Mode', 'directory-starter' ); ?></option>
<option value="core" <?php selected( $this->settings['css_backend'], 'core' ); ?>><?php _e( 'Full Mode', 'directory-starter' ); ?></option>
<option value="" <?php selected( $this->settings['css_backend'], '' ); ?>><?php _e( 'Disabled', 'directory-starter' ); ?></option>
</select>
</td>
</tr>

<tr valign="top">
<th scope="row"><label
for="wpbs-js-admin"><?php _e( 'Load JS', 'aui' ); ?></label></th>
for="wpbs-js-admin"><?php _e( 'Load JS', 'directory-starter' ); ?></label></th>
<td>
<select name="ayecode-ui-settings[js_backend]" id="wpbs-js-admin">
<option value="core-popper" <?php selected( $this->settings['js_backend'], 'core-popper' ); ?>><?php _e( 'Core + Popper (default)', 'aui' ); ?></option>
<option value="popper" <?php selected( $this->settings['js_backend'], 'popper' ); ?>><?php _e( 'Popper', 'aui' ); ?></option>
<option value="required" <?php selected( $this->settings['js_backend'], 'required' ); ?>><?php _e( 'Required functions only', 'aui' ); ?></option>
<option value="" <?php selected( $this->settings['js_backend'], '' ); ?>><?php _e( 'Disabled (not recommended)', 'aui' ); ?></option>
<option value="core-popper" <?php selected( $this->settings['js_backend'], 'core-popper' ); ?>><?php _e( 'Core + Popper (default)', 'directory-starter' ); ?></option>
<option value="popper" <?php selected( $this->settings['js_backend'], 'popper' ); ?>><?php _e( 'Popper', 'directory-starter' ); ?></option>
<option value="required" <?php selected( $this->settings['js_backend'], 'required' ); ?>><?php _e( 'Required functions only', 'directory-starter' ); ?></option>
<option value="" <?php selected( $this->settings['js_backend'], '' ); ?>><?php _e( 'Disabled (not recommended)', 'directory-starter' ); ?></option>
</select>
</td>
</tr>

<tr valign="top">
<th scope="row"><label
for="wpbs-disable-admin"><?php _e( 'Disable load on URL', 'aui' ); ?></label></th>
for="wpbs-disable-admin"><?php _e( 'Disable load on URL', 'directory-starter' ); ?></label></th>
<td>
<p><?php _e( 'If you have backend conflict you can enter a partial URL argument that will disable the loading of AUI on those pages. Add each argument on a new line.', 'aui' ); ?></p>
<p><?php _e( 'If you have backend conflict you can enter a partial URL argument that will disable the loading of AUI on those pages. Add each argument on a new line.', 'directory-starter' ); ?></p>
<textarea name="ayecode-ui-settings[disable_admin]" rows="10" cols="50" id="wpbs-disable-admin" class="large-text code" spellcheck="false" placeholder="myplugin.php &#10;action=go"><?php echo $this->settings['disable_admin'];?></textarea>

</td>
Expand All @@ -1053,7 +1053,7 @@ public function settings_page() {

public function customizer_settings($wp_customize){
$wp_customize->add_section('aui_settings', array(
'title' => __('AyeCode UI'),
'title' => __('AyeCode UI','directory-starter'),
'priority' => 120,
));

Expand All @@ -1068,7 +1068,7 @@ public function customizer_settings($wp_customize){
'transport' => 'refresh',
));
$wp_customize->add_control( new WP_Customize_Color_Control($wp_customize, 'color_primary', array(
'label' => __('Primary Color'),
'label' => __('Primary Color','directory-starter'),
'section' => 'aui_settings',
'settings' => 'aui_options[color_primary]',
)));
Expand All @@ -1081,7 +1081,7 @@ public function customizer_settings($wp_customize){
'transport' => 'refresh',
));
$wp_customize->add_control( new WP_Customize_Color_Control($wp_customize, 'color_secondary', array(
'label' => __('Secondary Color'),
'label' => __('Secondary Color','directory-starter'),
'section' => 'aui_settings',
'settings' => 'aui_options[color_secondary]',
)));
Expand Down
2 changes: 1 addition & 1 deletion vendor/ayecode/wp-ayecode-ui/includes/class-aui.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class AUI {
*
* @var string $ver The current version number.
*/
public static $ver = '0.1.29';
public static $ver = '0.1.30';

public static $options = null;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static function get( $args = array() ) {
'mid_size' => 2,
'prev_text' => '<i class="fas fa-chevron-left"></i>',
'next_text' => '<i class="fas fa-chevron-right"></i>',
'screen_reader_text' => __( 'Posts navigation' ),
'screen_reader_text' => __( 'Posts navigation','directory-starter' ),
'before_paging' => '',
'after_paging' => '',
'type' => 'array',
Expand Down
Loading

0 comments on commit 1506f4a

Please sign in to comment.