Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #22123, comment 2


Ignore:
Timestamp:
10/11/2012 08:08:27 PM (11 years ago)
Author:
lessbloat
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22123, comment 2

    v1 v2  
    1 By adding in "wp-image-21710" I think you're telling WP that this is an existing media attachment #21710.  When you switch to the visual editor, it's (unsuccessfully) trying to look up that attachment. 
     1By adding in "wp-image-21710" I think you're telling WP that this is an existing media attachment with the ID of 21710.  When you switch to the visual editor, it's (unsuccessfully) trying to look up that attachment. 
    22
    33I think the simple solution, as you mentioned is to simply leave "wp-image-21710" out when the image you're adding isn't actually associated with attachment #21710.