Changeset 1555793
- Timestamp:
- 12/16/2016 12:04:16 AM (9 years ago)
- Location:
- featured-image-caption/trunk
- Files:
-
- 1 added
- 6 edited
-
classes/RestApi.php (modified) (1 diff)
-
featured-image-caption.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/composer/ClassLoader.php (modified) (4 diffs)
-
vendor/composer/autoload_real.php (modified) (1 diff)
-
vendor/composer/autoload_static.php (added)
Legend:
- Unmodified
- Added
- Removed
-
featured-image-caption/trunk/classes/RestApi.php
r1399355 r1555793 21 21 public function register_fields() { 22 22 // Featured image caption data 23 register_ api_field(23 register_rest_field( 24 24 'post', 25 25 CCFIC_KEY, -
featured-image-caption/trunk/featured-image-caption.php
r1399355 r1555793 4 4 Plugin URI: https://christiaanconover.com/code/wp-featured-image-caption?utm_source=wp-featured-image-caption 5 5 Description: Set a caption for the featured image of a post that can be displayed on your site. 6 Version: 0.8. 56 Version: 0.8.6 7 7 Author: Christiaan Conover 8 8 Author URI: https://christiaanconover.com?utm_source=wp-featured-image-caption-author … … 19 19 define( 'CCFIC_ID', 'ccfic' ); // Plugin ID 20 20 define( 'CCFIC_NAME', 'Featured Image Caption' ); // Plugin name 21 define( 'CCFIC_VERSION', '0.8. 5' ); // Plugin version21 define( 'CCFIC_VERSION', '0.8.6' ); // Plugin version 22 22 define( 'CCFIC_WPVER', '3.5' ); // Minimum required version of WordPress 23 23 define( 'CCFIC_KEY', 'cc_featured_image_caption' ); // Database key (legacy support, ID now used) -
featured-image-caption/trunk/readme.txt
r1399355 r1555793 4 4 Tags: image, caption, featured image, shortcode 5 5 Requires at least: 3.5 6 Tested up to: 4. 57 Stable tag: 0.8. 56 Tested up to: 4.7 7 Stable tag: 0.8.6 8 8 License: GPLv2 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 33 33 34 34 == Upgrade Notice == 35 36 = 0.8.6 = 37 Fix an error thrown due to a deprecated function call for the WP REST API. 35 38 36 39 = 0.8.5 = … … 101 104 102 105 == Changelog == 106 107 = 0.8.6 = 108 Fix an error thrown due to a deprecated function call for the WP REST API. 103 109 104 110 = 0.8.5 = -
featured-image-caption/trunk/vendor/autoload.php
r1399355 r1555793 3 3 // autoload.php @generated by Composer 4 4 5 require_once __DIR__ . '/composer ' . '/autoload_real.php';5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 7 return ComposerAutoloaderInitaab6709e267fa9869f9fc1168a2442da::getLoader(); -
featured-image-caption/trunk/vendor/composer/ClassLoader.php
r1392442 r1555793 54 54 private $useIncludePath = false; 55 55 private $classMap = array(); 56 57 56 private $classMapAuthoritative = false; 57 private $missingClasses = array(); 58 58 59 59 public function getPrefixes() … … 323 323 return $this->classMap[$class]; 324 324 } 325 if ($this->classMapAuthoritative ) {325 if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) { 326 326 return false; 327 327 } … … 330 330 331 331 // Search for Hack files if we are running on HHVM 332 if ( $file === null&& defined('HHVM_VERSION')) {332 if (false === $file && defined('HHVM_VERSION')) { 333 333 $file = $this->findFileWithExtension($class, '.hh'); 334 334 } 335 335 336 if ( $file === null) {336 if (false === $file) { 337 337 // Remember that this class does not exist. 338 return $this->classMap[$class] = false;338 $this->missingClasses[$class] = true; 339 339 } 340 340 … … 400 400 return $file; 401 401 } 402 403 return false; 402 404 } 403 405 } -
featured-image-caption/trunk/vendor/composer/autoload_real.php
r1399355 r1555793 24 24 spl_autoload_unregister(array('ComposerAutoloaderInitaab6709e267fa9869f9fc1168a2442da', 'loadClassLoader')); 25 25 26 $map = require __DIR__ . '/autoload_namespaces.php'; 27 foreach ($map as $namespace => $path) { 28 $loader->set($namespace, $path); 29 } 26 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); 27 if ($useStaticLoader) { 28 require_once __DIR__ . '/autoload_static.php'; 30 29 31 $map = require __DIR__ . '/autoload_psr4.php'; 32 foreach ($map as $namespace => $path) { 33 $loader->setPsr4($namespace, $path); 34 } 30 call_user_func(\Composer\Autoload\ComposerStaticInitaab6709e267fa9869f9fc1168a2442da::getInitializer($loader)); 31 } else { 32 $map = require __DIR__ . '/autoload_namespaces.php'; 33 foreach ($map as $namespace => $path) { 34 $loader->set($namespace, $path); 35 } 35 36 36 $classMap = require __DIR__ . '/autoload_classmap.php'; 37 if ($classMap) { 38 $loader->addClassMap($classMap); 37 $map = require __DIR__ . '/autoload_psr4.php'; 38 foreach ($map as $namespace => $path) { 39 $loader->setPsr4($namespace, $path); 40 } 41 42 $classMap = require __DIR__ . '/autoload_classmap.php'; 43 if ($classMap) { 44 $loader->addClassMap($classMap); 45 } 39 46 } 40 47
Note: See TracChangeset
for help on using the changeset viewer.