Skip to content

Commit

Permalink
Release: Build 3.8.26
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeluno committed Feb 10, 2021
1 parent 5cded4d commit 9b0d371
Show file tree
Hide file tree
Showing 216 changed files with 441 additions and 435 deletions.
4 changes: 2 additions & 2 deletions admin-page-framework-loader.php
Expand Up @@ -6,7 +6,7 @@
* Author: Michael Uno
* Author URI: http://en.michaeluno.jp/
* Requirements: PHP 5.2.4 or above, WordPress 3.3 or above.
* Version: 3.8.26b01
* Version: 3.8.26
*/

/**
Expand All @@ -16,7 +16,7 @@
*/
class AdminPageFrameworkLoader_Registry_Base {

const VERSION = '3.8.26b01'; // <--- DON'T FORGET TO CHANGE THIS AS WELL!!
const VERSION = '3.8.26'; // <--- DON'T FORGET TO CHANGE THIS AS WELL!!
const NAME = 'Admin Page Framework - Loader'; // the name is not 'Admin Page Framework' because warning messages gets confusing.
const SHORTNAME = 'Admin Page Framework'; // used for a menu title etc.
const DESCRIPTION = 'Loads Admin Page Framework which facilitates WordPress plugin and theme development.';
Expand Down
4 changes: 2 additions & 2 deletions development/admin-page-framework.php
Expand Up @@ -35,11 +35,11 @@
* @download_latest https://github.com/michaeluno/admin-page-framework/archive/master.zip
* @download_stable http://downloads.wordpress.org/plugin/admin-page-framework.latest-stable.zip
* @catchcopy The framework for all WordPress developers.
* @version 3.8.26b01
* @version 3.8.26
*/
abstract class AdminPageFramework_Registry_Base {

const VERSION = '3.8.26b01'; // <--- DON'T FORGET TO CHANGE THIS AS WELL!!
const VERSION = '3.8.26'; // <--- DON'T FORGET TO CHANGE THIS AS WELL!!
const NAME = 'Admin Page Framework';
const DESCRIPTION = 'Facilitates WordPress plugin and theme development.';
const URI = 'http://en.michaeluno.jp/admin-page-framework';
Expand Down
4 changes: 2 additions & 2 deletions library/apf/LICENSE.txt
@@ -1,5 +1,5 @@
Admin Page Framework - A WordPress library that facilitates creating WordPress plugin and themes.
Copyright (c) 2013-2020, Michael Uno
Copyright (c) 2013-2021, Michael Uno

This program was contributed to by the following users:

Expand All @@ -20,7 +20,7 @@ http://erusev.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The MIT License (MIT)

Copyright (c) 2013-2020, Michael Uno
Copyright (c) 2013-2021, Michael Uno

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand Down
8 changes: 4 additions & 4 deletions library/apf/admin-page-framework.php
@@ -1,18 +1,18 @@
<?php
/**
Admin Page Framework v3.8.26b01 by Michael Uno
Admin Page Framework v3.8.26 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2020, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
Copyright (c) 2013-2021, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
if (!class_exists('AdminPageFramework_Registry', false)):
abstract class AdminPageFramework_Registry_Base {
const VERSION = '3.8.26b01';
const VERSION = '3.8.26';
const NAME = 'Admin Page Framework';
const DESCRIPTION = 'Facilitates WordPress plugin and theme development.';
const URI = 'http://en.michaeluno.jp/admin-page-framework';
const AUTHOR = 'Michael Uno';
const AUTHOR_URI = 'http://en.michaeluno.jp/';
const COPYRIGHT = 'Copyright (c) 2013-2020, Michael Uno';
const COPYRIGHT = 'Copyright (c) 2013-2021, Michael Uno';
const LICENSE = 'MIT <http://opensource.org/licenses/MIT>';
const CONTRIBUTORS = '';
}
Expand Down
@@ -1,9 +1,9 @@
<?php
/**
Admin Page Framework v3.8.26b01 by Michael Uno
Admin Page Framework v3.8.26 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2020, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
Copyright (c) 2013-2021, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
abstract class AdminPageFramework_Factory_Router {
public $oProp;
public $oDebug;
Expand Down
@@ -1,9 +1,9 @@
<?php
/**
Admin Page Framework v3.8.26b01 by Michael Uno
Admin Page Framework v3.8.26 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2020, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
Copyright (c) 2013-2021, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
abstract class AdminPageFramework_HelpPane_Base extends AdminPageFramework_FrameworkUtility {
public $oProp;
protected $_oScreen;
Expand Down
@@ -1,9 +1,9 @@
<?php
/**
Admin Page Framework v3.8.26b01 by Michael Uno
Admin Page Framework v3.8.26 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2020, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
Copyright (c) 2013-2021, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
abstract class AdminPageFramework_Link_Base extends AdminPageFramework_FrameworkUtility {
public $oProp;
public $oMsg;
Expand Down
@@ -1,9 +1,9 @@
<?php
/**
Admin Page Framework v3.8.26b01 by Michael Uno
Admin Page Framework v3.8.26 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2020, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
Copyright (c) 2013-2021, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
abstract class AdminPageFramework_Resource_Base extends AdminPageFramework_FrameworkUtility {
protected static $_aStructure_EnqueuingResources = array('sSRC' => null, 'aPostTypes' => array(), 'sPageSlug' => null, 'sTabSlug' => null, 'sType' => null, 'handle_id' => null, 'dependencies' => array(), 'version' => false, 'translation' => array(), 'in_footer' => false, 'media' => 'all', 'attributes' => array(),);
protected $_sClassSelector_Style = 'admin-page-framework-style';
Expand Down
@@ -1,9 +1,9 @@
<?php
/**
Admin Page Framework v3.8.26b01 by Michael Uno
Admin Page Framework v3.8.26 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2020, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
Copyright (c) 2013-2021, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
abstract class AdminPageFramework_Factory_Model___Meta_Base extends AdminPageFramework_FrameworkUtility {
protected $osCallable = 'get_post_meta';
public $iObjectID = 0;
Expand Down
@@ -1,9 +1,9 @@
<?php
/**
Admin Page Framework v3.8.26b01 by Michael Uno
Admin Page Framework v3.8.26 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2020, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
Copyright (c) 2013-2021, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
abstract class AdminPageFramework_Format_Base extends AdminPageFramework_FrameworkUtility {
static public $aStructure = array();
public $aSubject = array();
Expand Down
@@ -1,9 +1,9 @@
<?php
/**
Admin Page Framework v3.8.26b01 by Michael Uno
Admin Page Framework v3.8.26 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2020, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
Copyright (c) 2013-2021, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
class AdminPageFramework_Message {
public $aMessages = array();
public $aDefaults = array('option_updated' => 'The options have been updated.', 'option_cleared' => 'The options have been cleared.', 'export' => 'Export', 'export_options' => 'Export Options', 'import' => 'Import', 'import_options' => 'Import Options', 'submit' => 'Submit', 'import_error' => 'An error occurred while uploading the import file.', 'uploaded_file_type_not_supported' => 'The uploaded file type is not supported: %1$s', 'could_not_load_importing_data' => 'Could not load the importing data.', 'imported_data' => 'The uploaded file has been imported.', 'not_imported_data' => 'No data could be imported.', 'upload_image' => 'Upload Image', 'use_this_image' => 'Use This Image', 'insert_from_url' => 'Insert from URL', 'reset_options' => 'Are you sure you want to reset the options?', 'confirm_perform_task' => 'Please confirm your action.', 'specified_option_been_deleted' => 'The specified options have been deleted.', 'nonce_verification_failed' => 'A problem occurred while processing the form data. Please try again.', 'check_max_input_vars' => 'Not all form fields could not be sent. Please check your server settings of PHP <code>max_input_vars</code> and consult the server administrator to increase the value. <code>max input vars</code>: %1$s. <code>$_POST</code> count: %2$s', 'send_email' => 'Is it okay to send the email?', 'email_sent' => 'The email has been sent.', 'email_scheduled' => 'The email has been scheduled.', 'email_could_not_send' => 'There was a problem sending the email', 'title' => 'Title', 'author' => 'Author', 'categories' => 'Categories', 'tags' => 'Tags', 'comments' => 'Comments', 'date' => 'Date', 'show_all' => 'Show All', 'show_all_authors' => 'Show all Authors', 'powered_by' => 'Thank you for creating with', 'and' => 'and', 'settings' => 'Settings', 'manage' => 'Manage', 'select_image' => 'Select Image', 'upload_file' => 'Upload File', 'use_this_file' => 'Use This File', 'select_file' => 'Select File', 'remove_value' => 'Remove Value', 'select_all' => 'Select All', 'select_none' => 'Select None', 'no_term_found' => 'No term found.', 'select' => 'Select', 'insert' => 'Insert', 'use_this' => 'Use This', 'return_to_library' => 'Return to Library', 'queries_in_seconds' => '%1$s queries in %2$s seconds.', 'out_of_x_memory_used' => '%1$s out of %2$s (%3$s) memory used.', 'peak_memory_usage' => 'Peak memory usage %1$s.', 'initial_memory_usage' => 'Initial memory usage %1$s.', 'repeatable_section_is_disabled' => 'The ability to repeat sections is disabled.', 'repeatable_field_is_disabled' => 'The ability to repeat fields is disabled.', 'warning_caption' => 'Warning', 'allowed_maximum_number_of_fields' => 'The allowed maximum number of fields is {0}.', 'allowed_minimum_number_of_fields' => 'The allowed minimum number of fields is {0}.', 'add' => 'Add', 'remove' => 'Remove', 'allowed_maximum_number_of_sections' => 'The allowed maximum number of sections is {0}', 'allowed_minimum_number_of_sections' => 'The allowed minimum number of sections is {0}', 'add_section' => 'Add Section', 'remove_section' => 'Remove Section', 'toggle_all' => 'Toggle All', 'toggle_all_collapsible_sections' => 'Toggle all collapsible sections', 'reset' => 'Reset', 'yes' => 'Yes', 'no' => 'No', 'on' => 'On', 'off' => 'Off', 'enabled' => 'Enabled', 'disabled' => 'Disabled', 'supported' => 'Supported', 'not_supported' => 'Not Supported', 'functional' => 'Functional', 'not_functional' => 'Not Functional', 'too_long' => 'Too Long', 'acceptable' => 'Acceptable', 'no_log_found' => 'No log found.', 'method_called_too_early' => 'The method is called too early.', 'debug_info' => 'Debug Info', 'debug' => 'Debug', 'debug_info_will_be_disabled' => 'This information will be disabled when <code>WP_DEBUG</code> is set to <code>false</code> in <code>wp-config.php</code>.', 'click_to_expand' => 'Click here to expand to view the contents.', 'click_to_collapse' => 'Click here to collapse the contents.', 'loading' => 'Loading...', 'please_enable_javascript' => 'Please enable JavaScript for better user experience.', 'submit_confirmation_label' => 'Submit the form.', 'submit_confirmation_error' => 'Please check this box if you want to proceed.', 'import_no_file' => 'No file is selected.',);
Expand Down
@@ -1,9 +1,9 @@
<?php
/**
Admin Page Framework v3.8.26b01 by Michael Uno
Admin Page Framework v3.8.26 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2020, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
Copyright (c) 2013-2021, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
abstract class AdminPageFramework_Property_Base extends AdminPageFramework_FrameworkUtility {
private static $_aStructure_CallerInfo = array('sPath' => null, 'sType' => null, 'sName' => null, 'sURI' => null, 'sVersion' => null, 'sThemeURI' => null, 'sScriptURI' => null, 'sAuthorURI' => null, 'sAuthor' => null, 'sDescription' => null,);
static public $_aLibraryData;
Expand Down
@@ -1,9 +1,9 @@
<?php
/**
Admin Page Framework v3.8.26b01 by Michael Uno
Admin Page Framework v3.8.26 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2020, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
Copyright (c) 2013-2021, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
class AdminPageFramework_CSS {
static public function getDefaultCSS() {
$_sCSS = ".wrap div.updated.admin-page-framework-settings-notice-container, .wrap div.error.admin-page-framework-settings-notice-container, .media-upload-form div.error.admin-page-framework-settings-notice-container{clear: both;margin-top: 16px;}.wrap div.error.confirmation.admin-page-framework-settings-notice-container {border-color: #368ADD;}.contextual-help-description {clear: left;display: block;margin: 1em 0;}.contextual-help-tab-title {font-weight: bold;}.admin-page-framework-content {margin-bottom: 1.48em;width: 100%;display: block; }.admin-page-framework-content > #post-body-content{margin-bottom: 0;}.admin-page-framework-container #poststuff .admin-page-framework-content h3 {font-weight: bold;font-size: 1.3em;margin: 1em 0;padding: 0;font-family: 'Open Sans', sans-serif;} .nav-tab.tab-disabled,.nav-tab.tab-disabled:hover {font-weight: normal;color: #AAAAAA;} .admin-page-framework-in-page-tab .nav-tab.nav-tab-active {border-bottom-width: 2px;}.wrap .admin-page-framework-in-page-tab div.error, .wrap .admin-page-framework-in-page-tab div.updated {margin-top: 15px;}.admin-page-framework-info,.admin-page-framework-info code{font-size: 0.8em;font-weight: lighter;text-align: right;}pre.dump-array {border: 1px solid #ededed;margin: 24px 2em;margin: 1.714285714rem 2em;padding: 24px;padding: 1.714285714rem;overflow-x: auto; white-space: pre-wrap;background-color: #FFF;margin-bottom: 2em;width: auto;}";
Expand Down
@@ -1,9 +1,9 @@
<?php
/**
Admin Page Framework v3.8.26b01 by Michael Uno
Admin Page Framework v3.8.26 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2020, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
Copyright (c) 2013-2021, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
class AdminPageFramework_Factory_View__SettingNotice extends AdminPageFramework_FrameworkUtility {
public $oFactory;
public function __construct($oFactory, $sActionHookName = 'admin_notices') {
Expand Down
@@ -1,9 +1,9 @@
<?php
/**
Admin Page Framework v3.8.26b01 by Michael Uno
Admin Page Framework v3.8.26 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2020, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
Copyright (c) 2013-2021, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
abstract class AdminPageFramework_Factory___Script_Base extends AdminPageFramework_FrameworkUtility {
public $oMsg;
public function __construct($oMsg = null) {
Expand Down
@@ -1,9 +1,9 @@
<?php
/**
Admin Page Framework v3.8.26b01 by Michael Uno
Admin Page Framework v3.8.26 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2020, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
Copyright (c) 2013-2021, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
abstract class AdminPageFramework_PageLoadInfo_Base extends AdminPageFramework_FrameworkUtility {
public $oProp;
public $oMsg;
Expand Down
@@ -1,9 +1,9 @@
<?php
/**
Admin Page Framework v3.8.26b01 by Michael Uno
Admin Page Framework v3.8.26 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2020, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
Copyright (c) 2013-2021, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
class AdminPageFramework_TabNavigationBar extends AdminPageFramework_FrameworkUtility {
public $sTabTag = 'h2';
public $aTabs = array();
Expand Down
4 changes: 2 additions & 2 deletions library/apf/factory/_common/form/AdminPageFramework_Form.php
@@ -1,9 +1,9 @@
<?php
/**
Admin Page Framework v3.8.26b01 by Michael Uno
Admin Page Framework v3.8.26 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2020, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
Copyright (c) 2013-2021, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
abstract class AdminPageFramework_Form_Utility extends AdminPageFramework_FrameworkUtility {
static public function getInputsUnset(array $aInputs, $sFieldsType, $iSkipDepth = 0) {
$_sUnsetKey = '__unset_' . $sFieldsType;
Expand Down
@@ -1,9 +1,9 @@
<?php
/**
Admin Page Framework v3.8.26b01 by Michael Uno
Admin Page Framework v3.8.26 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2020, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
Copyright (c) 2013-2021, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
class AdminPageFramework_Form_Meta extends AdminPageFramework_Form {
public function updateMetaDataByType($iObjectID, array $aInput, array $aSavedMeta, $sStructureType = 'post_meta_box') {
if (!$iObjectID) {
Expand Down
@@ -1,9 +1,9 @@
<?php
/**
Admin Page Framework v3.8.26b01 by Michael Uno
Admin Page Framework v3.8.26 by Michael Uno
Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
<http://en.michaeluno.jp/admin-page-framework>
Copyright (c) 2013-2020, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
Copyright (c) 2013-2021, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
class AdminPageFramework_Form_Model___BuiltInFieldTypeDefinitions {
static protected $_aDefaultFieldTypeSlugs = array('default', 'text', 'number', 'textarea', 'radio', 'checkbox', 'select', 'hidden', 'file', 'submit', 'import', 'export', 'image', 'media', 'color', 'taxonomy', 'posttype', 'size', 'section_title', 'system', 'inline_mixed', '_nested',);
public $sCallerID = '';
Expand Down

0 comments on commit 9b0d371

Please sign in to comment.